From a2d80cd8ec0404c0ee71d371fbdb019f79f36eba Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 2 Jul 2003 05:44:34 +0000 Subject: [PATCH] - Added @package to classes. - Added 'provides' to package.xml. - Setted svn:ignore to api directories. - Updated HIT documentation. --- album/BIFE/Album/Pager.php | 1 + album/BIFE/Album/Photo.php | 1 + album/BIFE/Album/Thumbs.php | 3 ++- album/package.xml | 3 +++ bife/BIFE/Container.php | 1 + bife/BIFE/Fallback.php | 1 + bife/BIFE/Link.php | 1 + bife/BIFE/Parser.php | 1 + bife/BIFE/Translate.php | 3 ++- bife/BIFE/Widget.php | 1 + bife/package.xml | 6 ++++++ hit/HTML/Template/HIT.php | 11 ++++++++--- hit/hit.xmi | 14 +++++++++----- hit/package.xml | 1 + menu/BIFE/Menu/Menu.php | 1 + menu/package.xml | 1 + 16 files changed, 40 insertions(+), 10 deletions(-) diff --git a/album/BIFE/Album/Pager.php b/album/BIFE/Album/Pager.php index 7a37116..70e4daa 100644 --- a/album/BIFE/Album/Pager.php +++ b/album/BIFE/Album/Pager.php @@ -34,6 +34,7 @@ require_once 'BIFE/Widget.php'; /** * Album pager to an easier navigation when viewing photos. * + * @package BIFE_Album * @access public */ class BIFE_Album_Pager extends BIFE_Widget { diff --git a/album/BIFE/Album/Photo.php b/album/BIFE/Album/Photo.php index c99ef29..d5e9bd8 100644 --- a/album/BIFE/Album/Photo.php +++ b/album/BIFE/Album/Photo.php @@ -34,6 +34,7 @@ require_once 'BIFE/Widget.php'; /** * Photo widget. * + * @package BIFE_Album * @access public */ class BIFE_Album_Photo extends BIFE_Widget { diff --git a/album/BIFE/Album/Thumbs.php b/album/BIFE/Album/Thumbs.php index 50adcd7..293b092 100644 --- a/album/BIFE/Album/Thumbs.php +++ b/album/BIFE/Album/Thumbs.php @@ -37,6 +37,7 @@ require_once 'Image/Transform.php'; /** * Photo album widget. [TODO: Make a better explanation] * + * @package BIFE_Album * @access public */ class BIFE_Album_Thumbs extends BIFE_Widget { @@ -268,4 +269,4 @@ Returns an array of associative arrays with this keys: } // -X2C Class :Thumbs -?> +?> \ No newline at end of file diff --git a/album/package.xml b/album/package.xml index 533efd3..393e030 100644 --- a/album/package.xml +++ b/album/package.xml @@ -20,6 +20,9 @@ 2003-06-29 alpha Check http://www.llucax.hn.org/desarrollo/bife/ for details. + + + BIFE/Album/Thumbs.php diff --git a/bife/BIFE/Container.php b/bife/BIFE/Container.php index 2ddc24d..8585061 100644 --- a/bife/BIFE/Container.php +++ b/bife/BIFE/Container.php @@ -34,6 +34,7 @@ require_once 'BIFE/Widget.php'; /** * Base container widget class. * + * @package BIFE * @access public * @abstract */ diff --git a/bife/BIFE/Fallback.php b/bife/BIFE/Fallback.php index 04a11b1..f4e98b8 100644 --- a/bife/BIFE/Fallback.php +++ b/bife/BIFE/Fallback.php @@ -34,6 +34,7 @@ require_once 'BIFE/Container.php'; /** * Fallback widget to use when no specific widget is implemented. * + * @package BIFE * @access public * @abstract */ diff --git a/bife/BIFE/Link.php b/bife/BIFE/Link.php index c8900d6..8204db0 100644 --- a/bife/BIFE/Link.php +++ b/bife/BIFE/Link.php @@ -34,6 +34,7 @@ require_once 'BIFE/Container.php'; /** * Link to another page. * + * @package BIFE * @access public */ class BIFE_Link extends BIFE_Container { diff --git a/bife/BIFE/Parser.php b/bife/BIFE/Parser.php index 76a5845..ee35bfc 100644 --- a/bife/BIFE/Parser.php +++ b/bife/BIFE/Parser.php @@ -30,6 +30,7 @@ /** * This is the XML Parser. * + * @package BIFE * @access public */ class BIFE_Parser { diff --git a/bife/BIFE/Translate.php b/bife/BIFE/Translate.php index 83cd535..4c1fe05 100644 --- a/bife/BIFE/Translate.php +++ b/bife/BIFE/Translate.php @@ -34,6 +34,7 @@ require_once 'BIFE/Fallback.php'; /** * 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 { @@ -73,4 +74,4 @@ class BIFE_Translate extends BIFE_Fallback { } // -X2C Class :Translate -?> +?> \ No newline at end of file diff --git a/bife/BIFE/Widget.php b/bife/BIFE/Widget.php index 5e0ab11..57860cd 100644 --- a/bife/BIFE/Widget.php +++ b/bife/BIFE/Widget.php @@ -30,6 +30,7 @@ /** * Base widget class. * + * @package BIFE * @access public * @abstract */ diff --git a/bife/package.xml b/bife/package.xml index ecaf738..1f9f3e5 100644 --- a/bife/package.xml +++ b/bife/package.xml @@ -23,6 +23,12 @@ in mind. One of the main goals of BIFE is to be fast. 2003-06-29 alpha Check http://www.llucax.hn.org/desarrollo/bife/ for details. + + + + + + BIFE/Parser.php diff --git a/hit/HTML/Template/HIT.php b/hit/HTML/Template/HIT.php index 59fbf0b..9c03dc5 100644 --- a/hit/HTML/Template/HIT.php +++ b/hit/HTML/Template/HIT.php @@ -28,8 +28,10 @@ // +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 { @@ -66,6 +68,8 @@ class HTML_Template_HIT { var $cache = array(); /** + * Parsed templates buffer. + * * @var array $buffer * @access protected */ @@ -151,7 +155,7 @@ If $vars is an array, the {[keys]} are replaced with [values] ($val is ignored). // +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. @@ -229,7 +233,8 @@ Parse a template appending the results to an internal buffer. If $vars is an arr // +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. diff --git a/hit/hit.xmi b/hit/hit.xmi index 4e84cc7..fce1054 100644 --- a/hit/hit.xmi +++ b/hit/hit.xmi @@ -5,13 +5,15 @@ umbrello uml modeller http://uml.sf.net 1.1 - + - + @@ -30,7 +32,7 @@ If $vars is an array, the {[keys]} are replaced with [values] ($val is ignored). - @@ -47,7 +49,9 @@ Parse a template appending the results to an internal buffer. If $vars is an arr - + @@ -55,7 +59,7 @@ Parse a template appending the results to an internal buffer. If $vars is an arr - + diff --git a/hit/package.xml b/hit/package.xml index bcf9483..d7f18ed 100644 --- a/hit/package.xml +++ b/hit/package.xml @@ -22,6 +22,7 @@ like IT so every chunk must be in a separated file if you want to iterate it. 2003-06-30 beta Check http://www.llucax.hn.org/desarrollo/bife/ for details. + HTML/Template/HIT.php diff --git a/menu/BIFE/Menu/Menu.php b/menu/BIFE/Menu/Menu.php index 09afd9b..c549b42 100644 --- a/menu/BIFE/Menu/Menu.php +++ b/menu/BIFE/Menu/Menu.php @@ -34,6 +34,7 @@ require_once 'BIFE/Widget.php'; /** * Dynamic Menu. * + * @package BIFE_Menu * @access public */ class BIFE_Menu_Menu extends BIFE_Widget { diff --git a/menu/package.xml b/menu/package.xml index c9951ed..42a7dd6 100644 --- a/menu/package.xml +++ b/menu/package.xml @@ -20,6 +20,7 @@ 2003-06-29 alpha Check http://www.llucax.hn.org/desarrollo/bife/ for details. + BIFE/Menu/Menu.php -- 2.43.0