XOOPS  2.6.0
XoopsDebugStack.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 */
11 
13 
15 
28 class XoopsDebugStack extends DebugStack
29 {
43  public function stopQuery()
44  {
45  parent::stopQuery();
46  \Xoops::getInstance()->events()->triggerEvent(
47  'core.database.query.complete',
48  $this->queries[$this->currentQuery]
49  );
50  }
51 }
static getInstance()
Definition: Xoops.php:160