[ Index ]

PHP Cross Reference of Xoops v2.3.1

[Global whois Lookup]    [Ranchi, Jharkhand, India website]     [Hindi Magazine]     [Desi Community website in tristate area]    [B 4 Bollywood]    [Internet nation of India]

title

Body

[close]

/kernel/ -> image.php (summary)

(no description)

File Size: 281 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

XoopsImage:: (1 method):
  XoopsImage()

XoopsImageHandler:: (7 methods):
  create()
  get()
  insert()
  delete()
  getObjects()
  getCount()
  getList()


Class: XoopsImage  - X-Ref

An Image

XoopsImage()   X-Ref
Constructor


Class: XoopsImageHandler  - X-Ref

XOOPS image handler class.

This class is responsible for providing data access mechanisms to the data source
of XOOPS image class objects.

create($isNew = true)   X-Ref
Create a new {@link XoopsImage}

param: boolean $isNew  Flag the object as "new"
return: object

get($id, $getbinary=true)   X-Ref
Load a {@link XoopsImage} object from the database

param: int     $id     ID
param: boolean $getbinary
return: object  {@link XoopsImage}, FALSE on fail

insert(&$image)   X-Ref
Write a {@link XoopsImage} object to the database

param: object  &$image {@link XoopsImage}
return: bool

delete(&$image)   X-Ref
Delete an image from the database

param: object  &$image {@link XoopsImage}
return: bool

getObjects($criteria = null, $id_as_key = false, $getbinary = false)   X-Ref
Load {@link XoopsImage}s from the database

param: object  $criteria   {@link CriteriaElement}
param: boolean $id_as_key  Use the ID as key into the array
param: boolean $getbinary
return: array   Array of {@link XoopsImage} objects

getCount($criteria = null)   X-Ref
Count some images

param: object  $criteria   {@link CriteriaElement}
return: int

getList($imgcat_id, $image_display = null)   X-Ref
Get a list of images

param: int     $imgcat_id
param: bool    $image_display
return: array   Array of {@link XoopsImage} objects



[ Xoops]     [PhpNuke]     [PostNuke]     [Joomla]    [Drupal]    [E107]    [NucleusCms]
[Php-Fusion]     [PhpBB]     [WordPress]     [Typo3]
Generated: Mon Oct 27 11:51:45 2008
Open Source related documentation for developers.