/** * Constructor * * @param object An optional KConfig object with configuration options */ public function __construct(KConfig $config) { parent::__construct($config); //Don't walk the incoming data array or object $this->_walk = false; }
/** * Constructor * * @param object An optional KConfig object with configuration options */ public function __construct(KConfig $config) { parent::__construct($config); $this->_length = $config->length; $this->_separator = $config->separator; }
/** * Constructor * * @param object An optional KConfig object with configuration options */ public function __construct(KConfig $config) { parent::__construct($config); // List of user-defined tags if(isset($config->tag_list)) { $this->_tagsArray = array_map('strtolower', (array) $config->tag_list); } // List of user-defined attributes if(isset($config->attribute_list)) { $this->_attrArray = array_map('strtolower', (array) $config->attribute_list); } // WhiteList method = 0, BlackList method = 1 if(isset($config->tag_method)) { $this->_tagsMethod = $config->tag_method; } // WhiteList method = 0, BlackList method = 1 if(isset($config->attribute_method)) { $this->_attrMethod = $config->attribute_method; } //If false, only auto clean essentials, if true allow clean blacklisted tags/attr if(isset($config->xss_auto)) { $this->_xssAuto = $config->xss_auto; } }
public function __construct(KConfig $config) { parent::__construct($config); $this->addFilter(KFactory::get('com://admin/files.filter.folder.name'), KCommand::PRIORITY_HIGH); $this->addFilter(KFactory::get('com://admin/files.filter.folder.exists'), KCommand::PRIORITY_HIGH); }
/** * Constructor * * @param object An optional KConfig object with configuration options */ public function __construct(KConfig $config) { parent::__construct($config); $this->_encdoing = $config->encoding; $this->_config = KConfig::toData($config->config); }
/** * Constructor * * @param object An optional KConfig object with configuration options */ public function __construct(KConfig $config) { parent::__construct($config); // List of user-defined tags if (isset($config->char_list)) { $this->_charList = $config->char_list; } }
public function __construct(KConfig $config) { parent::__construct($config); $this->addFilter($this->getService('com://admin/files.filter.file.name'), KCommand::PRIORITY_HIGH); $this->addFilter($this->getService('com://admin/files.filter.file.extension')); $this->addFilter($this->getService('com://admin/files.filter.file.mimetype')); $this->addFilter($this->getService('com://admin/files.filter.file.size')); }
/** * Constructor * * @param object An optional KConfig object with configuration options */ public function __construct(KConfig $config) { parent::__construct($config); if (isset($config->diagnose)) { $this->_diagnose = $config->diagnose; } if (isset($config->encoding)) { $this->_encdoing = $config->encoding; } if (isset($config->config)) { //$this->_config = array_merge($this->_config, $config['config']); } }
public function __construct(KConfig $config) { parent::__construct($config); $this->_config = $config; }
public function __construct(KConfig $config) { parent::__construct($config); $this->addFilter($this->getService('com://admin/files.filter.folder.name'), KCommand::PRIORITY_HIGH); }