PHP 클래스 acp_users

파일 보기 프로젝트 열기: phpbb/phpbb

공개 프로퍼티들

프로퍼티 타입 설명
$p_master
$u_action

공개 메소드들

메소드 설명
acp_users ( &$p_master )
main ( $id, $mode )
optionget ( array &$user_row, integer $key, integer $data = false ) : boolean Get option bit field from user options in a user row array.
optionset ( array &$user_row, integer $key, boolean $value, integer $data = false ) : integer | boolean Set option bit field for user options in a user row array.

메소드 상세

acp_users() 공개 메소드

public acp_users ( &$p_master )

main() 공개 메소드

public main ( $id, $mode )

optionget() 공개 메소드

Optionget replacement for this module based on $user->optionget.
public optionget ( array &$user_row, integer $key, integer $data = false ) : boolean
$user_row array Row from the users table.
$key integer option key, as defined in $user->keyoptions property.
$data integer bit field value to use, or false to use $user_row['user_options']
리턴 boolean true if the option is set in the bit field, false otherwise

optionset() 공개 메소드

Optionset replacement for this module based on $user->optionset.
public optionset ( array &$user_row, integer $key, boolean $value, integer $data = false ) : integer | boolean
$user_row array Row from the users table.
$key integer Option key, as defined in $user->keyoptions property.
$value boolean True to set the option, false to clear the option.
$data integer Current bit field value, or false to use $user_row['user_options']
리턴 integer | boolean If $data is false, the bit field is modified and written back to $user_row['user_options'], and return value is true if the bit field changed and false otherwise. If $data is not false, the new bitfield value is returned.

프로퍼티 상세

$p_master 공개적으로 프로퍼티

public $p_master

$u_action 공개적으로 프로퍼티

public $u_action