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

Class: GALView

Source Location: /gallue/view.inc.php

Class Overview

GALSkeleton
   |
   --GALGallerybase
      |
      --GALView

A web based user interface for libgallue.


Methods


Inherited Variables

Inherited Methods

Class: GALGallerybase

GALGallerybase::__construct()
Initializes the page.
GALGallerybase::execute()
Execute the script's actions.
GALGallerybase::getGlobals()
GALGallerybase::handleImport()

Class: GALSkeleton

GALSkeleton::__construct()
Initializes this page.
GALSkeleton::error()
Append an error message to the topbanner element.
GALSkeleton::err_handler()
Callback for PHP error handling.
GALSkeleton::message()
Append a message to the topbanner element.
GALSkeleton::nocache()
Forbids caching.
GALSkeleton::serialize()
Write the contents of this page to stdout.
GALSkeleton::setPrivate()
Marks the page as private
GALSkeleton::shorten()
Shortens the given string to the given length.
GALSkeleton::__get()
Magic method to access the protected page elements like public PHP properties.

Class Details

[line 30]
A web based user interface for libgallue.

This class actually builds and puts together the XHTML code for the user interface.




[ Top ]


Class Methods


method build [line 41]

void build( )

Builds the page.

It adds a bit of CSS, selects the frontend (from the "select" GET parameter) and calls the frontend's methods, builds menus.




[ Top ]

method displaySearch [line 642]

void displaySearch( $node)



Parameters:

DOMNode   $node  

[ Top ]

method displaySelection [line 552]

void displaySelection( $node)



Parameters:

DOMNode   $node  

[ Top ]

method displaySettings [line 584]

void displaySettings( $node)



Parameters:

DOMNode   $node  

[ Top ]

method displayTrash [line 498]

void displayTrash( $node)



Parameters:

DOMNode   $node  

[ Top ]

method importForm [line 284]

DOMElement importForm( $node)

Dispalys a form to import packages.



Tags:

return:  The <form> tag.


Parameters:

DOMNode   $node   The node the form is appended to.

[ Top ]

method languageMenu [line 402]

DOMElement languageMenu( $node)

Dispalys a form to switch the current language.

This method reads all available languages from the config file (section "lang") and displays them as drop-down list.




Tags:

return:  The <form> tag.


Parameters:

DOMNode   $node   The node the form is appended to.

[ Top ]

method leftMenu [line 444]

DOMElement leftMenu( $node)

Displays a menu to select what is displayed.

This method builds a plain list of all available entries. Currently, this menu has just one entry, Help.




Tags:

return:  The <ul> tag.


Parameters:

DOMNode   $node   The node the output is appended to.

[ Top ]

method loginForm [line 168]

DOMElement loginForm( $node)

Displays a login form.

This method appends a login form to the given DOMNode.




Tags:

return:  The <form>-tag.


Parameters:

DOMNode   $node  

[ Top ]

method newMenu [line 319]

DOMElement newMenu( $node)

Creates a menu to select an item to create.

This method displays a menu with links to the create forms of all elements the current user is allowed to create. If the current user isn't allowed to create anything, the menu isn't displayed. The menu is a plain list: New<ul><li><a href="...">text</a></li><li>...</li></ul>




Tags:

return:  The <ul> tag or FALSE if the menu isn't displayed.


Parameters:

DOMNode   $node   The node the menu is appended to.

[ Top ]

method searchForm [line 262]

DOMElement searchForm( $node)

Dispalys a search form.



Tags:

return:  The <form> tag.


Parameters:

DOMNode   $node   The node the form is appended to.

[ Top ]

method setRobotMeta [line 694]

void setRobotMeta( )



[ Top ]

method sizeMenu [line 356]

DOMElement sizeMenu( $node)

Creates a menu to select the size optimisation.

This method displays a menu with links to adjust the size. The menu is a plain list: Size<ul><li><a href="...">text</a></li><li>...</li></ul>




Tags:

return:  The <ul> tag or FALSE if the menu isn't displayed.


Parameters:

DOMNode   $node   The node the menu is appended to.

[ Top ]

method styleSwitcher [line 612]

void styleSwitcher( $node)



Parameters:

DOMNode   $node  

[ Top ]

method userForm [line 205]

DOMElement userForm( $node)

Displays a form to select the current user.

This method appends a form to the given DOMNode.




Tags:

return:  The <form>-tag.


Parameters:

DOMNode   $node  

[ Top ]


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