public function __construct() { parent::__construct(); $this->config = cmsController::loadOptions('photos'); if (!empty($this->config['types'])) { $this->config['types'] = string_explode_list($this->config['types']); } }
public function __construct() { parent::__construct(); $this->loadAllCtypes(); }