本文整理匯總了PHP中cmsActions::getActionsComponents方法的典型用法代碼示例。如果您正苦於以下問題:PHP cmsActions::getActionsComponents方法的具體用法?PHP cmsActions::getActionsComponents怎麽用?PHP cmsActions::getActionsComponents使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類cmsActions
的用法示例。
在下文中一共展示了cmsActions::getActionsComponents方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: cms_model_actions
// written by InstantCMS Team, 2007-2011 //
// produced by InstantSoft, (www.instantsoft.ru) //
// //
// LICENSED BY GNU/GPL v2 //
// //
/******************************************************************************/
$inDB = cmsDatabase::getInstance();
$inUser = cmsUser::getInstance();
$inCore = cmsCore::getInstance();
$inCore->loadModel('actions');
$model = new cms_model_actions();
$inCore->loadClass('actions');
$inActions = cmsActions::getInstance();
$opt = $inCore->request('opt', 'str', 'list');
$id = $inCore->request('id', 'int', 0);
$act_components = cmsActions::getActionsComponents();
$act_component = $inCore->request('act_component', 'str', '');
cpAddPathway('Лента активности', '?view=components&do=config&id=' . $id);
$messages = cmsCore::getSessionMessages();
if ($messages) {
?>
<div class="sess_messages">
<?php
foreach ($messages as $message) {
echo $message;
}
?>
</div>
<?php
}
//=================================================================================================//