PHP 클래스 erLhcoreClassDepartament

파일 보기 프로젝트 열기: remdex/livehelperchat 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( )
assignDepartmentsToGroup ( erLhcoreClassModelDepartamentGroup $departamentGroup, $ids )
getDepartamentCustomWorkHoursData ( erLhcoreClassModelDepartamentCustomWorkHours[] $departamentCustomWorkHours = [] ) : array Convert departament custom work hours to template data
getDepartaments ( )
getSession ( )
getWeekDays ( )
sortByStatus ( $departments )
validateDepartment ( erLhcoreClassModelDepartament &$department )
validateDepartmentCustomWorkHours ( erLhcoreClassModelDepartament $departament, erLhcoreClassModelDepartamentCustomWorkHours[] $departamentCustomWorkHours = [] ) : erLhcoreClassModelDepartamentCustomWorkHours[] validate and saves/removes department custom work hours, and return result of current custom work hours
validateDepartmentGroup ( erLhcoreClassModelDepartamentGroup $departamentGroup ) Validates department group submit
validateDepartmentGroupDepartments ( erLhcoreClassModelDepartamentGroup $departamentGroup ) Validates department group submit

메소드 상세

__construct() 공개 메소드

public __construct ( )

assignDepartmentsToGroup() 공개 정적인 메소드

public static assignDepartmentsToGroup ( erLhcoreClassModelDepartamentGroup $departamentGroup, $ids )
$departamentGroup erLhcoreClassModelDepartamentGroup

getDepartamentCustomWorkHoursData() 공개 정적인 메소드

Convert departament custom work hours to template data
public static getDepartamentCustomWorkHoursData ( erLhcoreClassModelDepartamentCustomWorkHours[] $departamentCustomWorkHours = [] ) : array
$departamentCustomWorkHours erLhcoreClassModelDepartamentCustomWorkHours[]
리턴 array

getDepartaments() 공개 정적인 메소드

public static getDepartaments ( )

getSession() 공개 정적인 메소드

public static getSession ( )

getWeekDays() 공개 정적인 메소드

public static getWeekDays ( )

sortByStatus() 공개 정적인 메소드

public static sortByStatus ( $departments )

validateDepartment() 공개 정적인 메소드

public static validateDepartment ( erLhcoreClassModelDepartament &$department )
$department erLhcoreClassModelDepartament

validateDepartmentCustomWorkHours() 공개 정적인 메소드

validate and saves/removes department custom work hours, and return result of current custom work hours
public static validateDepartmentCustomWorkHours ( erLhcoreClassModelDepartament $departament, erLhcoreClassModelDepartamentCustomWorkHours[] $departamentCustomWorkHours = [] ) : erLhcoreClassModelDepartamentCustomWorkHours[]
$departament erLhcoreClassModelDepartament
$departamentCustomWorkHours erLhcoreClassModelDepartamentCustomWorkHours[]
리턴 erLhcoreClassModelDepartamentCustomWorkHours[]

validateDepartmentGroup() 공개 정적인 메소드

Validates department group submit
public static validateDepartmentGroup ( erLhcoreClassModelDepartamentGroup $departamentGroup )
$departamentGroup erLhcoreClassModelDepartamentGroup

validateDepartmentGroupDepartments() 공개 정적인 메소드

Validates department group submit
public static validateDepartmentGroupDepartments ( erLhcoreClassModelDepartamentGroup $departamentGroup )
$departamentGroup erLhcoreClassModelDepartamentGroup