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])
파일 보기 프로젝트 열기: openeyes/openeyes 1 사용 예제들

공개 메소드들

메소드 설명
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