ThaFrame
[ class tree: ThaFrame ] [ index: ThaFrame ] [ all elements ]

Class: CatalogPattern

Source Location: /patterns/CatalogPattern.php

Class Overview

TemplatePattern
   |
   --PagePattern
      |
      --CatalogPattern

Provides a PagePattern that shows an item's list.


Methods


Inherited Variables

Inherited Methods

Class: PagePattern

PagePattern::__construct()
PagePattern::addHeader()
Adds a header to be sent just before display();
PagePattern::addHTMLHeader()
Adds a html header that will be added in the <head> section
PagePattern::display()
Shows the given template
PagePattern::goToPage()
Jumps to the given url, sending a message.
PagePattern::setLayout()
Sets the layout file to be used.
PagePattern::setMainMenu()
PagePattern::setOnLoad()
Sets the javascript code to be run when the pase finishes loading
PagePattern::setPageName()
Sets the page name depending of the layout it might be translated
PagePattern::setPatternVariable()
Sets a pattern specific variable, variables set by this function aren't mandatory, and are only to provide customization to the default template
PagePattern::setSecondaryMenu()

Class: TemplatePattern

TemplatePattern::__construct()
TemplatePattern::addJavascript()
Adds a javascript that will be added in the head section
TemplatePattern::assign()
TemplatePattern::getAsString()
Shows the given template
TemplatePattern::getScriptName()
TemplatePattern::runTemplate()
Run the Template in the cleanest enviroment posible
TemplatePattern::setPatternVariable()
Sets a pattern specific variable, variables set by this function aren't mandatory, and are only to provide customization to the default template
TemplatePattern::setTemplate()
Sets the template file to be used.

Class Details

[line 18]
Provides a PagePattern that shows an item's list.

Trough several methods it allows you to add links and actions asociated with each row, as well as formating




[ Top ]


Class Methods


constructor __construct [line 26]

CatalogPattern __construct( [string $page_name = ''], [string $template = ''])

Construct a CatalogPattern page



Tags:

access:  public


Overrides PagePattern::__construct() (parent method not documented)

Parameters:

string   $page_name   the page name to be shown
string   $template   by default it uses CatalogPattern.{$view}.tpl.php

[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:32:11 -0500 by phpDocumentor 1.4.3