/** * does the element store its data in a join table (1:n) * @return bool */ public function isJoin() { $params =& $this->getParams(); if ($params->get('database_join_display_type') == 'checkbox') { return true; } else { return parent::isJoin(); } }
/** * 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'), array('checkbox', 'multilist'))) { return true; } else { return parent::isJoin(); } }