static function getOption($option) { if (empty(self::$settings)) { self::$settings = new am4_Settings_Config(); } return self::$settings->get($option); }
public function load() { $this->settings = $this->config->get($this->category, array()); return $this; }
function saveForm($post) { $options = new am4_Settings_Config(); $options->loadFromArray($post)->save(); }