Exemplo n.º 1
0
 /**
  * Creates one new XMLDBStatement
  */
 function XMLDBStatement($name)
 {
     parent::XMLDBObject($name);
     $this->table = NULL;
     $this->type = XMLDB_STATEMENT_INCORRECT;
     $this->sentences = array();
 }
Exemplo n.º 2
0
 /**
  * Creates one new XMLDBTable
  */
 function XMLDBTable($name)
 {
     parent::XMLDBObject($name);
     $this->fields = array();
     $this->keys = array();
     $this->indexes = array();
 }
 /**
  * Creates one new XMLDBStructure
  */
 function XMLDBStructure($name)
 {
     parent::XMLDBObject($name);
     $this->path = NULL;
     $this->version = NULL;
     $this->tables = array();
     $this->statements = array();
 }
 /**
  * Creates one new XMLDBKey
  */
 function XMLDBKey($name)
 {
     parent::XMLDBObject($name);
     $this->type = NULL;
     $this->fields = array();
     $this->reftable = NULL;
     $this->reffields = array();
 }
Exemplo n.º 5
0
 /**
  * Creates one new XMLDBField
  */
 function XMLDBField($name)
 {
     parent::XMLDBObject($name);
     $this->type = NULL;
     $this->length = NULL;
     $this->unsigned = false;
     $this->notnull = false;
     $this->default = NULL;
     $this->sequence = false;
     $this->enum = false;
     $this->enumvalues = NULL;
     $this->decimals = NULL;
 }
 /**
  * Creates one new XMLDBIndex
  */
 function XMLDBIndex($name)
 {
     parent::XMLDBObject($name);
     $this->unique = false;
     $this->fields = array();
 }
 /**
  * Constructor of the XMLDBFile
  */
 function XMLDBFile($path)
 {
     parent::XMLDBObject($path);
     $this->path = $path;
     $this->xmldb_structure = NULL;
 }