Class P4A_Dir_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

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

P4A_Object
   |
   --P4A_Data_Source
      |
      --P4A_Dir_Source
Variable Summary
Method Summary
 P4A_Dir_Source P4A_Dir_Source ( $name)
 void enableCache ([ $cache_enabled = TRUE])
 void getAll ()
 void getDir ()
 void listingSubDirs ([ $listing_subdirs = TRUE])
 void load ([ $dir = NULL])
 void reload ()
 void scanSubDirs ([ $scan_subdirs = TRUE])
 void setDir ( $dir)
 void _scanDir ( $dir,  &$files)
Variables
Methods
Constructor P4A_Dir_Source (line 49)
P4A_Dir_Source P4A_Dir_Source ( $name)
  • $name
enableCache (line 98)
void enableCache ([ $cache_enabled = TRUE])
  • $cache_enabled
getAll (line 106)
void getAll ()

Redefinition of:
P4A_Data_Source::getAll()
getDir (line 83)
void getDir ()
listingSubDirs (line 93)
void listingSubDirs ([ $listing_subdirs = TRUE])
  • $listing_subdirs
load (line 57)
void load ([ $dir = NULL])
  • $dir

Redefinition of:
P4A_Data_Source::load()
reload (line 73)
void reload ()
scanSubDirs (line 88)
void scanSubDirs ([ $scan_subdirs = TRUE])
  • $scan_subdirs
setDir (line 78)
void setDir ( $dir)
  • $dir
_scanDir (line 116)
void _scanDir ( $dir,  &$files)
  • $dir
  • &$files

Inherited Methods

Inherited From P4A_Data_Source

 P4A_Data_Source::P4A_Data_Source()
 P4A_Data_Source::addOrder()
 P4A_Data_Source::deleteRow()
 P4A_Data_Source::dropOrder()
 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::getOrder()
 P4A_Data_Source::getPageLimit()
 P4A_Data_Source::getPk()
 P4A_Data_Source::getPkRow()
 P4A_Data_Source::getPkValues()
 P4A_Data_Source::getRowNumber()
 P4A_Data_Source::hasOrder()
 P4A_Data_Source::isNew()
 P4A_Data_Source::isSortable()
 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::setOrder()
 P4A_Data_Source::setPageLimit()
 P4A_Data_Source::setPk()
 P4A_Data_Source::updateRowPosition()

Inherited From P4A_Object

 P4A_Object::actionHandler()
 P4A_Object::build()
 P4A_Object::destroy()
 P4A_Object::dropIntercept()
 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()
 P4A_Object::_loadHelper()
 P4A_Object::__call()

Documentation generated on Mon, 07 Jan 2008 11:29:17 +0100 by phpDocumentor 1.4.0