@@ -67,6 +67,9 @@ discard block |
||
| 67 | 67 | $this->displayTreeInternal(array_keys($this->_baseClasses),0); |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | + /** |
|
| 71 | + * @param integer $level |
|
| 72 | + */ |
|
| 70 | 73 | public function displayTreeInternal($classNames,$level) |
| 71 | 74 | { |
| 72 | 75 | foreach($classNames as $className) |
@@ -153,6 +156,9 @@ discard block |
||
| 153 | 156 | } |
| 154 | 157 | } |
| 155 | 158 | |
| 159 | + /** |
|
| 160 | + * @param string $path |
|
| 161 | + */ |
|
| 156 | 162 | protected function isValidPath($path) |
| 157 | 163 | { |
| 158 | 164 | if(is_dir($path)) |
@@ -161,6 +167,9 @@ discard block |
||
| 161 | 167 | return basename($path)!==basename($path,'.php') && !isset($this->_exclusions[basename($path)]); |
| 162 | 168 | } |
| 163 | 169 | |
| 170 | + /** |
|
| 171 | + * @param string $path |
|
| 172 | + */ |
|
| 164 | 173 | public function getSourceFiles($path) |
| 165 | 174 | { |
| 166 | 175 | $files=array(); |
@@ -227,6 +236,9 @@ discard block |
||
| 227 | 236 | |
| 228 | 237 | } |
| 229 | 238 | |
| 239 | + /** |
|
| 240 | + * @param PradoVTMDocument $doc |
|
| 241 | + */ |
|
| 230 | 242 | private function processObjectType($objectType,$objectInfo,$prefix,$doc) |
| 231 | 243 | { |
| 232 | 244 | foreach($objectInfo['Properties'] as $name=>$property) |
@@ -10,6 +10,9 @@ |
||
| 10 | 10 | private $_index; |
| 11 | 11 | private $_api; |
| 12 | 12 | |
| 13 | + /** |
|
| 14 | + * @param string $api |
|
| 15 | + */ |
|
| 13 | 16 | public function __construct($index_file, $api) |
| 14 | 17 | { |
| 15 | 18 | $this->_api = $api; |
@@ -8,6 +8,10 @@ discard block |
||
| 8 | 8 | private $_base; |
| 9 | 9 | private $_source; |
| 10 | 10 | |
| 11 | + /** |
|
| 12 | + * @param string $base |
|
| 13 | + * @param string $source |
|
| 14 | + */ |
|
| 11 | 15 | public function __construct($index_file, $base, $source) |
| 12 | 16 | { |
| 13 | 17 | $this->_index = new Zend_Search_Lucene($index_file, true); |
@@ -37,6 +41,10 @@ discard block |
||
| 37 | 41 | echo "\n {$count} files indexed.\n"; |
| 38 | 42 | } |
| 39 | 43 | |
| 44 | + /** |
|
| 45 | + * @param string $content |
|
| 46 | + * @param integer $mtime |
|
| 47 | + */ |
|
| 40 | 48 | public function add($content, $section, $mtime) |
| 41 | 49 | { |
| 42 | 50 | foreach($this->split_headings($content) as $headers) |
@@ -71,6 +71,9 @@ |
||
| 71 | 71 | } |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | + /** |
|
| 75 | + * @param string $filename |
|
| 76 | + */ |
|
| 74 | 77 | function include_figure($info, $filename) |
| 75 | 78 | { |
| 76 | 79 | $width = sprintf('%0.2f', $info[0]/(135/2.54)); |
@@ -48,6 +48,7 @@ |
||
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | 50 | * Fetches posts from database with offset and limit. |
| 51 | + * @param double $offset |
|
| 51 | 52 | */ |
| 52 | 53 | protected function getPosts($offset, $limit) |
| 53 | 54 | { |
@@ -28,6 +28,9 @@ |
||
| 28 | 28 | $this->connectDatabase(); |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | + /** |
|
| 32 | + * @return string |
|
| 33 | + */ |
|
| 31 | 34 | public function getDbFile() |
| 32 | 35 | { |
| 33 | 36 | if($this->_dbFile===null) |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Returns a user instance given the user name. |
| 31 | 31 | * @param string user name, null if it is a guest. |
| 32 | - * @return TUser the user instance, null if the specified username is not in the user database. |
|
| 32 | + * @return BlogUser|null the user instance, null if the specified username is not in the user database. |
|
| 33 | 33 | */ |
| 34 | 34 | public function getUser($username=null) |
| 35 | 35 | { |
@@ -64,6 +64,9 @@ |
||
| 64 | 64 | $this->Response->reload(); |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | + /** |
|
| 68 | + * @param string $id |
|
| 69 | + */ |
|
| 67 | 70 | private function createParameter($id,$value) |
| 68 | 71 | { |
| 69 | 72 | $element=new TXmlElement('parameter'); |
@@ -32,6 +32,9 @@ |
||
| 32 | 32 | return $limit; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param integer $newOffset |
|
| 37 | + */ |
|
| 35 | 38 | private function formUrl($newOffset) |
| 36 | 39 | { |
| 37 | 40 | $gets=array(); |