PHP Class acp_users

Exibir arquivo Open project: phpbb/phpbb

Public Properties

Property Type Description
$p_master
$u_action

Public Methods

Method Description
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.

Method Details

acp_users() public method

public acp_users ( &$p_master )

main() public method

public main ( $id, $mode )

optionget() public method

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']
return boolean true if the option is set in the bit field, false otherwise

optionset() public method

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']
return 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.

Property Details

$p_master public_oe property

public $p_master

$u_action public_oe property

public $u_action