Documentation: overlays/recipe.php
class Recipe extends Overlay - Describe one recipe
This script is a reference file of this system.
See also:
License: GNU Lesser General Public License
Authors:
- Bernard Paques
get_fields() - Build the list of fields for one overlay
function get_fields($host)
- $host - the hosting attributes
- returns a list of ($label, $input, $hint)
See also:
get_label() - Get an overlaid label
function get_label($name, $action='view')
- $name - string the target label
- $action='view' - string the on-going action
- returns the label to use
- 'edit' the modification of an existing object
- 'delete' the deleting form
- 'new' the creation of a new object
- 'view' a displayed object
See also:
get_view_text() - Display the content of one recipe
function &get_view_text($host=NULL)
- $host=NULL - array the hosting record
- returns some HTML to be inserted into the resulting page
See also:
parse_fields() - Retrieve the content of one modified overlay
function parse_fields($fields)
- $fields - the fields as filled by the end user
- returns the updated fields
See also:
