[ 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 lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" ); 6 7 /** 8 * \ingroup View 9 * @private 10 * 11 * shows the view that allows to see more information of a resource 12 */ 13 class AdminEditResourceView extends AdminTemplatedView 14 { 15 var $_resourceId; 16 17 function AdminEditResourceView( $blogInfo ) 18 { 19 $this->AdminTemplatedView( $blogInfo, "resourceinfo" ); 20 } 21 22 function getResourceId( $resourceId ) 23 { 24 return( $this->_resourceId ); 25 } 26 27 function render() 28 { 29 // load the nested list of albums 30 // fetch the albums for this blog 31 $albums = new GalleryAlbums(); 32 $blogAlbums = $albums->getNestedAlbumList( $this->_blogInfo->getId()); 33 $this->notifyEvent( EVENT_ALBUMS_LOADED, Array( "albums" => &$blogAlbums )); 34 $this->setValue( "albums", $blogAlbums ); 35 36 parent::render(); 37 } 38 } 39 ?>
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 |
![]() |