示例#1
0
 /**
  * Does the element store its data in a join table (1:n)
  *
  * @return	bool
  */
 public function isJoin()
 {
     $params = $this->getParams();
     if (in_array($params->get('database_join_display_type', 'dropdown'), array('checkbox', 'multilist'))) {
         return true;
     } else {
         return parent::isJoin();
     }
 }
示例#2
0
 /**
  * Does the element store its data in a join table (1:n)
  *
  * @return	bool
  */
 public function isJoin()
 {
     if (in_array($this->getDisplayType(), array('checkbox', 'multilist'))) {
         return true;
     } else {
         return parent::isJoin();
     }
 }