本文整理汇总了PHP中Audit::LoadArrayByEntityQtypeId方法的典型用法代码示例。如果您正苦于以下问题:PHP Audit::LoadArrayByEntityQtypeId方法的具体用法?PHP Audit::LoadArrayByEntityQtypeId怎么用?PHP Audit::LoadArrayByEntityQtypeId使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Audit
的用法示例。
在下文中一共展示了Audit::LoadArrayByEntityQtypeId方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Form_Create
protected function Form_Create()
{
// Create the Header Menu
$this->ctlHeaderMenu_Create();
$this->ctlShortcutMenu_Create();
if ($_GET && $_GET['method'] == 'delete') {
$objAudit = Audit::Load($_GET['intAuditId']);
if ($objAudit) {
$objAudit->Delete();
QApplication::Redirect("./inventory_audit_list.php");
}
}
// Load an array of Audit objects using join on UserAccount.
$this->objAuditArray = Audit::LoadArrayByEntityQtypeId(2, QQ::Clause(QQ::Expand(QQN::Audit()->CreatedByObject)));
}
示例2: Form_Create
protected function Form_Create()
{
// Create the Header Menu
$this->ctlHeaderMenu_Create();
$this->ctlShortcutMenu_Create();
//QApplication::$Database[1]->EnableProfiling();
if ($_GET && $_GET['method'] == 'delete') {
$objAudit = Audit::Load($_GET['intAuditId']);
if ($objAudit) {
// Set the relationship to ON DELETE CASCADE so that the AuditScans will be automatically deleted when deleting the Audit Object
$objAudit->Delete();
QApplication::Redirect("./asset_audit_list.php");
}
}
// Load an array of Audit objects using join on UserAccount.
$this->objAuditArray = Audit::LoadArrayByEntityQtypeId(1, QQ::Clause(QQ::Expand(QQN::Audit()->CreatedByObject)));
}