@@ -85,6 +85,10 @@ |
||
85 | 85 | } |
86 | 86 | |
87 | 87 | # $type - page,view |
88 | + |
|
89 | + /** |
|
90 | + * @return string |
|
91 | + */ |
|
88 | 92 | public function file($name=false){ |
89 | 93 | if($name === false){ |
90 | 94 | $path = self::$config['core']['page']; |
@@ -5,6 +5,9 @@ |
||
5 | 5 | |
6 | 6 | private $source; |
7 | 7 | |
8 | + /** |
|
9 | + * @param string $source |
|
10 | + */ |
|
8 | 11 | public function __construct($source){ |
9 | 12 | $this->source = $source; |
10 | 13 | } |