BIF3
[ class tree: BIF3 ] [ index: BIF3 ] [ all elements ]

Class: FromDotBif

Source Location: /Widgets/Content/FromDotBif.php

Class Overview

PEAR
   |
   --BifWidget
      |
      --FromDotBif

Content of the widget is the result of rendering .bif file


Author(s):

Version:

  • $Revision: 1.11 $

Methods


Inherited Variables

Inherited Methods


Class Details

[line 36]
Content of the widget is the result of rendering .bif file

This is an Abstract class (should make an 'extends FromDotBif' to use it).
Example

class MyClass extends FromDotBif 
{
  function MyClass($attrs = array()) {
    $this->FromDotBif($attrs);
  }
}
by default will display Contenido/miclass.bif.
With FILENAME and DIRS can chage the default filename to display.
NOTE: If there are several dirs (attribute DIRS) will check where file exists.




Tags:

version:  $Revision: 1.11 $
author:  Nicolas Cesar <ncesar@lunix.com.ar>


[ Top ]


Class Methods


constructor FromDotBif [line 43]

FromDotBif FromDotBif( [$attrs $attrs = array()], string 1, string 2)

{{{ function Constructor



Parameters:

string   1   FILENAME A .bif file to render (Default: <WidgetName>.bif)
string   2   DIRS Coma separated values of dirs, where to look for FILENAME(Default: '$app_dir/Contenido').
$attrs   $attrs   Instance's attributes specified as a hash with the following keys: (in CAPS!)

[ Top ]

method draw [line 47]

void draw( )



Overrides BifWidget::draw() (parent method not documented)

[ Top ]


Documentation generated on Wed, 10 Nov 2004 19:41:41 -0300 by phpDocumentor 1.2.3