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

   1  <?php
   2  
   3      lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
   4      
   5      /**
   6       * \ingroup View
   7       * @private
   8       */    
   9      class AdminUserProfileView extends AdminTemplatedView
  10      {
  11          var $_userInfo;
  12      
  13  		function AdminUserProfileView( $blogInfo, $userInfo )
  14          {
  15              $this->AdminTemplatedView( $blogInfo, "usersettings" );
  16              
  17              $this->_userInfo = $userInfo;
  18              
  19              $this->setValue( "userFullName", $userInfo->getFullName());
  20              $this->setValue( "userEmail", $userInfo->getEmail());
  21              // we use 'false' here because we don't want to get the formatting
  22              $this->setValue( "userAbout", $userInfo->getAboutMyself( false ));
  23          }
  24          
  25  		function render()
  26          {
  27              $this->setValue( "user", $this->_userInfo );        
  28              parent::render();
  29          }
  30      }
  31  ?>


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