PHP Class OEModule\PatientTicketing\widgets\BaseTicketAssignment

Inheritance: extends CWidget
ファイルを表示 Open project: openeyes/openeyes Class Usage Examples

Public Properties

Property Type Description
$assetFolder
$data_width
$form_name
$label_width
$shortName
$ticket

Public Methods

Method Description
extractFormData ( $form_data ) Extract the data into a storable (usable) form from the form $_POST data.
getReportString ( $data ) Generates a string for display/reporting purposes.
init ( )
processAssignmentData ( $ticket, $data ) For widgets that need to process assignment data in the wider patient record context.
run ( ) renders the widget view.
validate ( $form_data ) Validate the submitted form data for this widget.

Method Details

extractFormData() public method

Extract the data into a storable (usable) form from the form $_POST data.
public extractFormData ( $form_data )
$form_data

getReportString() public method

Generates a string for display/reporting purposes.
public getReportString ( $data )
$data

init() public method

public init ( )

processAssignmentData() public method

For widgets that need to process assignment data in the wider patient record context.
public processAssignmentData ( $ticket, $data )
$ticket
$data

run() public method

renders the widget view.
public run ( )

validate() public method

Validate the submitted form data for this widget.
public validate ( $form_data )
$form_data

Property Details

$assetFolder public_oe property

public $assetFolder

$data_width public_oe property

public $data_width

$form_name public_oe property

public $form_name

$label_width public_oe property

public $label_width

$shortName public_oe property

public $shortName

$ticket public_oe property

public $ticket