SourceForge.net LogoPHPGallue
[ class tree: gallue ] [ index: gallue ] [ all elements ]

Class: GALImage_multiFrontend

Source Location: /gallue/GALImage_frontend.inc.php

Class Overview

GALItem_multiFrontend
   |
   --GALImage_multiFrontend



Methods


Inherited Variables

Inherited Methods


Class Details

[line 1525]


[ Top ]


Class Methods


method defaultDetailsFields [line 1547]

void defaultDetailsFields( )



Overrides GALItem_multiFrontend::defaultDetailsFields() (parent method not documented)

[ Top ]

method defaultMultieditFields [line 1550]

void defaultMultieditFields( $width)



Overrides GALItem_multiFrontend::defaultMultieditFields() (parent method not documented)

Parameters:

   $width  

[ Top ]

method defaultTableFields [line 1544]

void defaultTableFields( )



Overrides GALItem_multiFrontend::defaultTableFields() (parent method not documented)

[ Top ]

method multieditTable [line 1635]

void multieditTable( $startOffset, $node, [ $fields = array()], [ $preset = array()])



Overrides GALItem_multiFrontend::multieditTable() (parent method not documented)

Parameters:

   $startOffset  
DOMNode   $node  
   $fields  
   $preset  

[ Top ]

method preloadInstances [line 1538]

void preloadInstances( int $instanceID)

Load the instances of the given images at once.

This is some hacking to reduce database load: The necessary instances are loaded at once and cached by GALInstances while fetching them. On my system, this saves 0.4 seconds when displaying 300 images :-). It doesn't return the instances because in most cases GALImage::instance() is used to access instances. This adds only little overhead, because already fetched and constructed rows are cached, so that a call of GALTable::row() returns the requested row without database query or constructor call.




Parameters:

int   $instanceID  

[ Top ]

method show_gallery [line 1602]

DOMElement show_gallery( int $startOffset, array $preset, $node)

Shows multiple images as gallery.

This method appends xhtml markup to the given DOMNode that displays the items in the gallery layout.




Tags:

return:  The <ul> tag.


Overrides GALItem_multiFrontend::show_gallery() (Shows multiple items as gallery.)

Parameters:

int   $startOffset   The offset of the first element in the current selection.
array   $preset   The GET parameters that are set for every generated link. The only parameter that is set automatically is the coffset and the layout parameter.
DOMNode   $node   The parent node which the output is appended to.

[ Top ]

method show_multiedit [line 1648]

DOMElement show_multiedit( int $startOffset, array $linkPreset, $node)

Displays a form to edit multiple elements at once.

This method appends xhtml markup to the given DOMNode that displays the items in the multiedit layout.




Tags:

return:  The <form> tag.


Overrides GALItem_multiFrontend::show_multiedit() (Displays a form to edit multiple elements at once.)

Parameters:

int   $startOffset   The offset of the first element in the current selection.
array   $linkPreset   The GET parameters that are set for every generated link. The only parameter that is set automatically is the coffset and the layout parameter
DOMNode   $node   The parent node which the output is appended to.

[ Top ]

method show_table [line 1631]

void show_table( $startOffset, $linkPreset, $node, [ $fields = array()])



Overrides GALItem_multiFrontend::show_table() (Shows multiple items as table.)

Parameters:

   $startOffset  
   $linkPreset  
DOMNode   $node  
   $fields  

[ Top ]

method show_thumbs [line 1565]

DOMElement show_thumbs( int $startOffset, array $preset, $node)

Shows multiple images as thumbnails.

This method appends xhtml markup to the given DOMNode that displays the items in the thumbnail layout.




Tags:

return:  The <ul> tag.


Overrides GALItem_multiFrontend::show_thumbs() (Shows multiple items as thumbnails This method appends xhtml markup to the given DOMNode that displays the items in the thumbnail layout.)

Parameters:

int   $startOffset   The offset of the first element in the current selection.
array   $preset   The GET parameters that are set for every generated link. The only parameter that is set automatically is the coffset and the layout parameter.
DOMNode   $node   The parent node which the output is appended to.

[ Top ]

method singleFrontend [line 1553]

void singleFrontend( [ $item = false])



Overrides GALItem_multiFrontend::singleFrontend() (parent method not documented)

Parameters:

   $item  

[ Top ]


Documentation generated on Wed, 16 Aug 2006 15:35:55 +0200 by phpDocumentor 1.3.0RC6