public function init($args)
 {
     parent::init($args);
 }
Пример #2
0
 public function init($args)
 {
     parent::init($args);
     if (isset($args['ITEM_CLASS'])) {
         $this->setItemClass($args['ITEM_CLASS']);
     }
     if (isset($args['IMAGE_CLASS'])) {
         $this->setImageClass($args['IMAGE_CLASS']);
     }
     if (isset($args['USE_DESCRIPTION_FOR_CONTENT'])) {
         $this->setUseDescriptionForContent($args['USE_DESCRIPTION_FOR_CONTENT']);
     }
     $this->userFields = Kurogo::arrayVal($args, 'FIELDS', array());
 }