I thought I knew all about PHP until I found this website! 我想我知道,直到我發現這個網站的所有關於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秒