本文整理匯總了PHP中BaseController::prepareHTMLData方法的典型用法代碼示例。如果您正苦於以下問題:PHP BaseController::prepareHTMLData方法的具體用法?PHP BaseController::prepareHTMLData怎麽用?PHP BaseController::prepareHTMLData使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類BaseController
的用法示例。
在下文中一共展示了BaseController::prepareHTMLData方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: getAccountDetails
public function getAccountDetails(){
///Validate if the user has been loggen in
if (parent::allowAccess()){
$webUserDTO = $this->session->userdata('webUserDTO');
//Get Actual User Details
$data['userData'] = $this->UserModel->get_user($webUserDTO->userID);
$data['entityName'] = $webUserDTO->entityName;
parent::prepareHTMLData("Mi Cuenta",
"Mi Cuenta",
array("<script src='js/ConredPack/Conred_AccountView.js.php'></script>",
"<script src='js/ConredPack/Conred_ValidateUtils.js.php'></script>",
"<script src='js/ConredPack/md5-min.js.php'></script>",
"<script src='js/ConredPack/sha1-min.js.php'></script>"));
///Load Content
$this->template->write_view('content', 'Account/AccountView.php', $data);
$this->template->render();
}
else{
//Deny Hacking Access
parent::destroySession();
}
}
示例2: index
function index(){
///Validate if the user has been loggen in
if (parent::allowAccess()){
parent::prepareHTMLData("Control de Usuarios",
"Control de Usuarios",
array("<script src='js/ConredPack/Conred_UserView.js.php'></script>"));
///Load Content
$this->template->write_view('content', 'User/UserView.php');
$this->template->render();
}
else{
//Deny Hacking Access
parent::destroySession();
}
}
示例3: index
function index(){
///Validate if the user has been loggen in
if (parent::allowAccess()){
parent::prepareHTMLData("Panel de Control",
"Panel de Control - Transacciones Recientes (10 min.)",
array("<script src='js/ConredPack/Conred_IndexView.js.php'></script>"));
///Load Content
$this->template->write_view('content', 'Index/IndexView');
$this->template->render();
}
else{
//Deny Hacking Access
parent::destroySession();
}
}
示例4: index
function index(){
///Validate if the user has been loggen in
if (parent::allowAccess()){
parent::prepareHTMLData("Bandeja de Entrada",
"Bandeja de Entrada - Mensajes del Sistema",
array("<script src='js/ConredPack/Conred_InboxView.js.php'></script>"));
$webUserDTO = $this->session->userdata('webUserDTO');
//Get User Messages
$data['userMessages'] = $this->InboxModel->get_messages_per_page($webUserDTO->userID, 1); //Init. Page
//Get Max. Pages
$data['maxPages'] = $this->InboxModel->get_pages_messages_counter($webUserDTO->userID);
//Get Current Page
$data['currentPage'] = $this->InboxModel->get_current_page();
//Get Max. Pages Total
$data['maxPagesTotal'] = $this->InboxModel->get_max_pages_total();
//Get Items X Page
$data['itemsXPage'] = $this->InboxModel->get_itemsXpage();
///Load Content
$this->template->write_view('content', 'Inbox/InboxView', $data);
$this->template->render();
}
else{
//Deny Hacking Access
parent::destroySession();
}
}
示例5: array
function decoderBase24(){
///Validate if the user has been loggen in
if (parent::allowAccess()){
parent::prepareHTMLData("Decodificador Base 24",
"Decodificador Base 24",
array("<script src='js/ConredPack/Conred_DecoderBase24View.js.php'></script>",
"<script src='js/ConredPack/Conred_ValidateUtils.js.php'></script>"));
///Load Content
$this->template->write_view('content', 'Management/DecoderBase24View', null);
$this->template->render();
}
else{
//Deny Hacking Access
parent::destroySession();
}
}