Class dbfunction

Description

Defines a database function (procedure).

Located in /schema-defs.php (line 108)

SchemaObject
   |
   --dbfunction
Direct descendents
Class Description
 class DB_dbfunction Defines a database function (procedure).
Variable Summary
 mixed $arg_types
 mixed $language
 mixed $return_type
 mixed $src
Method Summary
 dbfunction dbfunction (mixed &$schema, mixed $name, [mixed $returns = ""], [mixed $src = ""], [mixed $args = ""], [mixed $lang = "plpgsql"])
 void create ()
 void drop ()
 void dump ()
 void getschema ()
 void parameters ()
 void set ([mixed $returns = ""], [mixed $src = ""], [mixed $args = ""], [mixed $lang = "plpgsql"])
Variables
mixed $arg_types = array() (line 111)
mixed $language = "" (line 112)
mixed $return_type = "" (line 109)
mixed $src = "" (line 110)

Inherited Variables

Inherited from SchemaObject

SchemaObject::$name
SchemaObject::$schema
Methods
Constructor dbfunction (line 115)
dbfunction dbfunction (mixed &$schema, mixed $name, [mixed $returns = ""], [mixed $src = ""], [mixed $args = ""], [mixed $lang = "plpgsql"])
create (line 155)
void create ()

Redefined in descendants as:
drop (line 166)
void drop ()

Redefined in descendants as:
dump (line 135)

Dump ascii description of this function to stdout.

void dump ()
getschema (line 132)

Acquires the schema from database metadata.

NB: Override this function to get schema info per DB type.

void getschema ()

Redefined in descendants as:
parameters (line 141)

Return the types parameter list, including brackets.

void parameters ()
set (line 121)

Set the vars for this function

void set ([mixed $returns = ""], [mixed $src = ""], [mixed $args = ""], [mixed $lang = "plpgsql"])

Inherited Methods

Inherited From SchemaObject

 SchemaObject::SchemaObject()

Documentation generated by phpDocumentor 1.3.0RC3