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

Class: MySQLTable

Source Location: /Widgets/MySQL/MySQLTable.php

Class Overview

PEAR
   |
   --BifWidget
      |
      --MySQLTable

A simple table based on SQL query.


Author(s):

Version:

  • $Revision: 1.11 $

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 25]
A simple table based on SQL query.

It can use either a parameter QUERY or set a result using setResult($result) method.




Tags:

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


[ Top ]


Class Variables

$render =

[line 34]


Type:   mixed


[ Top ]

$result =

[line 29]


Type:   mixed


[ Top ]



Class Methods


constructor MySQLTable [line 45]

MySQLTable MySQLTable( [$attrs $attrs = array()], string 1, string 2, string 3, string 4, string 5)

{{{ function Constructor



Parameters:

string   1   QUERY MySQL query to show
string   2   EMPTY a string to be used in case is an empty result. (else is 'Ningún resultado' is used)
string   3   HIDDEN coma separated values of hidden rows
string   4   NOHEADER if has any value, supress automatic header
string   5   RENDER a render class name
$attrs   $attrs   Instance's attributes specified as a hash with the following keys: (in CAPS!)

[ Top ]

method addRender [line 124]

void addRender( mixed $class)



[ Top ]

method innerDraw [line 53]

void innerDraw( )



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

[ Top ]

method setResult [line 49]

void setResult( mixed &$result)



[ Top ]


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