aliroBasicHTML Class Reference

Inheritance diagram for aliroBasicHTML:

aliroFriendlyBase basicAdminHTML advancedAdminHTML aliroPHPRenderer widgetAdminHTML

List of all members.

Public Member Functions

 __construct ($controller)

Protected Member Functions

 T_ ($string)
 show ($string)
 checkedIfTrue ($bool)
 html ()

Protected Attributes

 $controller = null
 $translations = array()
 $pageNav = null
 $option = ''
 $optionline = ''
 $optionurl = ''
 $formstamp


Detailed Description

Definition at line 5 of file aliroBasicHTML.php.


Constructor & Destructor Documentation

aliroBasicHTML::__construct ( controller  ) 

Reimplemented in basicAdminHTML.

Definition at line 14 of file aliroBasicHTML.php.

References $controller.

00014                                               {
00015         $this->controller = $controller;
00016         $this->pageNav = $controller->pageNav;
00017         $this->option = $this->getOption();
00018         $this->optionline = "<input type='hidden' name='option' value='$this->option' />";
00019         $this->optionurl = 'index.php?option='.$this->option;
00020         $this->formstamp = $this->makeFormStamp();
00021     }


Member Function Documentation

aliroBasicHTML::T_ ( string  )  [protected]

Reimplemented in aliroPHPRenderer.

Definition at line 23 of file aliroBasicHTML.php.

00023                                     {
00024         if (isset($this->translations[$string])) return $this->translations[$string];
00025         trigger_error(sprintf(T_('No translation %s for %s'),get_class($this),$string));
00026         return $string;
00027     }

aliroBasicHTML::show ( string  )  [protected]

Definition at line 29 of file aliroBasicHTML.php.

00029                                       {
00030         return $string;
00031     }

aliroBasicHTML::checkedIfTrue ( bool  )  [protected]

Definition at line 33 of file aliroBasicHTML.php.

00033                                              {
00034         return $bool ? 'checked="checked"' : '';
00035     }

aliroBasicHTML::html (  )  [protected]

Reimplemented in aliroPHPRenderer.

Definition at line 37 of file aliroBasicHTML.php.

Referenced by advancedAdminHTML::listHTML().

00037                                {
00038         $args = func_get_args();
00039         $method = array_shift($args);
00040         $html = call_user_func(array('aliroHTML', 'getInstance'));
00041         return call_user_func_array(array($html, $method), $args);
00042     }


Member Data Documentation

aliroBasicHTML::$controller = null [protected]

Definition at line 6 of file aliroBasicHTML.php.

Referenced by basicAdminHTML::__construct(), and __construct().

aliroBasicHTML::$translations = array() [protected]

Reimplemented in aliroPHPRenderer.

Definition at line 7 of file aliroBasicHTML.php.

aliroBasicHTML::$pageNav = null [protected]

Reimplemented in aliroPHPRenderer.

Definition at line 8 of file aliroBasicHTML.php.

aliroBasicHTML::$option = '' [protected]

Definition at line 9 of file aliroBasicHTML.php.

aliroBasicHTML::$optionline = '' [protected]

Definition at line 10 of file aliroBasicHTML.php.

aliroBasicHTML::$optionurl = '' [protected]

Definition at line 11 of file aliroBasicHTML.php.

aliroBasicHTML::$formstamp [protected]

Definition at line 12 of file aliroBasicHTML.php.


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

Generated on Wed May 14 13:01:58 2008 for ALIRO by  doxygen 1.5.5