Jeff PHP framework  0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
groupController Class Reference

Group module controller. More...

+ Inheritance diagram for groupController:
+ Collaboration diagram for groupController:

Public Member Functions

 __construct ()
 Constructs a group controller instance.
 deleteGroup ()
 Deletes submitted groups.
 manage ()
 User groups backoffice.
 saveGroup ()
 Save group model after form submission.

Private Member Functions

 formGroup ($g)
 Group insertion, deletion and modification format.
 formGroupData ($g, $myform)
 Descriptive part of the insertion/modification group format.
 formPrivileges ($g, $myform)
 Privileges selection part of the insertion/modification group format.
 manageGroup ($g)
 Group insertion or modification management.

Private Attributes

 $_admin_privilege
 $_class_privilege

Detailed Description

Group module controller.

Author:
abidibo abidi.nosp@m.bo@g.nosp@m.mail..nosp@m.com
Version:
0.99
Date:
2011-2012

Definition at line 28 of file group.controller.php.


Constructor & Destructor Documentation

Constructs a group controller instance.

Returns:
group controller instance

Reimplemented from controller.

Definition at line 45 of file group.controller.php.


Member Function Documentation

Deletes submitted groups.

Returns:
void

Definition at line 267 of file group.controller.php.

+ Here is the call graph for this function:

groupController::formGroup ( g) [private]

Group insertion, deletion and modification format.

Parameters:
group$gthe group model instance
Returns:
group insertion or modification format

Definition at line 136 of file group.controller.php.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

groupController::formGroupData ( g,
myform 
) [private]

Descriptive part of the insertion/modification group format.

Parameters:
group$ggroup model instance
form$myformform object instance
Returns:
descriptive form elements

Definition at line 170 of file group.controller.php.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

groupController::formPrivileges ( g,
myform 
) [private]

Privileges selection part of the insertion/modification group format.

Parameters:
group$ggroup model instance
form$myformform object instance
Returns:
privileges selection form elements

Definition at line 186 of file group.controller.php.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

User groups backoffice.

public

Returns:
the user groups table back office

Definition at line 63 of file group.controller.php.

+ Here is the call graph for this function:

groupController::manageGroup ( g) [private]

Group insertion or modification management.

Parameters:
group$gthe group model instance
Returns:
group insertion or modification view

Definition at line 117 of file group.controller.php.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Save group model after form submission.

Returns:
void

Definition at line 240 of file group.controller.php.

+ Here is the call graph for this function:


Field Documentation

module's administration privilege id

Definition at line 38 of file group.controller.php.

module's administration privilege class

Definition at line 33 of file group.controller.php.


The documentation for this class was generated from the following file: