XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
QueryParser Class Reference

Public Member Functions

 __construct ($query=NULL, $isSubQuery=FALSE)
 
 getTableInfo ($query_id, $table_name)
 
 toString ()
 

Public Attributes

 $queryTag
 

Detailed Description

Definition at line 16 of file QueryParser.class.php.

Constructor & Destructor Documentation

QueryParser::__construct (   $query = NULL,
  $isSubQuery = FALSE 
)

Constructor

Parameters
object$queryXML object obtained after reading the XML Query file
bool$isSubQuery
Returns
void

Definition at line 33 of file QueryParser.class.php.

Member Function Documentation

QueryParser::getTableInfo (   $query_id,
  $table_name 
)

Returns table information

Used for finding column type info (string/numeric)
Obtains the table info from XE's XML schema files

Parameters
object$query_id
bool$table_name
Returns
array

Definition at line 51 of file QueryParser.class.php.

QueryParser::toString ( )

Returns the contents for the query cache file

Returns
string

Definition at line 118 of file QueryParser.class.php.

Member Data Documentation

QueryParser::$queryTag

Definition at line 24 of file QueryParser.class.php.


The documentation for this class was generated from the following file: