Full index

Package indexes


a b c d e g i o p r s t u w _
a
top
Variable $allTags
ToppaXMLParser::$allTags in ToppaXMLParser.php
Page admin-edit.php
admin-edit.php in admin-edit.php
Page admin-main.php
admin-main.php in admin-main.php
b
top
Method bootstrap
Shashin::bootstrap() in Shashin.php
Called automatically (after the end of the class) to register hooks and add the actions and filters.
c
top
Variable $counter
ToppaXMLParser::$counter in ToppaXMLParser.php
Method characterData
ToppaXMLParser::characterData() in ToppaXMLParser.php
Method createTable
ToppaWPFunctions::createTable() in ToppaWPFunctions.php
Creates or updates a WordPress table, based on ref_data in a passed-in object. Note that dbDelta is very picky about formatting - see http://codex.wordpress.org/Creating_Tables_with_Plugins
d
top
Variable $data
ShashinAlbum::$data in ShashinAlbum.php
Variable $data
ShashinPhoto::$data in ShashinPhoto.php
Method deleteAlbum
ShashinAlbum::deleteAlbum() in ShashinAlbum.php
Deletes an album and all its photos from Shashin. Works only if getAlbum() was successfully called first.
Method displayInput
ToppaWPFunctions::displayInput() in ToppaWPFunctions.php
Generates and echoes xhtml for form inputs.
e
top
Method endElement
ToppaXMLParser::endElement() in ToppaXMLParser.php
g
top
Method getAdminHeadTags
Gets the Shashin Admin CSS file, for inclusion on the widget management page and the Shashin admin pages.
Method getAdminMenu
Performs the requested admin action, based on the value of $_REQUEST['shashin_action'] values.
Method getAlbum
Shashin::getAlbum() in Shashin.php
Wrapper for ShashinAlbum->getAlbumMarkup()
Method getAlbum
ShashinAlbum::getAlbum() in ShashinAlbum.php
Populates a ShashinAlbum object based on an album identifier (can be a Picasa ID, album name, or Shashin key) or a passed-in array of album data.
Method getAlbumList
Wrapper for ShashinAlbum->getAlbumListMarkup()
Method getAlbumListMarkup
Returns xhtml markup for displaying album thumbnails paired with the album description, and optional other data to display. Will instead call ShashinPhoto::getAlbumPhotosMarkup() if there is an album key in the $_REQUEST.
Method getAlbumMarkup
ShashinAlbum::getAlbumMarkup() in ShashinAlbum.php
DEPRECATED - use getAlbumThumbsMarkup instead.
Method getAlbumPhotos
ShashinAlbum::getAlbumPhotos() in ShashinAlbum.php
Retrieves all photos in the shashin_photo table for an album. Must call getAlbum() first.
Method getAlbumPhotosMarkup
Static method that display thumbnails for photos in an album. Can be invoked by the salbumphotos tag, or with $_REQUEST['shashin_album_key'] when an album cover thumbnail is clicked.
Method getAlbums
ShashinAlbum::getAlbums() in ShashinAlbum.php
Retrieves data for multiple albums from the shashin_album table.
Method getAlbumThumbs
Wrapper for ShashinAlbum->getAlbumThumbsMarkup()
Method getAlbumThumbsMarkup
Returns xhtml markup for displaying album thumbnails in a table. Will instead call ShashinPhoto::getAlbumPhotosMarkup() if there is an album key in the $_REQUEST.
Method getHeadTags
Shashin::getHeadTags() in Shashin.php
Gets the Shashin CSS file, and the optional Highslide CSS and JS, for inclusion in the document head. Will get a copy of shashin.css from your theme directory if you put a custom one there.
Method getNewest
Shashin::getNewest() in Shashin.php
Wrapper for ShashinPhoto::getNewestMarkup()
Method getNewestMarkup
Translates the "snewest" Shashin tag into xhtml displaying a table of thumbnails of your newest photos (by upload date). If album keys are not provided, then it will pick from among all photos.
Method getOptionsMenu
Generates and echoes the HTML for the Shashin settings menu and sets Shashin options in WordPress.
Method getPhoto
ShashinPhoto::getPhoto() in ShashinPhoto.php
Populates a ShashinPhoto object based on an identifier (can be a Picasa ID, photo title, or Shashin key) or a passed-in array of photo data.
Method getPhotoMarkup
ShashinPhoto::getPhotoMarkup() in ShashinPhoto.php
Translates the "simage" Shashin tag into xhtml displaying the specified photo, with a hyperlink to the photo (either in Highslide or at Picasa).
Method getPhotos
ShashinPhoto::getPhotos() in ShashinPhoto.php
A static method for retrieving an arbitrary set of photos.
Method getRandom
Shashin::getRandom() in Shashin.php
Wrapper for ShashinPhoto::getRandomMarkup()
Method getRandomMarkup
Translates the "srandom" Shashin tag into xhtml displaying a table of random photos. If album keys are not provided, then it will pick from among all photos.
Method getSingle
Shashin::getSingle() in Shashin.php
Wrapper for ShashinPhoto->getPhotoMarkup()
Method getThumbs
Shashin::getThumbs() in Shashin.php
Wrapper for ShashinPhoto::getThumbsMarkup()
Method getThumbsMarkup
Static method that translates the "sthumbs" Shashin tag into an xhtml table displaying the specified thumbnails, each with a hyperlink to the photo (either in Highslide or at Picasa).
Method getUsers
ShashinAlbum::getUsers() in ShashinAlbum.php
Get all the user_names in the album table.
i
top
Variable $insideItem
ToppaXMLParser::$insideItem in ToppaXMLParser.php
Page include-message.php
include-message.php in include-message.php
Method initAdminMenus
Adds the Shashin management and option pages.
Method initWidgets
ShashinWidget::initWidgets() in ShashinWidget.php
Registers all the Shashin widgets and their controls.
Method install
Shashin::install() in Shashin.php
Updates Shashin options and creates the Shashin tables if they don't already exist.
o
top
Page options-main.php
options-main.php in options-main.php
p
top
Variable $parser
ToppaXMLParser::$parser in ToppaXMLParser.php
Method parse
ToppaXMLParser::parse() in ToppaXMLParser.php
Method parseContent
Replaces Shashin tags in posts and pages with XHTML displaying the requested images.
Method parseFeed
ToppaWPFunctions::parseFeed() in ToppaWPFunctions.php
The function is for parsing the Picasa RSS feed. It assumes an
r
top
Variable $ref_data
ShashinAlbum::$ref_data in ShashinAlbum.php
Variable $ref_data
ShashinPhoto::$ref_data in ShashinPhoto.php
Method readFeed
ToppaWPFunctions::readFeed() in ToppaWPFunctions.php
Reads an RSS feed. Uses the included ToppaXMLParser.
s
top
Method scheduledUpdate
Updates all albums once per day.
Method setAlbum
ShashinAlbum::setAlbum() in ShashinAlbum.php
Inserts or updates a Picasa album in Shashin.
Method setAlbumLocal
ShashinAlbum::setAlbumLocal() in ShashinAlbum.php
Updates local album data (i.e. data that doesn't come from the Picasa RSS feed).
Method setAlbumPhotos
ShashinAlbum::setAlbumPhotos() in ShashinAlbum.php
Inserts or updates photos for a Picasa album. Must successfully call getAlbum() or setAlbum() first.
Method setPhotoLocal
ShashinPhoto::setPhotoLocal() in ShashinPhoto.php
Updates local photo data (i.e. data that doesn't come from the Picasa RSS feed).
Method setUserAlbums
ShashinAlbum::setUserAlbums() in ShashinAlbum.php
Inserts or updates all albums for a Picasa user.
Class Shashin
Shashin in Shashin.php
The main class - directs traffic for all incoming requests.
Page Shashin.php
Shashin.php in Shashin.php
Class ShashinAlbum
ShashinAlbum in ShashinAlbum.php
Instantiate this class and use its methods to manipulate Picasa albums in Shashin. Also has a static population method, getAlbums() and a static method for generating markup, getAlbumMarkup().
Method ShashinAlbum
ShashinAlbum::ShashinAlbum() in ShashinAlbum.php
The constructor sets $this->ref_data, which is used for creating the shashin_album table, for mapping Picasa RSS feed params to table field names, and for generating form input fields.
Page ShashinAlbum.php
ShashinAlbum.php in ShashinAlbum.php
Method ShashinPhoto
ShashinPhoto::ShashinPhoto() in ShashinPhoto.php
The constructor sets $this->ref_data, which maps Picasa photo properties to ShashinPhoto object properties. It's also used for creating the shashin_photo table and for generating form input fields.
Class ShashinPhoto
ShashinPhoto in ShashinPhoto.php
For manipulating and displaying Picasa photos in Shashin.
Page ShashinPhoto.php
ShashinPhoto.php in ShashinPhoto.php
Class ShashinWidget
ShashinWidget in ShashinWidget.php
A collection of static methods for Shashin widgets.
Page ShashinWidget.php
ShashinWidget.php in ShashinWidget.php
Constant SHASHIN_ADMIN_URL
SHASHIN_ADMIN_URL in Shashin.php
Constant SHASHIN_ALBUM_RSS
SHASHIN_ALBUM_RSS in Shashin.php
Constant SHASHIN_ALBUM_TABLE
SHASHIN_ALBUM_TABLE in Shashin.php
Constant SHASHIN_ALBUM_THUMB_SIZE
Constant SHASHIN_CROP_SIZES
SHASHIN_CROP_SIZES in Shashin.php
Constant SHASHIN_DIR
SHASHIN_DIR in Shashin.php
Constant SHASHIN_DISPLAY_NAME
SHASHIN_DISPLAY_NAME in Shashin.php
Constant SHASHIN_DISPLAY_URL
SHASHIN_DISPLAY_URL in Shashin.php
Constant SHASHIN_FAQ_URL
SHASHIN_FAQ_URL in Shashin.php
Constant SHASHIN_FILE
SHASHIN_FILE in Shashin.php
Constant SHASHIN_GOOGLE_MAPS_QUERY_URL
Constant SHASHIN_GOOGLE_PLAYER_URL
Constant SHASHIN_IMAGE_SIZES
SHASHIN_IMAGE_SIZES in Shashin.php
Constant SHASHIN_L10N_NAME
SHASHIN_L10N_NAME in Shashin.php
Constant SHASHIN_OPTIONS
SHASHIN_OPTIONS in Shashin.php
Constant SHASHIN_PATH
SHASHIN_PATH in Shashin.php
Constant SHASHIN_PHOTO_TABLE
SHASHIN_PHOTO_TABLE in Shashin.php
Constant SHASHIN_PICASA_VIDEO_TYPES
Constant SHASHIN_PLUGIN_NAME
SHASHIN_PLUGIN_NAME in Shashin.php
Constant SHASHIN_USER_RSS
SHASHIN_USER_RSS in Shashin.php
Constant SHASHIN_VERSION
SHASHIN_VERSION in Shashin.php
Method sqlDelete
ToppaWPFunctions::sqlDelete() in ToppaWPFunctions.php
Creates and executes a SQL delete statement based on passed-in parameters.
Method sqlInsert
ToppaWPFunctions::sqlInsert() in ToppaWPFunctions.php
Creates and executes a SQL insert statement based on passed-in parameters.
Method sqlSelect
ToppaWPFunctions::sqlSelect() in ToppaWPFunctions.php
Creates and executes a SQL select statement based on passed-in parameters.
Method sqlUpdate
ToppaWPFunctions::sqlUpdate() in ToppaWPFunctions.php
Creates and executes a SQL update statement based on passed-in parameters.
Method startElement
ToppaXMLParser::startElement() in ToppaXMLParser.php
t
top
Variable $tag
ToppaXMLParser::$tag in ToppaXMLParser.php
Class ToppaWPFunctions
ToppaWPFunctions in ToppaWPFunctions.php
A collection of static methods facilitating common tasks for WordPress plugins.
Page ToppaWPFunctions.php
ToppaWPFunctions.php in ToppaWPFunctions.php
Method ToppaXMLParser
ToppaXMLParser::ToppaXMLParser() in ToppaXMLParser.php
Class ToppaXMLParser
ToppaXMLParser in ToppaXMLParser.php
A simple XML parser. Looks for "item" entries in the feed, and builds an array of items. Captures item values and attributes.
Page ToppaXMLParser.php
ToppaXMLParser.php in ToppaXMLParser.php
u
top
Method uninstall
Shashin::uninstall() in Shashin.php
Deletes the Shashin tables and Shashin option setttings. This is irrevocable!
Method unscheduleUpdate
Removes the hook for scheduled album syncing.
w
top
Page widget_album_thumbs.php
widget_album_thumbs.php in widget_album_thumbs.php
Page widget_newest.php
widget_newest.php in widget_newest.php
Page widget_random.php
widget_random.php in widget_random.php
Page widget_single.php
widget_single.php in widget_single.php
Page widget_thumbs.php
widget_thumbs.php in widget_thumbs.php
Method widgetAlbumThumbsControl
Displays and processes the widget control form for a table of album thumbnails.
Method widgetNewestControl
Displays and processes the widget control form for newest images.
Method widgetRandomControl
Displays and processes the widget control form for random images.
Method widgetSingleControl
Displays and processes the widget control form for single images.
Method widgetThumbsControl
Displays and processes the widget control form for a table of thumbnails.
Constant WP_CONTENT_DIR
WP_CONTENT_DIR in Shashin.php
Constant WP_CONTENT_URL
WP_CONTENT_URL in Shashin.php
Constant WP_PLUGIN_DIR
WP_PLUGIN_DIR in Shashin.php
Constant WP_PLUGIN_URL
WP_PLUGIN_URL in Shashin.php
_
top
Method _getAlbumLink
ShashinAlbum::_getAlbumLink() in ShashinAlbum.php
Generates a link to an album's photo, either at Picasa or locally, depending on the option shashin_album_photos_url. The link includes an opening anchor tag but not a closing one.
Method _getAlbumThumbTag
Generates the xhtml markup for an album thumbnail, with an appropriate link for accessing the album photos
Method _getDivMarkup
ShashinAlbum::_getDivMarkup() in ShashinAlbum.php
Generates the xhtml div for displaying an album thumbnail.
Method _getDivMarkup
ShashinPhoto::_getDivMarkup() in ShashinPhoto.php
Generates the xhtml div for displaying an image.
Method _getOrderedAlbums
Returns the requested albums in the desired order.
Method _getTableMarkup
Generates an xhtml table containing thumbnails of the the passed in albums. Note that $albums is an array of arrays of album data, not ShashinAlbum objects.
Method _getTableMarkup
Generates an xhtml table containing the passed in photos. Note that $photos is an array of arrays of photo data, not ShashinPhoto objects.
Method _htmlentities
array_walk callback method for htmlentities()
Method _isVideo
ShashinPhoto::_isVideo() in ShashinPhoto.php
Test to see whether we're dealing with a picture or a video
Method _setDimensions
ShashinPhoto::_setDimensions() in ShashinPhoto.php
Calculates the height or width for an image, based on $max. See See http://code.google.com/apis/picasaweb/reference.html for an explanation of the supported image sizes.
Method _setMaxPicasaSize
Finds the maximum possible Picasa image size for a given number of thumbnail columns. Assumes 10px of padding/margin per image.
Method _sqlEscape
ToppaWPFunctions::_sqlEscape() in ToppaWPFunctions.php
Escapes and quotes values for safe inserting/updating to the database
Method _sqlPrepare
ToppaWPFunctions::_sqlPrepare() in ToppaWPFunctions.php
Builds a properly formatted partial SQL clause of key-value pairs, with values escaped.
Method _strtolower
Shashin::_strtolower() in Shashin.php
array_walk callback method for strtolower()
Method _trim
Shashin::_trim() in Shashin.php
array_walk callback method for trim()
Method _widgetControl
ShashinWidget::_widgetControl() in ShashinWidget.php
Displays the widget control form.
Method _widgetDisplay
ShashinWidget::_widgetDisplay() in ShashinWidget.php
Extracts widget args and displays a widget.
a b c d e g i o p r s t u w _