- Added 'provides' to package.xml.
- Setted svn:ignore to api directories.
- Updated HIT documentation.
/**
* Album pager to an easier navigation when viewing photos.
*
+ * @package BIFE_Album
* @access public
*/
class BIFE_Album_Pager extends BIFE_Widget {
/**
* Photo widget.
*
+ * @package BIFE_Album
* @access public
*/
class BIFE_Album_Photo extends BIFE_Widget {
/**
* Photo album widget. [TODO: Make a better explanation]
*
+ * @package BIFE_Album
* @access public
*/
class BIFE_Album_Thumbs extends BIFE_Widget {
} // -X2C Class :Thumbs
-?>
+?>
\ No newline at end of file
<date>2003-06-29</date>
<state>alpha</state>
<notes>Check http://www.llucax.hn.org/desarrollo/bife/ for details.</notes>
+ <provides type="class" name="BIFE_Album_Thumbs"/>
+ <provides type="class" name="BIFE_Album_Photo"/>
+ <provides type="class" name="BIFE_Album_Pager"/>
<filelist>
<!-- PHP -->
<file role="php">BIFE/Album/Thumbs.php</file>
/**
* Base container widget class.
*
+ * @package BIFE
* @access public
* @abstract
*/
/**
* Fallback widget to use when no specific widget is implemented.
*
+ * @package BIFE
* @access public
* @abstract
*/
/**
* Link to another page.
*
+ * @package BIFE
* @access public
*/
class BIFE_Link extends BIFE_Container {
/**
* This is the XML Parser.
*
+ * @package BIFE
* @access public
*/
class BIFE_Parser {
/**
* This is a generic and simple (but very usefull) BIFE_Fallback implementation. Translate widgets using a template with it's name, prepended with 'bife_'. If not template is found, it copy the XML to the output.
*
+ * @package BIFE
* @access public
*/
class BIFE_Translate extends BIFE_Fallback {
} // -X2C Class :Translate
-?>
+?>
\ No newline at end of file
/**
* Base widget class.
*
+ * @package BIFE
* @access public
* @abstract
*/
<date>2003-06-29</date>
<state>alpha</state>
<notes>Check http://www.llucax.hn.org/desarrollo/bife/ for details.</notes>
+ <provides type="class" name="BIFE_Parser"/>
+ <provides type="class" name="BIFE_Widget"/>
+ <provides type="class" name="BIFE_Container"/>
+ <provides type="class" name="BIFE_Fallback"/>
+ <provides type="class" name="BIFE_Link"/>
+ <provides type="class" name="BIFE_Translate"/>
<filelist>
<!-- PHP -->
<file role="php">BIFE/Parser.php</file>
// +X2C Class 130 :HIT
/**
- * Hooks vs. IT (HIT) is a simple template implementation, based on hooks and IT template systems.
+ * Hooks vs IT Template Engine.
+Hooks vs IT (HIT) is a simple template implementation, based on hooks and IT template systems.
*
+ * @package HTML_Template
* @access public
*/
class HTML_Template_HIT {
var $cache = array();
/**
+ * Parsed templates buffer.
+ *
* @var array $buffer
* @access protected
*/
// +X2C Operation 144
/**
- * Parse a template buffering the results.
+ * Parse a template adding the results to the buffer.
Parse a template appending the results to an internal buffer. If $vars is an array, the {[keys]} are replaced with [values] ($val is ignored). If is a string, {$vars} is replaced with $val.
*
* @param string $name Name of template to parse.
// +X2C Operation 159
/**
- * True if the template $name exists in $group (or the current group).
+ * Tells if a template exists.
+True if the template $name exists in $group (or the current group).
*
* @param string $name Name of the template.
* @param mixed $group Template's group. If it's null it uses the current group.
<XMI.exporter>umbrello uml modeller http://uml.sf.net</XMI.exporter>
<XMI.exporterVersion>1.1</XMI.exporterVersion>
</XMI.documentation>
- <XMI.model xmi.name="hit" href="/home/luca/bife/hit/hit.xmi" />
+ <XMI.model xmi.name="hit" href="/home/luca/website/www/test/bife/hit/hit.xmi" />
<XMI.metamodel xmi.name="UML" href="UML.xml" xmi.version="1.3" />
</XMI.header>
<XMI.content>
<docsettings viewid="132" documentation="Parse XML data getting widgets." uniqueid="159" />
<umlobjects>
- <UML:Class stereotype="" package="HTML/Template" xmi.id="130" abstract="0" documentation="Hooks vs. IT (HIT) is a simple template implementation, based on hooks and IT template systems." name="HIT" static="0" scope="200" >
+ <UML:Class stereotype="" package="HTML/Template" xmi.id="130" abstract="0" documentation="Hooks vs IT Template Engine.
+
+Hooks vs IT (HIT) is a simple template implementation, based on hooks and IT template systems." name="HIT" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="136" type="void" abstract="0" documentation="Constructor." name="HTML_Template_HIT" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1" value="'.'" type="string" abstract="0" documentation="Root directory where template files are." name="root" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="3" value="false" type="bool" abstract="0" documentation="If it's true, it looks for template files in PHP's include_path." name="useIncludePath" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="3" value="''" type="string" abstract="0" documentation="If $vars is a string, the value to replace for $vars." name="val" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="4" value="null" type="mixed" abstract="0" documentation="Group to use to parse this template. Null to use the current group." name="group" static="0" scope="200" />
</UML:Operation>
- <UML:Operation stereotype="" package="" xmi.id="144" type="void" abstract="0" documentation="Parse a template buffering the results.
+ <UML:Operation stereotype="" package="" xmi.id="144" type="void" abstract="0" documentation="Parse a template adding the results to the buffer.
Parse a template appending the results to an internal buffer. If $vars is an array, the {[keys]} are replaced with [values] ($val is ignored). If is a string, {$vars} is replaced with $val." name="parseBuffered" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1" value="" type="string" abstract="0" documentation="Name of template to parse." name="name" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="1" value="''" type="string" abstract="0" documentation="Group to use." name="group" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="140" type="string" abstract="0" documentation="Removes the group from the groups stack and returns to the previous used group." name="popGroup" static="0" scope="200" />
- <UML:Operation stereotype="" package="" xmi.id="159" type="bool" abstract="0" documentation="True if the template $name exists in $group (or the current group)." name="exists" static="0" scope="200" >
+ <UML:Operation stereotype="" package="" xmi.id="159" type="bool" abstract="0" documentation="Tells if a template exists.
+
+True if the template $name exists in $group (or the current group)." name="exists" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1" value="" type="string" abstract="0" documentation="Name of the template." name="name" static="0" scope="200" />
<UML:Parameter stereotype="" package="" xmi.id="2" value="null" type="mixed" abstract="0" documentation="Template's group. If it's null it uses the current group." name="group" static="0" scope="200" />
</UML:Operation>
<UML:Attribute stereotype="" package="" xmi.id="158" value="false" type="bool" abstract="0" documentation="If it's true, it looks for template files in PHP's include_path." name="useIncludePath" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="134" value="''" type="string" abstract="0" documentation="Group of templates to use (a subdirectory in root)." name="group" static="0" scope="202" />
<UML:Attribute stereotype="" package="" xmi.id="135" value="array()" type="array" abstract="0" documentation="Templates cache." name="cache" static="0" scope="202" />
- <UML:Attribute stereotype="" package="" xmi.id="147" value="array()" type="array" abstract="0" documentation="" name="buffer" static="0" scope="202" />
+ <UML:Attribute stereotype="" package="" xmi.id="147" value="array()" type="array" abstract="0" documentation="Parsed templates buffer." name="buffer" static="0" scope="202" />
</UML:Class>
</umlobjects>
<diagrams>
<date>2003-06-30</date>
<state>beta</state>
<notes>Check http://www.llucax.hn.org/desarrollo/bife/ for details.</notes>
+ <provides type="class" name="HTML_Template_HIT"/>
<filelist>
<!-- PHP -->
<file role="php">HTML/Template/HIT.php</file>
/**
* Dynamic Menu.
*
+ * @package BIFE_Menu
* @access public
*/
class BIFE_Menu_Menu extends BIFE_Widget {
<date>2003-06-29</date>
<state>alpha</state>
<notes>Check http://www.llucax.hn.org/desarrollo/bife/ for details.</notes>
+ <provides type="class" name="BIFE_Menu_Menu"/>
<filelist>
<!-- PHP -->
<file role="php">BIFE/Menu/Menu.php</file>