\CGExtensionslookup_form_data

A simple class to provide title, and return data information to the lookup form manager

Summary

Methods
Properties
Constants
__construct()
validate()
$module_name
$title
$subtitle
$return_action
$return_tab
$post_edit_message
$cancel_message
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$module_name

$module_name : string

The module name that the lookup type belongs to.

Type

string

$title

$title : string

A title for the add/edit form.

Type

string

$subtitle

$subtitle : string

A subtitle for the add/edit form

Type

string

$return_action

$return_action : string

The optional action that the user should be returned to within the owning module (if not specified defaultadmin is used)

Type

string

$return_tab

$return_tab : string

The optional tab name that the user should be returned to within the specified action of the owning module.

Type

string

$post_edit_message

$post_edit_message : string

Optional message to display after the user has edited an existing item in the lookup table.

Type

string

$cancel_message

$cancel_message : string

Optional message to display after hte user has cancelled an add or edit operation.

Type

string

Methods

__construct()

__construct(array  $data = null) 

Constructor

Parameters

array $data

An associative array of properties.

validate()

validate() 

Validate the contents of the object