/** * Gets default interest types * * @return string */ public function getDefaultInterests() { return count($this->_defTypes) ? implode(',', $this->_defTypes->all()) : 'all'; }
/** * Gets types * * @return string */ public function defTypes() { return count($this->_defTypes) ? implode(',', $this->_defTypes->all()) : ''; }