本文整理汇总了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();
}
}