Your PHP skills tool showed me were I needed to improve and how to do it! 您的PHP技能的工具,表明我是我需要改进,如何做到这一点!”
汤姆

RocksPage类

描述

这是一个抽象类,它包含一个页面的所有基础。

  • Dominic Skinner 作者:多米尼克·斯金纳
  • 0.2.1 版本:0.2.1
  • 摘要:

)位于/ RocksPage.php(第14行)

方法摘要
__construct ([ string $templateFileName = null ], [ string $configFileName = null ]) [的 美元templateFileName RocksPage __construct (= NULL],[ 字符串 $ configFileName = NULL)
__destruct () 无效 __destruct ()
AssignTemplateVariable ( string $varName , string $varValue , [ string $defaultValue = null ]) 无效 AssignTemplateVariable字符串 $ varName的 字符串 $ varValue,[ 字符串 美元的DefaultValue = NULL)
Database () 无效的 数据库 (1)
Form () 无效的 表格 (1)
Session () 无效 会议 (1)
方法
(line 28 ) 构造_建设 (第28行)

这将创建页面

  • public 访问:公众
__construct ([ string $templateFileName = null ], [ string $configFileName = null ]) RocksPage _构造 ([ 字符串 $ templateFileName = NULL],[ 字符串 $ configFileName = NULL)
  • $templateFileName : this is the name of the template file 字符串 $ templateFileName:这是模板文件的名称
  • $configFileName : this is the configFileName if this is null then the default is used 字符串 $ configFileName:这是configFileName,如果这是空的,则默认使用
(line 34 ) 析构__自毁 (34行)
__destruct () 函数void __ destruct()
(line 96 ) AssignTemplateVariable(96行)

这使得从这个类继承来的模板添加一个变量

  • protected 访问:保护
AssignTemplateVariable ( string $varName , string $varValue , [ string $defaultValue = null ]) 无效 AssignTemplateVariable( 字符串 $ varName的 字符串 $ varValue,[ 字符串 美元的DefaultValue = NULL)
  • $varName : the name of the variable to add 字符串 $ varName的 变量的名称,添加
  • $varValue : the value of the variable to add 字符串 $ varValue:添加变量的值
  • $defaultValue : the default value of the variable to add, it is null be default 字符串 美元的 DefaultValue:添加的变量的默认值,它是空的是默认
(line 52 ) 数据库 (第52行)

这使得从这个类继承来访问数据库对象

  • protected 访问:保护
Database () 无效的 数据库 (1)
(line 69 ) 表格 (69线)

这使得从这个类继承访问页面的形式

  • protected 访问:保护
Form () 无效的 表格 (1)
(line 81 ) 会议 (81线)

这使得从这个类继承访问会话

  • protected 访问:保护
Session () 无效 会议 (1)

已提供任何意见。
安全形象

书面由多米尼克·斯金纳
最后更新:2011年10月25日十六点00分38秒