
Public Member Functions | |
| addItem ($pContentId, $pPosition=NULL) | |
| exportHtml ($pPaginate=FALSE) | |
| expunge ($pRecursiveDelete=FALSE) | |
| FisheyeGallery ($pGalleryId=NULL, $pContentId=NULL) | |
| galleryExistsInDatabase () | |
| generateThumbnails () | |
| getDisplayUrl ($pGalleryId=NULL, $pPath=NULL) | |
| getImageCount () | |
| getItemPage ($pItemContentId) | |
| getLayout () | |
| getList (&$pListHash) | |
| getRenderFile () | |
| getRenderTemplate () | |
| getThumbnailImage ($pContentId=NULL, $pThumbnailContentId=NULL, $pThumbnailContentType=NULL) | |
| getThumbnailUrl ($pSize='small') | |
| isValid () | |
| load ($pCurrentImageId=NULL) | |
| loadImages ($pPage=-1) | |
| loadThumbnail ($pSize='small', $pContentId=NULL) | |
| lookup ($pLookupHash) | |
| removeItem ($pContentId) | |
| store (&$pStorageHash) | |
| storeGalleryThumbnail ($pContentId=NULL) | |
| verifyGalleryData (&$pStorageHash) | |
Public Attributes | |
| $mGalleryId | |
| $mItems | |
Definition at line 23 of file FisheyeGallery.php.
| FisheyeGallery::addItem | ( | $ | pContentId, | |
| $ | pPosition = NULL | |||
| ) |
Adds a new item (image or gallery) to this gallery. We check to make sure we are not a member of this gallery and this gallery is not a member of the new item to avoid infinite recursion scenarios
Definition at line 452 of file FisheyeGallery.php.
References $query, $ret, $rs, FALSE, FisheyeBase::isInGallery(), mContentId, mDb, and BitBase::verifyId().
Here is the call graph for this function:

| FisheyeGallery::exportHtml | ( | $ | pData = FALSE |
) |
Create an export object from the data
| array | Not used |
Reimplemented from LibertyContent.
Definition at line 239 of file FisheyeGallery.php.
References $ret, FALSE, LibertyContent::getContentType(), getDisplayUrl(), getItemPage(), loadImages(), mContentId, and url.
Here is the call graph for this function:

| FisheyeGallery::expunge | ( | $ | pDeleteAttachments = FALSE |
) |
Expunges the content deleting attachments if asked to do so, otherwise just detaching them
Reimplemented from LibertyAttachable.
Definition at line 462 of file FisheyeGallery.php.
References $query, $rs, LibertyContent::expunge(), isValid(), loadImages(), mContentId, mDb, and mInfo.
Here is the call graph for this function:

| FisheyeGallery::FisheyeGallery | ( | $ | pGalleryId = NULL, |
|
| $ | pContentId = NULL | |||
| ) |
Definition at line 27 of file FisheyeGallery.php.
References FisheyeBase::FisheyeBase(), mContentId, and LibertyContent::registerContentType().
Here is the call graph for this function:

| FisheyeGallery::galleryExistsInDatabase | ( | ) |
Definition at line 501 of file FisheyeGallery.php.
References $query, $ret, $rs, FALSE, mDb, and BitBase::verifyId().
Referenced by store().
Here is the call graph for this function:

| FisheyeGallery::generateThumbnails | ( | ) |
Definition at line 309 of file FisheyeGallery.php.
References isValid(), and loadImages().
Here is the call graph for this function:

| FisheyeGallery::getDisplayUrl | ( | $ | pGalleryId = NULL, |
|
| $ | pPath = NULL | |||
| ) |
Function that returns link to display a piece of content
| pGalleryId | id of gallery to link |
Reimplemented from LibertyContent.
Definition at line 546 of file FisheyeGallery.php.
References $gBitSystem, $ret, and BitBase::verifyId().
Referenced by exportHtml(), and getList().
Here is the call graph for this function:

| FisheyeGallery::getImageCount | ( | ) |
Definition at line 271 of file FisheyeGallery.php.
References $query, $ret, $rs, mContentId, and mDb.
Referenced by load().
| FisheyeGallery::getItemPage | ( | $ | pItemContentId | ) |
Definition at line 260 of file FisheyeGallery.php.
References $ret, mContentId, and mDb.
Referenced by exportHtml().
| FisheyeGallery::getLayout | ( | ) |
Returns the layout of the gallery accounting for various defaults
Definition at line 520 of file FisheyeGallery.php.
References $gBitSystem, and LibertyContent::getPreference().
Here is the call graph for this function:

| FisheyeGallery::getList | ( | &$ | pListHash | ) |
Definition at line 568 of file FisheyeGallery.php.
References $data, $gBitDbType, $gBitSystem, $gBitUser, $query, $ret, $rs, getDisplayUrl(), LibertyContent::getServicesSql(), getThumbnailImage(), image, mDb, LibertyContent::prepGetList(), title, and BitBase::verifyId().
Here is the call graph for this function:

