Skip to main content Help Control Panel

Aubagne HipHop

Tout le Hip Hop d'Aubagne et des alentours

Home «   Server software «  

Documentation: overlays/petition.php

class Petition extends Overlay - Achieve large support

This overlay allows surfers to attach at most one decision to one page.

To create a petition, create a new page with this overlay. Then define the scope of your petition through following attributes:

This script is a reference file of this system.

Licence: GNU Lesser General Public License

Auteurs:

allows() - Allow or block operations

function allows($type, $action)

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

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



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='?')

To be overloaded into derivated class
Tools
Browse the source of this script
Server software