[ Index ] |
|
Code source de LifeType 1.2.4 |
1 <?php 2 3 lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" ); 4 lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" ); 5 /** 6 * \ingroup View 7 * @private 8 */ 9 class AdminNewResourceView extends AdminTemplatedView 10 { 11 12 function AdminNewResourceView( $blogInfo ) 13 { 14 $this->AdminTemplatedView( $blogInfo, "newresource" ); 15 } 16 17 function render() 18 { 19 // get all the albums 20 $albums = new GalleryAlbums(); 21 $userAlbums = $albums->getNestedAlbumList( $this->_blogInfo->getId()); 22 $this->notifyEvent( EVENT_ALBUMS_LOADED, Array( "albums" => &$userAlbums )); 23 24 $this->setValue( "albums", $userAlbums ); 25 26 // transfer control to the parent class 27 parent::render(); 28 } 29 } 30 ?>
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 |
![]() |