[ 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/adminpostslistview.class.php" ); 5 6 /** 7 * \ingroup Action 8 * @private 9 * 10 * Fetches all the posts and offers them for edition or deletion. 11 */ 12 class AdminEditPostsAction extends AdminAction 13 { 14 /** 15 * Constructor. If nothing else, it also has to call the constructor of the parent 16 * class, BlogAction with the same parameters 17 */ 18 function AdminEditPostsAction( $actionInfo, $request ) 19 { 20 $this->AdminAction( $actionInfo, $request ); 21 22 $this->requirePermission( "view_posts" ); 23 } 24 25 /** 26 * Carries out the specified action 27 */ 28 function perform() 29 { 30 // create the view with the right parameters... 31 $this->_view = new AdminPostsListView( $this->_blogInfo, 32 Array( "showCategory" => $this->_request->getValue( "showCategory" ), 33 "showStatus" => $this->_request->getValue( "showStatus" ), 34 "showUser" => $this->_request->getValue( "showUser" ), 35 "showMonth" => $this->_request->getValue( "showMonth" ), 36 "searchTerms" => $this->_request->getValue( "searchTerms" ))); 37 $this->setCommonData(); 38 39 // better to return true if everything fine 40 return true; 41 } 42 } 43 ?>
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 |
![]() |