PHP 클래스 Voce\Thermal\v1\Controllers\Users

파일 보기 프로젝트 열기: voceconnect/thermal-api

공개 메소드들

메소드 설명
convert_request ( array $request_args ) : array Filter and validate the parameters that will be passed to the model.
find ( $app )
findById ( $app, $id )
format ( WP_User &$user, string $state = 'read' )
model ( )

비공개 메소드들

메소드 설명
get_list_users_cap ( )

메소드 상세

convert_request() 공개 정적인 메소드

Filter and validate the parameters that will be passed to the model.
public static convert_request ( array $request_args ) : array
$request_args array
리턴 array

find() 공개 정적인 메소드

public static find ( $app )

findById() 공개 정적인 메소드

public static findById ( $app, $id )

format() 공개 정적인 메소드

public static format ( WP_User &$user, string $state = 'read' )
$user WP_User
$state string State of CRUD to render for, options include 'read', new', 'edit'

model() 공개 정적인 메소드

public static model ( )