PHP 클래스 Inpsyde\MultilingualPress\Common\Setting\User\UserSettingView

부터: 3.0.0
파일 보기 프로젝트 열기: inpsyde/multilingual-press

공개 메소드들

메소드 설명
__construct ( Inpsyde\MultilingualPress\Common\Setting\User\UserSettingViewModel $model, boolean $check_user = true ) Constructor. Sets up the properties.
render ( WP_User $user ) : boolean Renders the user setting markup.

메소드 상세

__construct() 공개 메소드

Constructor. Sets up the properties.
부터: 3.0.0
public __construct ( Inpsyde\MultilingualPress\Common\Setting\User\UserSettingViewModel $model, boolean $check_user = true )
$model Inpsyde\MultilingualPress\Common\Setting\User\UserSettingViewModel View model object.
$check_user boolean Optional. Only render for users capable of editing? Defaults to true.

render() 공개 메소드

Renders the user setting markup.
부터: 3.0.0
public render ( WP_User $user ) : boolean
$user WP_User User object.
리턴 boolean Whether or not the user setting markup was rendered successfully.