Method |
Description |
|
__set ( string $name, mixed $value ) : mixed | void |
make sure the cached dates array is reset when patient_unavailables is updated. |
|
afterValidate ( ) |
Make sure patient_unavailables are validated. |
|
attributeLabels ( ) : array |
|
|
getContainer_view_view ( ) |
|
|
getCurrentBooking ( ) : OphTrOperationbooking_Operation_Booking |
Get the operation booking for the event. |
|
isPatientAvailable ( $date ) : boolean |
Given a date (yyyy-mm-dd) check if the patient is available, and return true or false as appropriate. |
|
model ( $className = __CLASS__ ) : the |
Returns the static model of the specified AR class. |
|
relations ( ) : array |
|
|
rules ( ) : array |
|
|
search ( ) : CActiveDataProvider |
Retrieves a list of models based on the current search/filter conditions. |
|
tableName ( ) : string |
|
|
updatePatientUnavailables ( $unavailables ) |
Set the patient unavailable objects for this element. |
|
validateNoBookingCollision ( $attribute, $params ) |
Ensure that if there is a current booking on this event, the patient unavailables dates don't collide with the booking. |
|
validateNoDateRangeOverlap ( $attribute, $params ) |
validate a date is earlier or equal to another. |
|