/** * Constructor * call base constructors * checks if directory is writable and sets the optional obj_id * @param integereger obj_id * @access public */ function ilFileDataImport() { define('IMPORT_PATH', 'import'); parent::ilFileData(); $this->import_path = parent::getPath() . "/" . IMPORT_PATH; // IF DIRECTORY ISN'T CREATED CREATE IT // STATIC CALL TO AVOID OVERWRITE PROBLEMS ilFileDataImport::_initDirectory(); }
/** * Constructor * call base constructors * checks if directory is writable and sets the optional obj_id * @param integereger obj_id * @access public */ public function __construct() { define('MAIL_IMPORT_PATH', 'mail'); parent::__construct(); $this->mail_path = parent::getPath() . "/" . MAIL_IMPORT_PATH; // IF DIRECTORY ISN'T CREATED CREATE IT // CALL STTIC TO AVOID OVERWRITE PROBLEMS ilFileDataImportMail::_initDirectory(); $this->__readFiles(); }
/** * Constructor * call base constructors * checks if directory is writable and sets the optional obj_id * @param integereger obj_id * @access public */ function ilFileDataImportGroup() { define('GROUP_IMPORT_PATH', 'group'); parent::ilFileDataImport(); $this->group_path = parent::getPath() . "/" . GROUP_IMPORT_PATH; // IF DIRECTORY ISN'T CREATED CREATE IT // CALL STATIC TO AVOID OVERWRITE PROBLEMS ilFileDataImportGroup::_initDirectory(); $this->__readFiles(); }