name = strtolower($match[1]);
if (count($match) > 2)
$annotation->params = preg_split("/\\s*\\,\\s*/", trim($match[2]), -1, PREG_SPLIT_NO_EMPTY);
$result->put($annotation->name,$annotation);
}
return $result;
}
private $name;
private $params;
protected function __construct()
{
}
function getName()
{
return $this->name;
}
function getParamCount()
{
return count($this->params);
}
function getParam($index)
{
return $this->params[$index];
}
public function getParams()
{
return $this->params;
}
}
WebSVN
- freenet-router
- Blame
- Rev 2
- /trunk/freenet-router/var/www/freenet-router/Framework/Annotation.php
freenet-router |
Subversion Repositories: |
[/] [trunk/] [freenet-router/] [var/] [www/] [freenet-router/] [Framework/] [Annotation.php] - Blame information for rev 2
Powered by WebSVN 2.2.1