📄 admineditresourceview.class.php
字号:
<?php lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" ); lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" ); lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" ); /** * \ingroup View * @private * * shows the view that allows to see more information of a resource */ class AdminEditResourceView extends AdminTemplatedView { var $_resourceId; function AdminEditResourceView( $blogInfo ) { $this->AdminTemplatedView( $blogInfo, "resourceinfo" ); } function getResourceId( $resourceId ) { return( $this->_resourceId ); } function render() { // load the nested list of albums // fetch the albums for this blog $albums = new GalleryAlbums(); $blogAlbums = $albums->getNestedAlbumList( $this->_blogInfo->getId()); $this->notifyEvent( EVENT_ALBUMS_LOADED, Array( "albums" => &$blogAlbums )); $this->setValue( "albums", $blogAlbums ); parent::render(); } }?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -