وهذا يخلق في الصفحة
__construct ([ string $templateFileName = null ], [ string $configFileName = null ]) RocksPage __ التصور ([سلسلة templateFileName $ = فارغة]، [سلسلة configFileName $ = فارغة])
- $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 إذا كان هذا هو باطل ثم يتم استخدام الافتراضي
__destruct () باطل التدمير __ ()
وهذا يسمح وراثة فئة من هذا إلى إضافة متغير إلى القالب
AssignTemplateVariable ( string $varName , string $varValue , [ string $defaultValue = null ]) AssignTemplateVariable باطلة (سلسلة $ varName، سلسلة $ varValue، [سلسلة $ الافتراضية = فارغة])
- $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 سلسلة $ الافتراضية: القيمة الافتراضية للمتغير لإضافة، فإنه يكون لاغيا الافتراضي
وهذا يسمح وراثة فئة من هذا في الحصول على كائن قاعدة البيانات
Database () قاعدة البيانات باطل ()
وهذا يسمح وراثة فئة من هذا في الحصول على شكل صفحات
Form () نموذج باطل ()
وهذا يسمح وراثة فئة من هذا في الحصول على الدورة
Session () الدورة باطل ()