Ejemplo n.º 1
0
 /**
  * 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;
 }