| [ 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 * shows the view that allows to edit an album 11 */ 12 class AdminEditResourceAlbumView extends AdminTemplatedView 13 { 14 15 function AdminEditResourceAlbumView( $blogInfo ) 16 { 17 $this->AdminTemplatedView( $blogInfo, "editresourcealbum" ); 18 } 19 20 function render() 21 { 22 // load the nested list of albums 23 $albums = new GalleryAlbums(); 24 $userAlbums = $albums->getNestedAlbumList( $this->_blogInfo->getId()); 25 $this->notifyEvent( EVENT_ALBUMS_LOADED, Array( "albums" => &$userAlbums )); 26 $this->setValue( "albums", $userAlbums ); 27 28 // let the parent view do its work 29 parent::render(); 30 } 31 } 32 ?>
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 |
|