示例#1
0
 /**
  * Table name propery should returned unescaped and unprefixed table name
  * (The one in the XML file)
  */
 function testTableName()
 {
     $xml_file = $this->xmlPath . "table_name_alias.xml";
     $xml_obj = Helper::getXmlObject($xml_file);
     $tag = new TableTag($xml_obj->table);
     $this->assertEquals("modules", $tag->getTableName());
 }
示例#2
0
 /**
  * constructor
  * Initialises Table Tag properties
  * @param object $table XML <table> tag
  * @param array $index
  * @return void
  */
 function HintTableTag($table, $index)
 {
     parent::TableTag($table);
     $this->index = $index;
 }
示例#3
0
 /**
  * constructor
  * Initialises Table Tag properties
  * @param object $table XML <table> tag
  * @param array $index
  * @return void
  */
 function __construct($table, $index)
 {
     parent::__construct($table);
     $this->index = $index;
 }