PHP Class acp_users

Afficher le fichier Open project: phpbb/phpbb

Méthodes publiques

Свойство Type Description
$p_master
$u_action

Méthodes publiques

Méthode 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 méthode

public acp_users ( &$p_master )

main() public méthode

public main ( $id, $mode )

optionget() public méthode

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

optionset() public méthode

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']
Résultat 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