id;
}
public function setId($id)
{
$this->id = $id;
}
public function getController()
{
return $this->controller;
}
public function setController($controller)
{
$this->controller = $controller;
}
public function getName()
{
return $this->name;
}
public function setName($name)
{
$this->name = $name;
}
public function getDescription()
{
return $this->description;
}
public function setDescription($description)
{
$this->description = $description;
}
public static function getControllers()
{
$opt = new \Phem\Core\Collection();
$em = EnvironmentManager::getEntityManager();
$controllers = $em->getRepository('Phem\Libraries\Security\Model\MySQL\Controller')->findAll();
foreach($controllers as $c)
{
$value = $c->getName();
$value.= ($c->getDescription() == null ? "" : " - ".$c->getDescription());
$opt->put($c->getId(), $value);
}
return $opt;
}
}
WebSVN
- freenet-router
- Blame
- Rev 2
- /trunk/freenet-router/var/www/freenet-router/Framework/Libraries/Security/Model/Common/Task.php
freenet-router |
Subversion Repositories: |
[/] [trunk/] [freenet-router/] [var/] [www/] [freenet-router/] [Framework/] [Libraries/] [Security/] [Model/] [Common/] [Task.php] - Blame information for rev 2
Powered by WebSVN 2.2.1