params[$parameter->getName(true)] = $this->getFactory()->create($parameter->getType(), $parameter); // Hold reference to the CONTENT PARAMETER. $parameter->getContentParameter() && ($this->contentParameter = $parameterModel); } } /** * put your comment there... * */ public function getContentParameter() { return $this->contentParameter; } /** * put your comment there... * */ protected abstract function getFactory(); /** * put your comment there... * */ public function getParams() { return $this->params; } /** * put your comment there... * */ public function getMessages() { } /** * put your comment there... * */ public function hasParams() { return !empty($this->params); } /** * put your comment there... * * @param mixed $values */ public function setValue($values) { foreach ($this->getParams() as $name => $param) { if (isset($values[$name])) { $param->setValue($values[$name]); } } return $this; } /** * put your comment there... * */ public function validate() { return true; } } // End class.