public function __construct(array $options = array()) { parent::__construct($options); }
public function __construct(array $options = array()) { // Define some default values $this->properties = array('remote_id' => null, 'section_id' => 0, 'creator_id' => false, 'language' => eZContentObject::defaultLanguage(), 'class_identifier' => null); parent::__construct($options); }
/** * Constructor. * Available options are : * - xml_path (Path to XML file or stream) * - xml_string (Raw XML string. Used if xml_path is not provided) * - xml_parser (XML Parser, may be "dom" or "simplexml". DOM is default. If simplexml is demanded, SimpleXMLIterator will be used) * - timeout (Timeout in seconds for the distant call) * - xsd (XSD file allowing to validate XML stream) * @param array $options */ public function __construct(array $options = array()) { // Define some default values $this->properties = array('xml_path' => null, 'xml_string' => null, 'xml_parser' => 'dom', 'timeout' => eZINI::instance('sqliimport.ini')->variable('ImportSettings', 'StreamTimeout'), 'xsd' => null); parent::__construct($options); }
/** * Constructor. * Available options are : * - csv_path (Path to CSV file) * - delimiter (Field delimiter, one character only) * - enclosure (Field enclosure character, one character only) * - csv_line_length (CSV line length. Must be higher than the longest line in CSV file) * @param $options */ public function __construct(array $options = array()) { // Define some default values $this->properties = array('csv_path' => null, 'delimiter' => ';', 'enclosure' => '"', 'csv_line_length' => 100000); parent::__construct($options); }
/** * Constructor * @param array $options */ public function __construct(array $options = array()) { // Define some default values $this->properties = array('parent_node_id' => null, 'modification_check' => true, 'copy_prev_version' => true, 'update_null_field' => false); parent::__construct($options); }