Class Pxxo_View

Description

Moteur de template pour les différentes "VUE" d'un composants

Located in /Pxxo/View.php (line 56)

Zend_View_Abstract
   |
   --Pxxo_View
Variable Summary
Method Summary
Pxxo_View __construct ([array $config = array()])
Pxxo_Buffer render (string $name, [string $type = ''])
void transform (string $type)
void _run (string 0)
void _script ($name $name)
void __set (string $key, mixed $val)
Variables
Pxxo_Widget $Pxxo = null (line 72)

Simaultion héritage multiple

  • access: private
Pxxo_Buffer $_input (line 61)
  • var: Input buffer
  • access: private
Pxxo_Buffer $_output (line 66)
  • var: Output buffer
  • access: private
Methods
Constructor __construct (line 79)

Constructor.

  • access: public
Pxxo_View __construct ([array $config = array()])
  • array $config: Configuration key-value pairs.
getOutputBuffer (line 120)

On récupére le flux de sortie

  • access: public
Pxxo_Buffer getOutputBuffer ()
render (line 102)

Processes a view script and returns the output.

  • access: public
Pxxo_Buffer render (string $name, [string $type = ''])
  • string $name: The script script name to process.
  • string $type: The type of the output buffer
setInputBuffer (line 131)

On choisit un flux d'entrée

  • access: public
void setInputBuffer (Pxxo_Buffer $o)
transform (line 141)

Transformation Du buffer d'entrée en buffer de Sortie

  • access: public
void transform (string $type)
  • string $type: The type of the output buffer
_run (line 170)

Includes the view script in a scope with only public $this variables.

  • access: protected
void _run (string 0)
  • string 0: The view script to execute.
_script (line 91)

Finds a view script from the available directories.

  • access: protected
void _script ($name $name)
  • $name $name: string The base name of the script.
__set (line 193)

Directly assigns a variable to the view script.

Checks first to ensure that the caller is not attempting to set a protected or private member (by checking for a prefixed underscore); if not, the public member is set; otherwise, an exception is raised.

  • throws: Zend_View_Exception if an attempt to set a private or protected member is detected
  • access: public
void __set (string $key, mixed $val)
  • string $key: The variable name.
  • mixed $val: The variable value.

Documentation generated on Thu, 13 Mar 2008 22:03:23 +0100 by phpDocumentor 1.4.1