| FisheyeGallery::getRenderFile | ( | ) |
Returns include file that will setup the object for rendering
Reimplemented from LibertyContent.
Definition at line 529 of file FisheyeGallery.php.
| FisheyeGallery::getRenderTemplate | ( | ) |
Returns template file used for display
Definition at line 537 of file FisheyeGallery.php.
| FisheyeGallery::getThumbnailImage | ( | $ | pContentId = NULL, |
|
| $ | pThumbnailContentId = NULL, |
|||
| $ | pThumbnailContentType = NULL | |||
| ) |
Definition at line 331 of file FisheyeGallery.php.
References $gBitUser, $gLibertySystem, $query, $ret, $row, $rs, mContentId, mDb, mInfo, and BitBase::verifyId().
Referenced by getList(), and loadThumbnail().
Here is the call graph for this function:

| FisheyeGallery::getThumbnailUrl | ( | $ | pSize = 'small' |
) |
Definition at line 320 of file FisheyeGallery.php.
References loadThumbnail(), and mInfo.
Here is the call graph for this function:

| FisheyeGallery::isValid | ( | ) |
Check mContentId to establish if the object has been loaded with a valid record
Reimplemented from LibertyContent.
Definition at line 51 of file FisheyeGallery.php.
References mContentId, and BitBase::verifyId().
Referenced by expunge(), generateThumbnails(), loadImages(), and removeItem().
Here is the call graph for this function:

| FisheyeGallery::load | ( | $ | pContentId = NULL |
) |
fully load content and insert any attachments in $this->mStorage allow an optional content_id to be passed in to ease legacy lib style objects (like blogs, articles, etc.)
| array | $pContentId public |
Reimplemented from LibertyAttachable.
Definition at line 77 of file FisheyeGallery.php.
References $gBitSystem, $i, $query, $rs, editor, getImageCount(), LibertyContent::getPreference(), LibertyContent::getServicesSql(), liberty_fetch_thumbnail_url(), LibertyContent::load(), mContentId, mDb, mInfo, and BitBase::verifyId().
Referenced by loadImages().
Here is the call graph for this function:

| FisheyeGallery::loadImages | ( | $ | pPage = -1 |
) |
Definition at line 174 of file FisheyeGallery.php.
References $_SESSION, $gBitSystem, $gBitUser, $gLibertySystem, $item, $offset, $pass, $query, $row, $rs, $type, BitBase::getField(), LibertyContent::getPreference(), isValid(), load(), mContentId, mDb, mInfo, and BitBase::verifyId().
Referenced by exportHtml(), expunge(), and generateThumbnails().
Here is the call graph for this function:

| FisheyeGallery::loadThumbnail | ( | $ | pSize = 'small', |
|
| $ | pContentId = NULL | |||
| ) |
Definition at line 384 of file FisheyeGallery.php.
References getThumbnailImage(), and mInfo.
Referenced by getThumbnailUrl().
Here is the call graph for this function:

| FisheyeGallery::lookup | ( | $ | pLookupHash | ) |
Definition at line 55 of file FisheyeGallery.php.
References $gBitDb, $lookup, $ret, LibertyBase::getLibertyObject(), and BitBase::verifyId().
Here is the call graph for this function:

| FisheyeGallery::removeItem | ( | $ | pContentId | ) |
Definition at line 436 of file FisheyeGallery.php.
References $query, $ret, $rs, FALSE, isValid(), mContentId, mDb, and BitBase::verifyId().
Here is the call graph for this function:

| FisheyeGallery::store | ( | &$ | pParamHash | ) |
Create a new content object or update an existing one
| array | Array of content data to be stored See verify for details of the values required |
Reimplemented from LibertyAttachable.
Definition at line 406 of file FisheyeGallery.php.
References $query, $rs, galleryExistsInDatabase(), mContentId, mDb, mInfo, LibertyContent::store(), and verifyGalleryData().
Here is the call graph for this function:

| FisheyeGallery::storeGalleryThumbnail | ( | $ | pContentId = NULL |
) |
Definition at line 390 of file FisheyeGallery.php.
References $query, $ret, $rs, FALSE, FisheyeBase::isInGallery(), mContentId, mDb, and mInfo.
Here is the call graph for this function:

| FisheyeGallery::verifyGalleryData | ( | &$ | pStorageHash | ) |
Definition at line 284 of file FisheyeGallery.php.
References $gBitSystem, LibertyContent::getContentType(), mInfo, and title.
Referenced by store().
Here is the call graph for this function:

| FisheyeGallery::$mGalleryId |
Definition at line 24 of file FisheyeGallery.php.
| FisheyeGallery::$mItems |
Definition at line 25 of file FisheyeGallery.php.
1.5.2