[ Index ] |
|
Code source de LifeType 1.2.4 |
1 <?php 2 3 lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" ); 4 lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" ); 5 6 /** 7 * \ingroup Action 8 * @private 9 * 10 * Defines blog-wide custom fields 11 */ 12 class AdminNewCustomFieldAction extends AdminAction 13 { 14 15 function AdminNewCustomFieldAction( $actionInfo, $request ) 16 { 17 $this->AdminAction( $actionInfo, $request ); 18 19 $this->requirePermission( "add_custom_field" ); 20 } 21 22 /** 23 * Carries out the specified action 24 */ 25 function perform() 26 { 27 $this->_view = new AdminTemplatedView( $this->_blogInfo, "newcustomfield" ); 28 $this->setCommonData(); 29 30 // better to return true if everything fine 31 return true; 32 } 33 } 34 ?>
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 |
![]() |