[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/summary/action/ -> dofinishregister.class.php (sommaire)

(pas de description)

Poids: 313 lignes (13 kb)
Inclus ou requis:0 fois
Référencé: 1 fois
Nécessite: 0 fichiers

Définit 1 class

doFinishRegister:: (9 méthodes):
  doFinishRegister()
  perform()
  createUser()
  createBlog()
  doneRegister()
  preUserCreateHook()
  postUserCreateHook()
  preBlogCreateHook()
  postBlogCreateHook()


Classe: doFinishRegister  - X-Ref

Finish the user and blog registration process.

In case you need to blog creation process, take a look at the methods
preBlogCreatHook, postBlogCreateHook, preUserCreateHook and postUserCreateHook. Unfortunately
plugins are not supported in summary.php/register.php so implementing your custom
code in this methods will be considered the cleanest way to customize this process for the
time being.

doFinishRegister( $actionInfo, $request )   X-Ref
constructor


perform()   X-Ref
perform


createUser()   X-Ref
create the user


createBlog($userId)   X-Ref
create the blog


doneRegister()   X-Ref
finished registaration


preUserCreateHook( &$user )   X-Ref
This method will be called prior to saving the new user to the database. Please
place here your custom code if needed.

param: user By reference, the UserInfo object with information about the user who we are
return: Always true

postUserCreateHook( &$user )   X-Ref
This method will be called after to saving the new user to the database. Please
place here your custom code if needed.

param: user By reference, the UserInfo object with information about the user who was
return: Always true

preBlogCreateHook( &$blog )   X-Ref
This method will be called prior to saving the new blog to the database. Please
place here your custom code if needed.

param: blog By reference, the BlogInfo object with information about the blog that we are
return: Always true

postBlogCreateHook( &$blog )   X-Ref
At this point the blog has already been created, as well as the default albums, link categories,
and so on. This method could be used to create some new custom fields, activate some plugins
by default, etc.

param: blog By reference, the BlogInfo object with information about the blog that was just
return: Always true



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics