Пример #1
0
 /**
  * Constructor
  *
  * @param   object  An optional KConfig object with configuration options
  */
 public function __construct(KConfig $config)
 {
     if (!isset($config->icon)) {
         $config->icon = 'icon-32-export';
     }
     parent::__construct($config);
 }
Пример #2
0
 /**
  * Constructor
  *
  * @param   object  An optional KConfig object with configuration options
  */
 public function __construct(KConfig $config)
 {
     parent::__construct($config);
     $this->setMethod('post');
 }