scriptblock.class.php

来自「Ajax最流行书籍」· PHP 代码 · 共 71 行

PHP
71
字号
<?php/** * XOAD HTML DOM Script Block file. * * <p>This file defines the {@link XOAD_HTML_DOM_ScriptBlock} Class.</p> * * @author		Stanimir Angeloff * * @package		XOAD * * @subpackage	XOAD_HTML * * @version		0.6.0.0 * *//** * XOAD HTML DOM Script Block Class. * * @author		Stanimir Angeloff * * @package		XOAD * * @subpackage	XOAD_HTML * * @version		0.6.0.0 * */class XOAD_HTML_DOM_ScriptBlock{	/**	 * Holds script block source code.	 *	 * @access	public	 *	 * @var		string	 *	 */	var $script;	/**	 * Creates a new instance of the {@link XOAD_HTML_DOM_ScriptBlock} class.	 *	 * @param	string	$script	String that holds the JavaScript code.	 *	 * @access	public	 *	 */	function XOAD_HTML_DOM_ScriptBlock($script = null)	{		$this->script = $script;	}	/**	 * Returns the JavaScript code that the block contains.	 *	 * <p>You should not call this method directly.</p>	 *	 * @access	public	 *	 * @return	string	JavaScript source code for the script block.	 *	 * @static	 *	 */	function process()	{		return $this->script;	}}?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?