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

Back office management class. More...

+ Inheritance diagram for menuAdminTable:
+ Collaboration diagram for menuAdminTable:

Public Member Functions

 __construct ($table, $opts=null)
 Constructs a menuAdminTable instance.
 view ()
 Admin list view.

Protected Member Functions

 formElement ($myform, $fname, $field, $id, $opts=null)
 The html form element for the given field.

Detailed Description

Back office management class.

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

Definition at line 21 of file menuAdminTable.php.


Constructor & Destructor Documentation

menuAdminTable::__construct ( table,
opts = null 
)

Constructs a menuAdminTable instance.

Parameters:
string$tabledatabase table
array$optsassociative array of options, see adminTable
Returns:
menuAdminTable instance

Reimplemented from adminTable.

Definition at line 30 of file menuAdminTable.php.


Member Function Documentation

menuAdminTable::formElement ( myform,
fname,
field,
id,
opts = null 
) [protected]

The html form element for the given field.

Defines some custom form elements different from the adminTable method

Parameters:
form$myformthe form instance
mixed$fnamethe field name
array$fieldassociative array containing the database structure information for the field (null, max_length, int...)
mixed$idthe value of the primary key
mixed$optsAssociative array of options
  • value: mixed. The field value
  • size: int default 40. The size attribute of the input element
Returns:
string the html form element

Reimplemented from adminTable.

Definition at line 212 of file menuAdminTable.php.

+ Here is the call graph for this function:

Admin list view.

Custom view with the addition of the add subvoices link

Returns:
admin list view

Reimplemented from adminTable.

Definition at line 43 of file menuAdminTable.php.

+ Here is the call graph for this function:


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