@@ -50,6 +50,9 @@ |
||
| 50 | 50 | } |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | + /** |
|
| 54 | + * @param BasicObject $o |
|
| 55 | + */ |
|
| 53 | 56 | protected function blacklist(&$var, &$o) |
| 54 | 57 | { |
| 55 | 58 | $object = $o->transplant(new InstanceObject()); |
@@ -135,6 +135,9 @@ discard block |
||
| 135 | 135 | } |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | + /** |
|
| 139 | + * @param DOMNode $var |
|
| 140 | + */ |
|
| 138 | 141 | protected function parseNode(&$var, InstanceObject &$o) |
| 139 | 142 | { |
| 140 | 143 | // Fill the properties |
@@ -240,6 +243,9 @@ discard block |
||
| 240 | 243 | } |
| 241 | 244 | } |
| 242 | 245 | |
| 246 | + /** |
|
| 247 | + * @param string $prop |
|
| 248 | + */ |
|
| 243 | 249 | protected function parseProperty(InstanceObject $o, $prop, &$var) |
| 244 | 250 | { |
| 245 | 251 | // Duplicating (And slightly optimizing) the Parser::parseObject() code here |
@@ -155,6 +155,9 @@ discard block |
||
| 155 | 155 | return '<dl>'.$header.$children.'</dl>'; |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | + /** |
|
| 159 | + * @param boolean $has_children |
|
| 160 | + */ |
|
| 158 | 161 | public function renderHeaderWrapper(BasicObject $o, $has_children, $contents) |
| 159 | 162 | { |
| 160 | 163 | $out = '<dt'; |
@@ -281,6 +284,9 @@ discard block |
||
| 281 | 284 | return $output.'</dd>'; |
| 282 | 285 | } |
| 283 | 286 | |
| 287 | + /** |
|
| 288 | + * @return string |
|
| 289 | + */ |
|
| 284 | 290 | protected function renderTab(BasicObject $o, Representation $rep) |
| 285 | 291 | { |
| 286 | 292 | if ($plugin = $this->getPlugin(self::$tab_plugins, $rep->hints)) { |