PHP Class OEModule\PASAPI\resources\Appointment

Inheritance: extends BaseResource
显示文件 Open project: openeyes/openeyes

Protected Properties

Property Type Description
$default_date
$default_time
$resource_type

Public Methods

Method Description
getMappingsArray ( ) : array Parse all the mapping items and return them as a key value array.
getWhen ( ) : DateTime
setDefaultWhen ( DateTime $when = null )
shouldValidateRequired ( ) : boolean
validate ( )

Method Details

getMappingsArray() public method

Note, expects resource to have been validated
public getMappingsArray ( ) : array
return array

getWhen() public method

public getWhen ( ) : DateTime
return DateTime

setDefaultWhen() public method

public setDefaultWhen ( DateTime $when = null )
$when DateTime

shouldValidateRequired() public method

public shouldValidateRequired ( ) : boolean
return boolean

validate() public method

public validate ( )

Property Details

$default_date protected_oe property

protected $default_date

$default_time protected_oe property

protected $default_time

$resource_type protected_oe static_oe property

protected static $resource_type