| [ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TClientScript class file
| Author: | Wei Zhuo |
| Copyright: | Copyright © 2005 PradoSoft |
| License: | http://www.pradosoft.com/license/ |
| Version: | $Id: TClientScript.php 1397 2006-09-07 07:55:53Z wei $ |
| Poids: | 133 lignes (4 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
TClientScript:: (8 méthodes):
getPradoScripts()
setPradoScripts()
getScriptUrl()
setScriptUrl()
onPreRender()
render()
renderCustomScriptFile()
renderCustomScript()
Classe: TClientScript - X-Ref
TClientScript class| getPradoScripts() X-Ref |
return: string comma delimited list of javascript libraries to included |
| setPradoScripts($value) X-Ref |
| Include javascript library to the current page. The current supported libraries are: "prado", "effects", "ajax", "validator", "logger", "datepicker", "rico", "colorpicker". Library dependencies are automatically resolved. param: string comma delimited list of javascript libraries to include. |
| getScriptUrl() X-Ref |
return: string custom javascript file url. |
| setScriptUrl($value) X-Ref |
param: string custom javascript file url. |
| onPreRender($param) X-Ref |
| Calls the client script manager to add each of the requested client script libraries. param: mixed event parameter |
| render($writer) X-Ref |
| Renders the body content as javascript block. Overrides parent implementation, parent renderChildren method is called during {@link registerCustomScript}. param: THtmlWriter the renderer |
| renderCustomScriptFile($writer) X-Ref |
| Renders the custom script file. param: THtmLWriter the renderer |
| renderCustomScript($writer) X-Ref |
| Registers the body content as javascript. param: THtmlWriter the renderer |
| Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |