]> git.llucax.com Git - software/bife/bife-all.git/blobdiff - src/BIFE/Album.php
* Added __construc() method for PHP5 forward compatibility.
[software/bife/bife-all.git] / src / BIFE / Album.php
index 3b19ad44c2e34d37f7bee24467877f0b07298eae..07fb437c64509fd5b6f2ac7dd3ca1382d8bf8974 100644 (file)
@@ -59,6 +59,21 @@ class BIFE_Album extends BIFE_Widget {
      * @access public
      */
     function BIFE_Album($attrs) // ~X2C
+    {
+        $this->__construct($attrs);
+    }
+    // -X2C
+
+    // +X2C Operation 57
+    /**
+     * Constructor.
+     *
+     * @param  array $attrs Attributes.
+     *
+     * @return void
+     * @access public
+     */
+    function __construct($attrs) // ~X2C
     {
         $defaults = array(
             'DIR'           => '.',
@@ -80,7 +95,7 @@ class BIFE_Album extends BIFE_Widget {
      *
      * @param  HTML_Template_Sigma &$template Template to use to render the widget.
      *
-     * @return void
+     * @return string
      * @access public
      */
     function render(&$template) // ~X2C