[ Index ]
 

Code source de CakePHP 1.1.13.4450

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/cake/libs/view/ -> helper.php (sommaire)

Backend for helpers. Internal methods for the Helpers.

Copyright: Copyright 2005-2007, Cake Software Foundation, Inc.
License: http://www.opensource.org/licenses/mit-license.php The MIT License
Version: $Revision: 4409 $
Poids: 167 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Helper:: (5 méthodes):
  loadConfig()
  output()
  assign()
  readConfigFile()
  afterRender()


Classe: Helper  - X-Ref

Backend for helpers.

Long description for class

loadConfig()   X-Ref
Parses custom config/tags.ini.php and merges with $this->tags.

return: html tags used by helpers

output($str, $return = false)   X-Ref
Decides whether to output or return a string.

Based on AUTO_OUTPUT and $return's value, this method decides whether to
output a string, or return it.

param: string  $str    String to be output or returned.
param: boolean $return Whether this method should return a value or output it.
return: mixed    Either string or echos the value, depends on AUTO_OUTPUT and $return.

assign($keyName, $values)   X-Ref
Assigns values to tag templates.

Finds a tag template by $keyName, and replaces $values's keys with
$values's keys.

param: string $keyName Name of the key in the tag array.
param: array  $values  Values to be inserted into tag.
return: string Tag with inserted values.

readConfigFile($fileName)   X-Ref
Returns an array of settings in given INI file.

param: string $fileName ini file to read
return: array of lines from the $fileName

afterRender()   X-Ref
After render callback.  Overridden in subclasses.

return: void



Généré le : Sun Feb 25 19:27:47 2007 par Balluche grâce à PHPXref 0.7