| 1 |
<?php |
| 2 |
/** |
| 3 |
* |
| 4 |
*/ |
| 5 |
|
| 6 |
/** |
| 7 |
* |
| 8 |
*/ |
| 9 |
class CJT_Framework_View_Block_Parameter_Renderer_Array_Array |
| 10 |
extends CJT_Framework_View_Block_Parameter_Base_List { |
| 11 |
|
| 12 |
/** |
| 13 |
* put your comment there... |
| 14 |
* |
| 15 |
* @param mixed $parameter |
| 16 |
* @param mixed $factory |
| 17 |
* @return CJT_Framework_Developer_Interface_Block_Shortcode_Parameters_Base_Abstract |
| 18 |
*/ |
| 19 |
public function __construct($parameter, $factory) { |
| 20 |
// Parent procedure! |
| 21 |
parent::__construct($parameter, $factory); |
| 22 |
// Set parent reference for all child parameters. |
| 23 |
foreach ($this->getValues() as $param) { |
| 24 |
$param->setParent($this); |
| 25 |
} |
| 26 |
} |
| 27 |
|
| 28 |
/** |
| 29 |
* put your comment there... |
| 30 |
* |
| 31 |
*/ |
| 32 |
public function getValues() { |
| 33 |
return $this->getTypeObject()->getValues(); |
| 34 |
} |
| 35 |
|
| 36 |
} // End class. |