/** * Return type model name, or default value if there is no type model * * @return mixed */ public function getTypeModelName($default = '') { if (!is_null($this->_typeModel)) { return $this->_typeModel->getName(); } return $default; }
/** * Return type model name, or default value if there is no type model * * @return mixed */ public function getTypeModelName($default = '') { if (!is_null($this->_typeModel)) { return $this->_typeModel->getName(); } return $default; }