phpDocumentor gallery
[ class tree: gallery ] [ index: gallery ] [ all elements ]

Class: gallery

Source Location: /lib/gallery.inc.php

Class gallery

Class Overview

Located in /lib/gallery.inc.php [line 11]

ipbwi
   |
   --gallery
Author(s):
  • Matthias Reuter ($LastChangedBy: matthias $)
Information Tags:
Version:  $LastChangedDate: 2009-01-18 03:52:31 +0000 (So, 18 Jan 2009) $
Copyright:  2007-2008 IPBWI development team
Link:  http://ipbwi.com/examples/topic.php
Since:  2.0
License:  GNU General Public License

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From ipbwi

ipbwi::$DB
ipbwi::$ips

Inherited From ipbwi

ipbwi::addSystemMessage()
adds a system message
ipbwi::date()
Returns textual/timestamp offsetted date by board and by member offset and DST setting.
ipbwi::getBoardVar()
gets the requested board-var
ipbwi::getLibLang()
gets the language-var from actual requested native language-bit
ipbwi::info()
informations about the current IPBWI and PHP installation
ipbwi::makeSafe()
filtering html-strings, e.g. for db-queries
ipbwi::printSystemMessages()
prints system messages
ipbwi::properXHTML()
filtering HTML strings
ipbwi::setLang()
Set's current SDK language
ipbwi::updateSession()
Update Member Session Informations

Inherited From ipbwi

ipbwi::DEV_TEAM
ipbwi::PROJECT_LEADER
ipbwi::TITLE
ipbwi::VERSION
ipbwi::WEBSITE

[ Top ]
Property Summary
mixed   $installed  
mixed   $url  

[ Top ]
Method Summary
array   catList()   List categories.
mixed   getAllSubs()   Returns all subcategories of the delivered cats.
array   getLatestList()   lists latest images from IP.gallery.
array   getViewable()   Returns categories readable by the current member.
void   info()  

[ Top ]
Properties
mixed   $installed = false [line 13]
API Tags:
Access:  public


[ Top ]
mixed   $url = false [line 14]
API Tags:
Access:  public


[ Top ]
Methods
catList  [line 216]

  array catList( )

List categories.


API Tags:
Return:  Gallery's Categories
Access:  public

Information Tags:
Author:  Matthias Reuter
Since:  2.0
Sample:  
  1.  $ipbwi->forum->catList();

[ Top ]
getAllSubs  [line 129]

  mixed getAllSubs( $cats, [string $outputType = 'array'], [string $indentString = '—'], [ $indent = false], [ $selectedID = false], mixed $forums  )

Returns all subcategories of the delivered cats.

Parameters:
mixed   $forums:  category IDs as int or array
string   $outputType:  The following output types are supported:
'html_form' to get a list of <option>-tags
'array' (default) for an array-list
'array_ids_only' for an array-list with forum IDs only
'name_id_with_indent' for an array list of names with indent according to the forum structure
string   $indentString:  The string for indent, default is '-'
   $cats: 
   $indent: 
   $selectedID: 

API Tags:
Return:  List of all subcategories
Access:  public

Information Tags:
Author:  Matthias Reuter
Since:  2.0
Sample:  
  1.  $ipbwi->gallery->getAllSubs(array(55,22,77),'html_form');

[ Top ]
getLatestList  [line 68]

  array getLatestList( [ $catIDs = false], [ $settings = array()]  )

lists latest images from IP.gallery.

Parameters:
   $catIDs: 
   $settings: 

API Tags:
Return:  Image-Informations as multidimensional array
Access:  public

Information Tags:
Author:  Matthias Reuter
Since:  2.02

[ Top ]
getViewable  [line 47]

  array getViewable( )

Returns categories readable by the current member.


API Tags:
Return:  Readable category IDs
Access:  public

Information Tags:
Author:  Cow <khlo@global-centre.com>
Author:  Matthias Reuter
Author:  Pita <peter@randomnity.com>
Since:  2.0
Sample:  
  1.  $ipbwi->gallery->getReadable();

[ Top ]
info  [line 237]

  void info( $imgID  )

Parameters:
   $imgID: 

API Tags:
Access:  public


Redefinition of:
ipbwi::info()
informations about the current IPBWI and PHP installation

[ Top ]

Documentation generated on Mon, 02 Mar 2009 23:50:38 +0100 by phpDocumentor 1.4.0