## P4A_Array_Source

Description

P4A - PHP For Applications.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

To contact the authors write to:
CreaLabs
Via Medail, 32
10144 Torino (Italy)
Web: http://www.crealabs.it
E-mail: info@crealabs.it

The latest version of p4a can be obtained from: http://p4a.sourceforge.net

- author: Andrea Giardina <andrea.giardina@crealabs.it>
- author: Fabrizio Balliano <fabrizio.balliano@crealabs.it>
- license: GNU General Public License
- copyright: CreaLabs
- link: http://www.crealabs.it
- link: mailto:info@crealabs.it info@crealabs.it
- link: http://p4a.sourceforge.net

Located in /p4a/objects/data_sources/array_source.php (line 39)

    P4A_Object
       |
       --P4A_Data_Source
          |
          --P4A_Array_Source

Variable Summary
mixed $fields
mixed $_array
Method Summary
P4A_Array_Source P4A_Array_Source (mixed $name)
void deleteRow ()
void getAll (mixed $from, mixed $count)
void getNumRows ()
void getPkRow (mixed $pk)
void load (mixed $array)
void row ([mixed $num_row = NULL], [mixed $move_pointer = TRUE])
Variables
mixed $fields = null (line 42)

Redefinition of:

P4A_Data_Source::$fields

mixed $_array = array() (line 41)

#### Inherited Variables

Inherited from P4A_Data_Source

> P4A_Data_Source::$_fields
> P4A_Data_Source::$_is_read_only
> P4A_Data_Source::$_is_sortable
> P4A_Data_Source::$_limit
> P4A_Data_Source::$_num_pages
> P4A_Data_Source::$_num_rows
> P4A_Data_Source::$_offset
> P4A_Data_Source::$_page_limit
> P4A_Data_Source::$_pk
> P4A_Data_Source::$_pointer

Inherited from P4A_Object

> P4A_Object::$_id
> P4A_Object::$_map_actions
> P4A_Object::$_name
> P4A_Object::$_objects
> P4A_Object::$_parent_id

Methods
Constructor P4A_Array_Source (line 44)
P4A_Array_Source P4A_Array_Source (mixed $name)
deleteRow (line 134)
void deleteRow ()

Redefinition of:

P4A_Data_Source::deleteRow()

getAll (line 102)
void getAll (mixed $from, mixed $count)

Redefinition of:

P4A_Data_Source::getAll()

getNumRows (line 119)
void getNumRows ()

Redefinition of:

P4A_Data_Source::getNumRows()

getPkRow (line 124)
void getPkRow (mixed $pk)

Redefinition of:

P4A_Data_Source::getPkRow()

load (line 48)
void load (mixed $array)

Redefinition of:

P4A_Data_Source::load()

row (line 70)
void row ([mixed $num_row = NULL], [mixed $move_pointer = TRUE])

Redefinition of:

P4A_Data_Source::row()

#### Inherited Methods

Inherited From P4A_Data_Source

> P4A_Data_Source::P4A_Data_Source()
> P4A_Data_Source::deleteRow()
> P4A_Data_Source::exportAsCSV()
> P4A_Data_Source::exportToCSV()
> P4A_Data_Source::firstPage()
> P4A_Data_Source::firstRow()
> P4A_Data_Source::getAll()
> P4A_Data_Source::getAsCSV()
> P4A_Data_Source::getNumPage()
> P4A_Data_Source::getNumPages()
> P4A_Data_Source::getNumRows()
> P4A_Data_Source::getOffset()
> P4A_Data_Source::getPageLimit()
> P4A_Data_Source::getPk()
> P4A_Data_Source::getPkRow()
> P4A_Data_Source::getPkValues()
> P4A_Data_Source::getRowNumber()
> P4A_Data_Source::isNew()
> P4A_Data_Source::lastPage()
> P4A_Data_Source::lastRow()
> P4A_Data_Source::load()
> P4A_Data_Source::newRow()
> P4A_Data_Source::nextPage()
> P4A_Data_Source::nextRow()
> P4A_Data_Source::page()
> P4A_Data_Source::prevPage()
> P4A_Data_Source::prevRow()
> P4A_Data_Source::row()
> P4A_Data_Source::setPageLimit()
> P4A_Data_Source::setPk()

Inherited From P4A_Object

> P4A_Object::actionHandler()
> P4A_Object::build()
> P4A_Object::destroy()
> P4A_Object::errorHandler()
> P4A_Object::getId()
> P4A_Object::getName()
> P4A_Object::getObjectType()
> P4A_Object::getParentID()
> P4A_Object::implementMethod()
> P4A_Object::intercept()
> P4A_Object::isActionTriggered()
> P4A_Object::p4a_object()
> P4A_Object::setName()
> P4A_Object::setParentID()
> P4A_Object::void()

Documentation generated on Fri, 26 May 2006 12:43:01 +0200 by phpDocumentor 1.3.0RC5