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

Class: GALUser_multiFrontend

Source Location: /gallue/GALUser_frontend.inc.php

Class Overview

GALItem_multiFrontend
   |
   --GALUser_multiFrontend



Methods


Inherited Variables

Inherited Methods


Class Details

[line 915]


[ Top ]


Class Methods


method defaultDetailsFields [line 935]

void defaultDetailsFields( )



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

[ Top ]

method defaultMultieditFields [line 942]

void defaultMultieditFields( $width)



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

Parameters:

   $width  

[ Top ]

method defaultTableFields [line 928]

void defaultTableFields( int $instanceID)

Load the instances of the given users 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 users :-). It doesn't return the instances because in most cases GALUser::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.




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

Parameters:

int   $instanceID  

[ Top ]

method show_list [line 1017]

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

Shows multiple items as list.

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




Tags:

return:  The <samp> <ul> </samp> tag.


Overrides GALItem_multiFrontend::show_list() (Shows multiple items as list.)

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_multiedit [line 968]

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 singleFrontend [line 955]

void singleFrontend( [ $item = false])



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

Parameters:

   $item  

[ Top ]


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