Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17249 программистов и 1834 робота. Сейчас ищут 1675 программистов ...
Auth::addUser()
Вернуться к: Auth
Auth::addUser()
Auth::addUser() – add a new user
Synopsis
mixed Auth::addUser ( string $username , string $password , mixed $additional = '' )
Add a new user to the Auth Container.
Parameter
- string $username
-
the username of the new user
- string $password
-
the password of the new user
- mixed $additional = ''
-
additional options to be passed to the creation of the new user. Each Auth_Container has different options for these, please see the containers documentation for what is supported.
Return value
mixed - TRUE on success, a PEAR Error on failure.
Note
This function can not be called statically.
Not all Auth Containers implement this functionality.
Вернуться к: Auth