/** * Constructor * @access public */ function DatabaseObject() { /* For good OOP: Call constructor ------------------------------------- */ parent::AuthorObject(); $this->instanceof = INSTANCEOF_DATABASEOBJECT; /* -------------------------------------------------------------------- */ }
/** * Constructor * @access public * @param string $objectID The ID of an existing object */ function StudipObject($objectID = "") { /* For good OOP: Call constructor ------------------------------------- */ parent::AuthorObject(); $this->instanceof = INSTANCEOF_STUDIPOBJECT; /* -------------------------------------------------------------------- */ /* Set default values ------------------------------------------------- */ $this->objectID = $objectID; $this->authorID = ""; $this->rangeID = ""; /* -------------------------------------------------------------------- */ }
/** * Constructor * @access public * @param string $evalID The ID of the evaluation for export */ function EvaluationExportManager($evalID) { /* Set default values ------------------------------------------------- */ register_shutdown_function(array(&$this, "_EvaluationExportManager")); parent::AuthorObject(); $this->setAuthorEmail("*****@*****.**"); $this->setAuthorName("Alexander Willner"); $this->instanceof = INSTANCEOF_EVALEXPORTMANAGER; $this->filename = ""; $this->filehandle = ""; $this->evalID = $evalID; $this->eval = new Evaluation($evalID, NULL, EVAL_LOAD_FIRST_CHILDREN); $this->evalquestions = array(); $this->extension = EVALEXPORT_EXTENSION; $this->createNewFile(); $this->getQuestionobjects($this->eval); /* -------------------------------------------------------------------- */ }