*/
class MenuEntry extends Object
{
private $controller;
private $task;
private $title;
function __construct($controller, $task, $title)
{
$this->controller = $controller;
$this->task = $task;
$this->title = $title;
}
public function getController()
{
return $this->controller;
}
public function getTask()
{
return $this->task;
}
public function getTitle()
{
return $this->title;
}
public function setController($controller)
{
$this->controller = $controller;
}
public function setTask($task)
{
$this->task = $task;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getUrl()
{
$lb = EnvironmentManager::getLinkBuilder();
return $lb->navigate($this->controller, $this->task);
}
}
WebSVN
- freenet-router
- Blame
- Rev 2
- /trunk/freenet-router/var/www/freenet-router/Application/Models/UI/MenuEntry.php
freenet-router |
Subversion Repositories: |
[/] [trunk/] [freenet-router/] [var/] [www/] [freenet-router/] [Application/] [Models/] [UI/] [MenuEntry.php] - Blame information for rev 2
Powered by WebSVN 2.2.1