📄 admineditresourcealbumview.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" ); /** * \ingroup View * @private * * shows the view that allows to edit an album */ class AdminEditResourceAlbumView extends AdminTemplatedView { function AdminEditResourceAlbumView( $blogInfo ) { $this->AdminTemplatedView( $blogInfo, "editresourcealbum" ); } function render() { // load the nested list of albums $albums = new GalleryAlbums(); $userAlbums = $albums->getNestedAlbumList( $this->_blogInfo->getId()); $this->notifyEvent( EVENT_ALBUMS_LOADED, Array( "albums" => &$userAlbums )); $this->setValue( "albums", $userAlbums ); // let the parent view do its work parent::render(); } }?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -