Get all settings for a profile.
public static getSettings ( integer $id ) : array | ||
$id | integer | Profile id. |
Результат | array |
/** * Get all settings. * * @return array */ public function getSettings() { // if settings array does not exist then get it first if (empty($this->settings)) { $this->settings = FrontendProfilesModel::getSettings($this->getId()); } // return settings return $this->settings; }