PHP Класс 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 .
Автор: OpenEyes ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
checkSessionCompatibleWithOperation ( OphTrOperationbooking_Operation_Session $session, Element_OphTrOperationbooking_Operation $op ) : array
validateElementsForEvent ( $elements ) : array Perform event level validation based on the elements passed in.

Описание методов

checkSessionCompatibleWithOperation() публичный Метод

public checkSessionCompatibleWithOperation ( OphTrOperationbooking_Operation_Session $session, Element_OphTrOperationbooking_Operation $op ) : array
$session OphTrOperationbooking_Operation_Session
$op Element_OphTrOperationbooking_Operation
Результат array Array of error codes, empty if no errors

validateElementsForEvent() публичный статический Метод

Perform event level validation based on the elements passed in.
public static validateElementsForEvent ( $elements ) : array
$elements
Результат array