Ansel_View_Embedded Class wraps output of a javascript embedded gallery/image
widget. This view is responsible only for outputting the <script> tags that will embed the view. Provided as a way to output these views via the renderViews api call. The actual rendering is done via the EmbeddedRenderers/*.php files which are called from the XRequest_Embedded class when it handles the request.
$Horde: ansel/lib/Views/Embedded.php,v 1.12.2.3 2009/06/16 00:38:23 mrubinsk Exp $
Copyright 2008-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
Located in /lib/Views/Embedded.php (line 20)
Initialize the view
This view can take the following parameters:
container The DOM id of the element to contain the embedded view. This parameter is required.
gallery_id The gallery id
gallery_slug The gallery slug
gallery_view The specific view to embed this must match an existing EmbeddedRenderer (Mini, Slideshow, Carousel etc..) Defaults to 'Mini'
start Start displaying at this image offset. Defaults to the start of the gallery.
count Only return this many images. Defaults to returning the entire gallery (minus any subgalleries).
perpage Some embedded views support paging. This sets the number of images per page. Note that all images are still returned. The paging is done via javascript only.
images An array of image ids, not necessarily from the same gallery, to be displayed in this view. The gallery parameter will be ignored if present.
thumbsize Which type of thumbnail images to display in the view. (mini, thumb, prettythumb etc...) Defaults to mini.
Return the HTML representing this view.
Documentation generated on Sun, 30 Jan 2011 05:08:45 +0000 by phpDocumentor 1.4.3