| 1 | <?php |
||
| 8 | class ListingHelper extends Helper |
||
| 9 | { |
||
| 10 | private $parameters = array( |
||
| 11 | "headers" => array(), |
||
| 12 | "data" => array(), |
||
| 13 | "row_template" => null, |
||
| 14 | "cell_templates" => null, |
||
| 15 | "default_cell_template" => null, |
||
| 16 | "variables" => null |
||
| 17 | ); |
||
| 18 | |||
| 19 | public function __construct() |
||
| 25 | |||
| 26 | public function stylesheet() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * array( |
||
| 33 | * "headers" => $this->headers, |
||
| 34 | * "data" => $this->data, |
||
| 35 | * "row_template" => $this->rowTemplate, |
||
| 36 | * "cell_templates" => $this->cellTemplates, |
||
| 37 | * "default_cell_template" => $this->defaultCellTemplate, |
||
| 38 | * "variables" => $this->variables, |
||
| 39 | * ) |
||
| 40 | * @param type $arguments |
||
| 41 | */ |
||
| 42 | public function help($arguments) |
||
| 47 | |||
| 48 | public function __toString() |
||
| 54 | } |
||
| 55 | |||
| 56 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.