PHP Class OphTrOperationbooking_BookingHelper

OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see .
Author: OpenEyes ([email protected])
Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Méthodes publiques

Méthode Description
checkSessionCompatibleWithOperation ( OphTrOperationbooking_Operation_Session $session, Element_OphTrOperationbooking_Operation $op ) : array
validateElementsForEvent ( $elements ) : array Perform event level validation based on the elements passed in.

Method Details

checkSessionCompatibleWithOperation() public méthode

public checkSessionCompatibleWithOperation ( OphTrOperationbooking_Operation_Session $session, Element_OphTrOperationbooking_Operation $op ) : array
$session OphTrOperationbooking_Operation_Session
$op Element_OphTrOperationbooking_Operation
Résultat array Array of error codes, empty if no errors

validateElementsForEvent() public static méthode

Perform event level validation based on the elements passed in.
public static validateElementsForEvent ( $elements ) : array
$elements
Résultat array