[ 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 /** 7 * \ingroup View 8 * @private 9 */ 10 class AdminNewAlbumView extends AdminTemplatedView 11 { 12 13 function AdminNewAlbumView( $blogInfo ) 14 { 15 $this->AdminTemplatedView( $blogInfo, "newresourcealbum" ); 16 } 17 18 function render() 19 { 20 // get all the albums 21 $albums = new GalleryAlbums(); 22 $userAlbums = $albums->getNestedAlbumList( $this->_blogInfo->getId()); 23 $this->notifyEvent( EVENT_ALBUMS_LOADED, Array( "albums" => &$userAlbums )); 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 |
![]() |