tangra logo
   
[ class tree: tangra_lib ] [ index: tangra_lib ] [ all elements ]
 

Class: Static_Grid

Source Location: /grids/static_grid.class.php

Class Static_Grid

Descendants
Child Class Description
Static_Paginated_Grid Static grid with pagination

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Grid

Grid::$columns_number
Grid::$name
Grid::$rows

Inherited From Grid

Grid::__construct()
Constructor
Grid::add_row()
Adds new row
Grid::get_columns_number()
Returns how many columns grid has
Grid::get_name()
Returns grid name
Grid::get_rows()
Returns reference to rows
Grid::remove_all_rows()
Removes all rows
Grid::remove_row()
Removes a row
Grid::set_columns_number()
Sets how many columns grid will have
Grid::set_name()
Sets grid name
Grid::set_rows()
Sets all rows at once

Inherited From Tangra_Class

Tangra_Class::get_class_name()
Alias of get_class(). Exist because of historical reasons.
Tangra_Class::__set()
Overides PHP built-in method and just throws exception if called. Purpose - to "forbid" autosetting of nonexisting class properties.

[ Top ]
Method Summary
Static_Grid   __construct()   Constructor
string   get_static_html()   Returns generated HTML
TPLE_Exports   get_tple_exports()   Get TPLE Exports

[ Top ]
Methods
Constructor __construct  [line 34]

  Static_Grid __construct( string $name, integer $columns_number  )

Constructor

Parameters:
string   $name:  Name of the grid
integer   $columns_number:  How many coluns will grid have


Redefinition of:
Grid::__construct()
Constructor

Redefined in descendants as:

[ Top ]
get_static_html  [line 46]

  string get_static_html( string $path, string $language  )

Returns generated HTML

Parameters:
string   $path:  Path of the template file
string   $language:  Language code

API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
get_tple_exports  [line 61]

  TPLE_Exports get_tple_exports( )

Get TPLE Exports


API Tags:
Access:  public


Redefined in descendants as:

[ Top ]