This object is used to generate an url related for the specified operator

todo use DB instead of hard-coded datas
package OWR
uses \OWR\DAO\News

 Methods

Constructor Set the current operator

__construct(string $operator) 
author Pierre-Alain Mignot
access public

Parameters

$operator

string

the name of the operator

Redirects the user to the current operator

redirect(\OWR\DAO\News $new) 
author Pierre-Alain Mignot
access public

Parameters

$new

 Properties

 

the link of the current operator

$_operator : string
access protected
 

associative array of list of operators => link

$_operators : array
access protected