mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Optimizations:
- Setup: grouped CREATE TABLE / ALTER TABLE statements in one single CREATE table - Every page: cache the prepared queries and data model into APC Cleanup: removed unused verb RegisterPlugin Fix: GetObject could fail (could not find the reference from within the forum) SVN:trunk[1154]
This commit is contained in:
@@ -37,6 +37,7 @@ require_once('cmdbsource.class.inc.php');
|
||||
|
||||
class SQLQuery
|
||||
{
|
||||
private $m_SourceOQL = '';
|
||||
private $m_sTable = '';
|
||||
private $m_sTableAlias = '';
|
||||
private $m_aFields = array();
|
||||
@@ -69,6 +70,16 @@ class SQLQuery
|
||||
$this->m_oSelectedIdField = $oSelectedIdField;
|
||||
}
|
||||
|
||||
public function SetSourceOQL($sOQL)
|
||||
{
|
||||
$this->m_SourceOQL = $sOQL;
|
||||
}
|
||||
|
||||
public function GetSourceOQL()
|
||||
{
|
||||
return $this->m_SourceOQL;
|
||||
}
|
||||
|
||||
public function DisplayHtml()
|
||||
{
|
||||
if (count($this->m_aFields) == 0) $sFields = "";
|
||||
|
||||
Reference in New Issue
Block a user