nyroFwk
0.2
var
www
users
nyrofwk
src
my
module
pages
my/module/pages/controller.class.php
Go to the documentation of this file.
1
<?php
2
3
class
module_pages_controller
extends
module_abstract
{
4
5
protected
function
execFrontHome
(array $prm = array()) {
6
}
7
8
protected
function
execError
(array $prm = array()) {
9
response::getInstance
()->addTitleBefore(
'Erreur'
,
' :: '
);
10
response::getInstance
()->setStatus($prm[0]);
11
$this->
setViewVar
(
'error'
, $prm[0]);
12
}
13
14
protected
function
execAdminLogin
(array $prm = array()) {
15
security::getInstance
()->login();
16
}
17
18
protected
function
execAdminHome
(array $prm = array()) {
19
security::getInstance
()->protect();
20
}
21
22
protected
function
execAdminLogout
(array $prm = array()) {
23
security::getInstance
()->logout();
24
response::getInstance
()->redirect(
request::uri
(
'/'
));
25
}
26
27
}
security\getInstance
static getInstance()
Definition:
security.class.php:37
module_abstract
Definition:
module/abstract.class.php:10
module_pages_controller\execAdminLogout
execAdminLogout(array $prm=array())
Definition:
my/module/pages/controller.class.php:22
module_pages_controller
Definition:
my/module/pages/controller.class.php:3
module_pages_controller\execFrontHome
execFrontHome(array $prm=array())
Definition:
my/module/pages/controller.class.php:5
module_abstract\setViewVar
setViewVar($name, $value)
Definition:
module/abstract.class.php:186
module_pages_controller\execAdminHome
execAdminHome(array $prm=array())
Definition:
my/module/pages/controller.class.php:18
response\getInstance
static getInstance()
Definition:
response.class.php:31
request\uri
static uri($prm=array())
Definition:
request.class.php:483
module_pages_controller\execError
execError(array $prm=array())
Definition:
my/module/pages/controller.class.php:8
module_pages_controller\execAdminLogin
execAdminLogin(array $prm=array())
Definition:
my/module/pages/controller.class.php:14
Generated on Sun Oct 15 2017 22:25:20 for nyroFwk by
1.8.13