/** * 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()); }
/** * 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; }
/** * 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; }