[ Index ] |
|
Code source de LifeType 1.2.4 |
1 <?php 2 3 lt_include( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" ); 4 5 lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" ); 6 lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" ); 7 lt_include( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" ); 8 9 10 /** 11 * shows a form where users can choose a new blog template 12 * for their blog, to start with 13 */ 14 class ChooseBlogTemplateAction extends RegisterAction 15 { 16 function ChooseBlogTemplateAction( $actionInfo, $request ) 17 { 18 $this->RegisterAction( $actionInfo, $request ); 19 20 $this->registerFieldValidator( "templateId", new StringValidator()); 21 $this->setValidationErrorView( new BlogTemplateChooserView()); 22 } 23 24 function perform() 25 { 26 // save data to the session 27 SessionManager::setSessionValue( "templateId", $this->_request->getValue( "templateId" )); 28 29 $this->setCommonData(); 30 } 31 } 32 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |