Merge pull-request #140 (several small fixes)
This commit is contained in:
@@ -66,7 +66,7 @@ abstract class Base
|
||||
* Registry instance
|
||||
*
|
||||
* @access private
|
||||
* @var Core\Registry
|
||||
* @var \Core\Registry
|
||||
*/
|
||||
private $registry;
|
||||
|
||||
@@ -85,7 +85,8 @@ abstract class Base
|
||||
* Load automatically models
|
||||
*
|
||||
* @access public
|
||||
* @param string $name Model name
|
||||
* @param string $name Model name
|
||||
* @return mixed
|
||||
*/
|
||||
public function __get($name)
|
||||
{
|
||||
@@ -214,8 +215,9 @@ abstract class Base
|
||||
* Common layout for task views
|
||||
*
|
||||
* @access protected
|
||||
* @param string $template Template name
|
||||
* @param array $params Template parameters
|
||||
* @param string $template Template name
|
||||
* @param array $params Template parameters
|
||||
* @return string
|
||||
*/
|
||||
protected function taskLayout($template, array $params)
|
||||
{
|
||||
|
||||
@@ -33,6 +33,7 @@ class Category extends Base
|
||||
* Get the category (common method between actions)
|
||||
*
|
||||
* @access private
|
||||
* @param $project_id
|
||||
* @return array
|
||||
*/
|
||||
private function getCategory($project_id)
|
||||
|
||||
Reference in New Issue
Block a user