PHP 클래스 Locations_model, TastyIgniter

darany 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. darany 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 darany. If not, see .
상속: extends CI_Model
파일 보기 프로젝트 열기: tastyigniter/tastyigniter 1 사용 예제들

공개 메소드들

메소드 설명
addLocationTables ( $location_id, $tables = [] )
addOpeningHours ( $location_id, $data = [] )
deleteLocation ( $location_id )
getAddress ( $location_id )
getCount ( $filter = [] )
getList ( $filter = [] )
getLocalRestaurant ( $lat = FALSE, $lng = FALSE, $search_query = FALSE )
getLocation ( $location_id )
getLocations ( )
getOpeningHourByDay ( $location_id = FALSE, $day = FALSE )
getWorkingHours ( $location_id = FALSE )
saveLocation ( $location_id, $save = [] )
updateDefault ( $address = [] )
validateLocation ( $location_id )

비공개 메소드들

메소드 설명
_createWorkingHours ( $type, $data )

메소드 상세

addLocationTables() 공개 메소드

public addLocationTables ( $location_id, $tables = [] )

addOpeningHours() 공개 메소드

public addOpeningHours ( $location_id, $data = [] )

deleteLocation() 공개 메소드

public deleteLocation ( $location_id )

getAddress() 공개 메소드

public getAddress ( $location_id )

getCount() 공개 메소드

public getCount ( $filter = [] )

getList() 공개 메소드

public getList ( $filter = [] )

getLocalRestaurant() 공개 메소드

public getLocalRestaurant ( $lat = FALSE, $lng = FALSE, $search_query = FALSE )

getLocation() 공개 메소드

public getLocation ( $location_id )

getLocations() 공개 메소드

public getLocations ( )

getOpeningHourByDay() 공개 메소드

public getOpeningHourByDay ( $location_id = FALSE, $day = FALSE )

getWorkingHours() 공개 메소드

public getWorkingHours ( $location_id = FALSE )

saveLocation() 공개 메소드

public saveLocation ( $location_id, $save = [] )

updateDefault() 공개 메소드

public updateDefault ( $address = [] )

validateLocation() 공개 메소드

public validateLocation ( $location_id )