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

Layout model class. More...

+ Inheritance diagram for layout:
+ Collaboration diagram for layout:

Public Member Functions

 __construct ($id)
 Constructs a layout instance.

Static Public Member Functions

static activateTheme ($id)
 Sets theme as active from given id.
static getThemes ($opts=null)
 Gets all available themes.

Detailed Description

Layout model class.

Model fields:

  • id int(8): primary key
  • name varchar(128):theme name
  • active int(1): is active?
Author:
abidibo abidi.nosp@m.bo@g.nosp@m.mail..nosp@m.com
Version:
0.99
Date:
2011-2012

Definition at line 26 of file layout.php.


Constructor & Destructor Documentation

Constructs a layout instance.

Parameters:
mixed$idthe object id (primary key value of the record)
Returns:
layout instance

Definition at line 34 of file layout.php.


Member Function Documentation

static layout::activateTheme ( id) [static]

Sets theme as active from given id.

Parameters:
int$idthe theme id (primary key value)
Returns:
void

Definition at line 64 of file layout.php.

+ Here is the call graph for this function:

static layout::getThemes ( opts = null) [static]

Gets all available themes.

Parameters:
array$opts,:associative array of options (no one by now)
Returns:
array layout objects

Definition at line 47 of file layout.php.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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