本文整理汇总了PHP中Innomatic\Core\InnomaticContainer::getDataAccess方法的典型用法代码示例。如果您正苦于以下问题:PHP InnomaticContainer::getDataAccess方法的具体用法?PHP InnomaticContainer::getDataAccess怎么用?PHP InnomaticContainer::getDataAccess使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Innomatic\Core\InnomaticContainer
的用法示例。
在下文中一共展示了InnomaticContainer::getDataAccess方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getDomainsWithUnsecureDatabasePassword
public function getDomainsWithUnsecureDatabasePassword()
{
$result = array();
$innomaticDA = $this->container->getDataAccess();
$domainsQuery = $innomaticDA->execute('SELECT id,domainid FROM domains WHERE dataaccessuser=dataaccesspassword OR dataaccesspassword=\'\' ORDER BY domainid');
while (!$domainsQuery->eof) {
$result[$domainsQuery->getFields('id')] = $domainsQuery->getFields('domainid');
$domainsQuery->moveNext();
}
return $result;
}
示例2: setTheme
public function setTheme($name)
{
$this->mThemeHandler = new \Innomatic\Wui\Theme\WuiTheme($this->container->getDataAccess(), $name);
$this->mThemeName = $name;
}
示例3: erase
/**
* Erases the whole Innowork item log.
*
* @access public
* @return boolean
*/
public function erase()
{
$dataAccess = $this->container->getDataAccess();
return $dataAccess->execute('DELETE FROM innowork_core_itemslog' . ' WHERE itemtype=' . $dataAccess->formatText($this->itemType) . ' AND itemid=' . $this->itemId);
}