galleryitemslist.class.php

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

PHP
31 行
字号
<?php	lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );	lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );	/**	 * obtains combined lists of albums and resources, so that it can be properly	 * shown in the view	 */	class GalleryItemsList 	{				function GalleryItemsList()		{					}		function getGalleryItems( $ownerId, $albumId = GALLERY_NO_ALBUM, $resourceType = GALLEY_RESOURCE_ANY, $page = DEFAULT_PAGING_ENABLED, $itemsPerPage = DEFAULT_ITEMS_PER_PAGE )		{			// initialize the objects that we're going to use to get our data			$albums = new GalleryAlbums();			$resources = new GalleryResources();		}		function getNumGalleryItems( $ownerId, $albumId = GALLERY_NO_ALBUM, $resourceType = GALLEY_RESOURCE_ANY, $page = DEFAULT_PAGING_ENABLED, $itemsPerPage = DEFAULT_ITEMS_PER_PAGE )		{		}	}?>

⌨️ 快捷键说明

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