Skip to main content Help Control Panel

Aubagne HipHop

Tout le Hip Hop d'Aubagne et des alentours

Home «   Server software «  

Documentation: collections/collections.php

Class Collections - The database abstraction layer for collections

Collections are a web interface to files in a file system accessible from the web server.

Each collection is mapped to a different directory.

This script is a reference file of this system.

Voir aussi:

Licence: GNU Lesser General Public License

Auteurs:

get() - Get information for one item

function &get($id)

This function retrieve implementation information, based on virtual path provided.

get_icon_img() - Get the img tag for this item

function get_icon_img($name)

get_url() - Get the url to view a file

function get_url($id, $action='view')

By default, a relative URL will be provided (e.g. 'collections/view.php?id=512'), which may be not processed correctly by search engines. If the parameter 'with_friendly_urls' has been set to 'Y' in the configuration panel, this function will return an URL parsable by search engines (e.g. 'collections/view.php/512').

Voir aussi:

Tools
Browse the source of this script
Server software