adminnewresourceview.class.php

来自「一个用PHP编写的」· PHP 代码 · 共 30 行

PHP
30
字号
<?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     */		class AdminNewResourceView extends AdminTemplatedView	{			function AdminNewResourceView( $blogInfo )		{			$this->AdminTemplatedView( $blogInfo, "newresource" );		}				function render()		{			// get all the albums			$albums = new GalleryAlbums();			$userAlbums = $albums->getNestedAlbumList( $this->_blogInfo->getId());			$this->notifyEvent( EVENT_ALBUMS_LOADED, Array( "albums" => &$userAlbums ));						$this->setValue( "albums", $userAlbums );						// transfer control to the parent class			parent::render();		}	}?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?