本文整理汇总了PHP中erLhAbstractModelWidgetTheme::getList方法的典型用法代码示例。如果您正苦于以下问题:PHP erLhAbstractModelWidgetTheme::getList方法的具体用法?PHP erLhAbstractModelWidgetTheme::getList怎么用?PHP erLhAbstractModelWidgetTheme::getList使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类erLhAbstractModelWidgetTheme
的用法示例。
在下文中一共展示了erLhAbstractModelWidgetTheme::getList方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: removeInstanceData
public function removeInstanceData()
{
foreach (erLhAbstractModelFormCollected::getList(array('limit' => 1000000)) as $item) {
$item->removeThis();
}
foreach (erLhAbstractModelWidgetTheme::getList(array('limit' => 1000000)) as $item) {
$item->removeThis();
}
foreach (erLhcoreClassChat::getList(array('limit' => 1000000)) as $item) {
$item->removeThis();
}
foreach (erLhcoreClassChat::getList(array('limit' => 1000000), 'erLhcoreClassModelChatFile', 'lh_chat_file') as $item) {
$item->removeThis();
}
foreach (erLhcoreClassModelUser::getUserList(array('limit' => 1000000)) as $item) {
$item->removeFile();
}
// Dispatch event for extensions
erLhcoreClassChatEventDispatcher::getInstance()->dispatch('instance.destroyed', array('instance' => $this));
return true;
}
示例2: foreach
<option value="http:">http:</option>
<option value="https:">https:</option>
</select>
</div>
<div class="columns large-6 end">
<label><?php
echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode', 'Theme');
?>
</label>
<select id="ThemeID">
<option value="0"><?php
echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode', 'Default');
?>
</option>
<?php
foreach (erLhAbstractModelWidgetTheme::getList(array('limit' => 1000)) as $theme) {
?>
<option value="<?php
echo $theme->id;
?>
"><?php
echo htmlspecialchars($theme->name);
?>
</option>
<?php
}
?>
</select>
</div>
</div>
<label><input type="checkbox" id="DisableMiminize" value="on"><?php