PHP Класс acp_users

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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