DotKernel/admin/views/AdminView.php
Properties
Description
DotBoost Technologies Inc.
DotKernel Application Framework
Classes
Admin_View
Properties
No
No
Description
Admin View Class
class that prepare output related to User controller
Methods
__construct,
details,
listUser,
loginForm,
loginsUser,
__construct(
Dot_Template
$tpl,
)
:
n/a
Description
Constructor
Arguments
Return value
Tags
Name |
Description |
access |
public |
details(
string
$templateFile,
array
$data
= array,
)
:
void
Description
Display admin user details. It is used for add and update actions
Arguments
Name |
Type |
Description |
Default |
$templateFile |
string |
|
|
$data |
array |
[optional] |
array |
Return value
Tags
Name |
Description |
access |
public |
listUser(
string
$templateFile,
array
$list,
int
$page,
bool
$ajax
= false,
)
:
void
Description
List the admin users
Arguments
Name |
Type |
Description |
Default |
$templateFile |
string |
|
|
$list |
array |
|
|
$page |
int |
|
|
$ajax |
bool |
- Using ajax, parse only the list content |
false |
Return value
Tags
Name |
Description |
access |
public |
loginForm(
string
$templateFile,
)
:
void
Description
Display the login form
Arguments
Name |
Type |
Description |
Default |
$templateFile |
string |
|
|
Return value
Tags
Name |
Description |
access |
public |
loginsUser(
string
$templateFile,
array
$list,
int
$page,
)
:
void
Description
Display user logins list
Arguments
Name |
Type |
Description |
Default |
$templateFile |
string |
|
|
$list |
array |
|
|
$page |
int |
|
|
Return value
Tags
Name |
Description |
access |
public |