/** * Retrieve the current set or default searchmode of this attribute. * * * @return string the default searchmode for this attribute. */ public function getSearchMode() { $searchmode = $this->m_ownerInstance->getSearchMode(); if (is_array($searchmode)) { return isset($searchmode[$this->fieldName()]) ? $searchmode[$this->fieldName()] : null; } return $searchmode; }