[ 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/action/admin/ -> adminnewlinkcategoryaction.class.php (source)

   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       * Action that shows a form to add a link for the blogroll feature
  11       */
  12      class AdminNewLinkCategoryAction extends AdminAction 
  13      {
  14  
  15          /**
  16           * Constructor. If nothing else, it also has to call the constructor of the parent
  17           * class, BlogAction with the same parameters
  18           */
  19          function AdminNewLinkCategoryAction( $actionInfo, $request )
  20          {
  21              $this->AdminAction( $actionInfo, $request );
  22  
  23              $this->requirePermission( "add_link_category" );
  24          }
  25          
  26          /**
  27           * Carries out the specified action
  28           */
  29          function perform()
  30          {
  31              $this->_view = new AdminTemplatedView( $this->_blogInfo, "newlinkcategory" );
  32              $this->setCommonData();
  33  
  34              // better to return true if everything fine
  35              return true;
  36          }
  37      }
  38  ?>


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