Skip to main content Help Control Panel

Aubagne HipHop

Tout le Hip Hop d'Aubagne et des alentours

Home «   Server software «  

Documentation: overlays/contact.php

class Contact extends Overlay - Contact information

This overlay is aiming to capture contact information related to individuals. It also shows how to put the information in a separate table of the database.

It can be derived and transformed to accomodate any variation.

This script is a reference file of this system.

Licence: GNU Lesser General Public License

Auteurs:

get() - Get one record from the dedicated table

function &get($id)

get_fields() - Build the list of fields for one overlay

function get_fields($host, $capability='?')



Voir aussi:

get_id() - Identify one instance

function get_id()

This function returns a string that identify uniquely one overlay instance. When this information is saved, it can be used later on to retrieve one page and its content.

@returns a unique string, or NULL

Voir aussi:

get_label() - Get an overlaid label

function get_label($name, $action='view')

Accepted action codes:

Voir aussi:

get_text() - Display the content of one classic car

function get_text($variant='view', $host=NULL)

Accepted variant codes:

Voir aussi:

parse_fields() - Retrieve the content of one modified overlay

function parse_fields($fields)



Voir aussi:

remember() - Remember an action once it's done

function remember($variant, $host, $capability='?')

Following actions are recognized:

To enforce database consistency, and in case of 'update' the function deletes the record and create it again.

setup() - Create tables for classic_cars

function setup()

Tools
Browse the source of this script
Server software