getParams() as $param) { $param->setParent($this); } } /** * put your comment there... * */ public function enqueueScripts() { // @TODO: Enqueue all childs!! return array(); } /** * put your comment there... * */ public function enqueueStyles() { // @TODO: Enqueue all childs!! return array(); } /** * put your comment there... * */ public function getParams() { // Initialize. $params = array(); $typeObject = $this->getTypeObject(); // As the form objects might handle types that doesn't support // child parameters (Example: List type might handle Boolean type!). // We need to check the existance of the method. if (method_exists($typeObject, 'getParams')) { $params = $typeObject->getParams(); } return $params; } } // End class.