/** * Constructor * * @param ObjectConfig $config Configuration options */ public function __construct(ObjectConfig $config) { parent::__construct($config); // List of user-defined tags if (isset($config->char_list)) { $this->_charList = $config->char_list; } }
/** * Constructor * * @param ObjectConfig $config Configuration options */ public function __construct(ObjectConfig $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; } }
/** * Constructor * * @param object An optional ObjectConfig object with configuration options */ public function __construct(ObjectConfig $config) { parent::__construct($config); $this->_encoding = $config->encoding; $this->_options = ObjectConfig::unbox($config->options); }
/** * @param \Symfony\Component\DependencyInjection\Container $container */ public function __construct(\Symfony\Component\DependencyInjection\Container $container) { parent::__construct($container); $this->dateFormat = $this->container->getParameter('pedro_teixeira_grid.date.date_format'); $this->setPlaceholder(strtoupper($this->dateFormat)); }
/** * Constructor. * * @param ObjectConfig $config An optional ObjectConfig object with configuration options. */ public function __construct(ObjectConfig $config) { parent::__construct($config); //Create the queue $this->_queue = $this->getObject('lib:object.queue'); }
/** * Constructor * * @param object An optional ObjectConfig object with configuration options */ public function __construct(ObjectConfig $config) { parent::__construct($config); $this->_length = $config->length; $this->_separator = $config->separator; }