Class: I2CE Page BinaryField: Difference between revisions

From IHRIS Wiki
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
This article describes the class ''I2CE_Page_BinaryField''.
#REDIRECT [[Class: I2CE_Page_BinaryField (4.1.7)]]
*Extends the class: [[Class: I2CE_Page | I2CE_Page]].
*Parent Classses:  [[Class: I2CE_Page | I2CE_Page]] [[Class: I2CE_Fuzzy | I2CE_Fuzzy]]
*Location: Part of the module [[I2CE Module List#BinField|BinField]] in the package [https://launchpad.net/i2ce I2CE]
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/Forms/modules/Binary_Files/lib/I2CE_Page_BinaryField.php modules/Forms/modules/Binary_Files/lib/I2CE_Page_BinaryField.php]
*Author: Carl Leitner <litlfred@ibiblio.org>
*Since: v4.0.0
@filesource Class I2CE_Page_BinaryField
==Methods==
===display()===
Handles GET requests for a binary field The relevant get variables are: <ul><li> cat -- the I2CE_FileSearch category we should be looking for</li> <li> name -- the filename we are looking for</li> </ul> As an alternative (mainly b/c libxml's xmlSetProp (which is used by PHP's DOM) which will automatically escape &)  you can set the variable encoded=ENC_BLAH  where ENC_BLAH is an urlencoded string  with the cat and name variables set e.g urlencode("cat=SCRIPTS&name=somescript.js")
*Signature: public function display()
===initializeTemplate()===
Handles creating hte I2CE_TemplateMeister templates and loading any default templates
*Signature: protected function initializeTemplate()
*Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ]<br/>true on success
 
 
[[Category:Class Documentation]]

Latest revision as of 09:48, 23 August 2013