本文整理匯總了PHP中CModel::initModel方法的典型用法代碼示例。如果您正苦於以下問題:PHP CModel::initModel方法的具體用法?PHP CModel::initModel怎麽用?PHP CModel::initModel使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類CModel
的用法示例。
在下文中一共展示了CModel::initModel方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: CParam
$cPlugSys = new CPlugInSystem ($cSysConfig);
$cView = new CView ($cSysConfig);
/* Zauber Objekt, kann strings in werte verwandeln */
$cParam = new CParam ($cSysConfig, $cUser, $cSession, $cGlob,
$cModel, $cForm, $cEvent, $cAccess, $cAuth,
$cPage);
/* Für die Plugins, entählt erlaubte funktionen, Funktons Wrapper */
$cPlugFunct = new CPlugInFunctions ($cModel, $cParam, $cGlob, $cSession);
/* Für die Views befehle, entählt erlaubte funktionen, Funktions Wrapper */
$cViewFunct = new CViewFunctions ($cParam, $cModel, $cLink);
/* Lade Module der Standard Objekte */
$cModel->initModel ($cPage, $cDatabase, $cEvent, $cAccess, $cParam);
$cUser->initUser ($cSession, $cModel);
$cAccess->initAccess ($cUser, $cModel);
$cPage->initPage ($cUser, $cAccess, $cPageUrl);
$cGet->initGet ($cGlob, $cPage, $cParam);
$cForm->initForm ($cPage, $cParam, $cGlob, $cAccess);
$cEvent->initEvent ($cParam, $cPage, $cAccess);
$cLink->initLink ($cGlob, $cUser, $cAccess, $cPageUrl);
$cAuth->initAuth ($cPage, $cGlob, $cSession, $cParam, $cEvent,
$cModel);
$cPlugSys->initPlugIn ($cParam, $cPage, $cAccess, $cPlugFunct);
$cSession->initSession($cPage, $cParam);
$cView->initView ($cPage, $cViewFunct);
$cPageUrl->initUrl ($cGlob);
$cDatabase->loadDatabase();