Comments: on this page. Click to read or post your own.
Represents an image attached to a page.
Located in /sapphire/core/model/Image.php (line 7)
Object | --ViewableData | --DataObject | --File | --Image
| Class | Description |
|---|---|
| Image_Cached | A resized / processed Image object. |
| Product_Image | Class to support product images |
The height of an image preview in the Asset section.
The width of an image preview in the Asset section.
The height of an image thumbnail in the Asset section.
The width of an image thumbnail in the Asset section.
The height of an image thumbnail in the CMS.
The width of an image thumbnail in the CMS.
The height of an image thumbnail in a strip.
The width of an image thumbnail in a strip.
Inherited from File
File::$belongs_many_many
File::$cache_file_fields
File::$db
File::$default_sort
File::$extensions
File::$has_one
File::$indexes
File::$plural_name
File::$singular_name
Inherited from DataObject
DataObject::$ancestry
DataObject::$api_access
DataObject::$brokenOnDelete
DataObject::$brokenOnWrite
DataObject::$cache_get_one
DataObject::$changed
DataObject::$componentCache
DataObject::$components
DataObject::$defaults
DataObject::$default_records
DataObject::$destroyed
DataObject::$field_labels
DataObject::$has_many
DataObject::$many_many
DataObject::$many_many_extraFields
DataObject::$original
DataObject::$record
DataObject::$searchable_fields
DataObject::$summary_fields
Inherited from ViewableData
ViewableData::$castingHelperPair_cache
ViewableData::$customisedObj
ViewableData::$failover
ViewableData::$iteratorPos
ViewableData::$iteratorTotalItems
ViewableData::$namedAs
ViewableData::$parent
ViewableData::$_natural_cache
ViewableData::$_object_cache
ViewableData::$_xml_cache
Inherited from Object
Object::$builtInMethods
Object::$class
Object::$classConstructed
Object::$extension_instances
Object::$extraMethods
Object::$extraStatics
Object::$statics
Object::$static_cached
Return the filename for the cached image, given it's format name and arguments.
Set up template methods to access the transformations generated by 'generate' methods.
Remove all of the formatted cached images.
Should be called by any method that updates the current image.
An image exists if it has a filename.
Return an XHTML img tag for this Image.
Resize this image for preview in the Asset section. Use in templates with $AssetLibraryPreview.
Resize this image for thumbnail in the Asset section. Use in templates with $AssetLibraryThumbnail.
Resize this image for the CMS. Use in templates with $CMSThumbnail.
Generate a resized copy of this image with the given width & height, cropping to maintain aspect ratio.
Use in templates with $CroppedImage
Generate an image on the specified format. It will save the image at the location specified by cacheFilename(). The image will be generated using the specific 'generate' method for the specified format.
Generate a resized copy of this image with the given width & height.
Use in templates with $ResizedImage.
Resize this Image by height, keeping aspect ratio. Use in templates with $SetHeight.
Resize this Image by both width and height, using padded resize. Use in templates with $SetSize.
Resize this Image by width, keeping aspect ratio. Use in templates with $SetWidth.
Resize this image for use as a thumbnail in a strip. Use in templates with $StripThumbnail.
Get the dimensions of this Image.
Return an image object representing the image in the given format.
This image will be generated using generateFormattedImage(). The generated image is cached, to flush the cache append ?flush=1 to your URL.
Get the height of this image.
Return an XHTML img tag for this Image.
Get the relative URL for this Image.
Overwrites File->URL() which returns an absolute URL.
Get the width of this image.
Load a recently uploaded image into this image field.
Inherited From File
File::appCategory()
File::autosetFilename()
File::CMSThumbnail()
File::collateDescendants()
File::deleteDatabaseOnly()
File::DeleteLink()
File::find()
File::flushCache()
File::format_size()
File::getAbsoluteSize()
File::getAbsoluteURL()
File::getExtension()
File::getFilename()
File::getFileType()
File::getFullPath()
File::getLinkedURL()
File::getRelativePath()
File::getSize()
File::getURL()
File::get_file_extension()
File::Icon()
File::instance_get()
File::Link()
File::loadUploaded()
File::onBeforeDelete()
File::onBeforeWrite()
File::RelativeLink()
File::resetFilename()
File::setField()
File::setFilename()
File::setName()
File::setParentID()
File::TreeTitle()
File::updateLinks()
File::userCanEdit()
Inherited From DataObject
DataObject::__construct()
DataObject::baseTable()
DataObject::buildDataObjectSet()
DataObject::buildSQL()
DataObject::can()
DataObject::canCreate()
DataObject::canDelete()
DataObject::canEdit()
DataObject::canView()
DataObject::castedUpdate()
DataObject::context_obj()
DataObject::createComponent()
DataObject::customDatabaseFields()
DataObject::data()
DataObject::databaseFields()
DataObject::databaseIndexes()
DataObject::db()
DataObject::dbObject()
DataObject::debug()
DataObject::defaultSearchFilters()
DataObject::defineMethods()
DataObject::delete()
DataObject::delete_by_id()
DataObject::destroy()
DataObject::disable_subclass_access()
DataObject::duplicate()
DataObject::enable_subclass_access()
DataObject::exists()
DataObject::extendedSQL()
DataObject::fieldExists()
DataObject::fieldLabel()
DataObject::fieldLabels()
DataObject::filledOut()
DataObject::flushCache()
DataObject::forceChange()
DataObject::get()
DataObject::getAllFields()
DataObject::getChangedFields()
DataObject::getClassAncestry()
DataObject::getCMSFields()
DataObject::getComponent()
DataObject::getComponentJoinField()
DataObject::getComponents()
DataObject::getComponentsQuery()
DataObject::getDefaultSearchContext()
DataObject::getField()
DataObject::getFrontEndFields()
DataObject::getManyManyComponents()
DataObject::getManyManyComponentsQuery()
DataObject::getManyManyFilter()
DataObject::getManyManyJoin()
DataObject::getReverseAssociation()
DataObject::getTitle()
DataObject::get_by_id()
DataObject::get_by_url()
DataObject::get_one()
DataObject::hasDatabaseField()
DataObject::hasField()
DataObject::hasOwnTableDatabaseField()
DataObject::has_many()
DataObject::has_one()
DataObject::i18n_plural_name()
DataObject::i18n_singular_name()
DataObject::inheritedDatabaseFields()
DataObject::instance_get()
DataObject::instance_get_one()
DataObject::isEmpty()
DataObject::isInDB()
DataObject::listOfFields()
DataObject::many_many()
DataObject::merge()
DataObject::newClassInstance()
DataObject::onAfterWrite()
DataObject::onBeforeDelete()
DataObject::onBeforeWrite()
DataObject::plural_name()
DataObject::populateDefaults()
DataObject::relObject()
DataObject::requireDefaultRecords()
DataObject::requireTable()
DataObject::scaffoldFormFields()
DataObject::scaffoldSearchFields()
DataObject::searchableFields()
DataObject::setCastedField()
DataObject::setClassName()
DataObject::setComponent()
DataObject::setField()
DataObject::set_context_obj()
DataObject::singular_name()
DataObject::summaryFields()
DataObject::toMap()
DataObject::update()
DataObject::validate()
DataObject::write()
DataObject::writeComponents()
DataObject::writeWithoutVersion()
Inherited From ViewableData
ViewableData::ATT_val()
ViewableData::BaseHref()
ViewableData::buildCastingHelperCache()
ViewableData::cachedCall()
ViewableData::castingHelper()
ViewableData::castingHelperPair()
ViewableData::castingObjectCreator()
ViewableData::castingObjectCreatorPair()
ViewableData::CSSClasses()
ViewableData::CurrentMember()
ViewableData::CurrentPage()
ViewableData::customise()
ViewableData::Debug()
ViewableData::defineMethods()
ViewableData::escapeTypeForField()
ViewableData::Even()
ViewableData::EvenOdd()
ViewableData::First()
ViewableData::FirstLast()
ViewableData::getField()
ViewableData::getIterator()
ViewableData::getXMLValues()
ViewableData::hasField()
ViewableData::HasPerm()
ViewableData::hasValue()
ViewableData::i18nLocale()
ViewableData::IsAjax()
ViewableData::iteratorProperties()
ViewableData::JS_val()
ViewableData::Last()
ViewableData::Me()
ViewableData::Middle()
ViewableData::MiddleString()
ViewableData::obj()
ViewableData::Odd()
ViewableData::Pos()
ViewableData::RAW_val()
ViewableData::renderWith()
ViewableData::SecurityID()
ViewableData::setCustomisedObj()
ViewableData::setField()
ViewableData::SQL_val()
ViewableData::ThemeDir()
ViewableData::Top()
ViewableData::TotalItems()
ViewableData::val()
ViewableData::XML_val()
ViewableData::__get()
ViewableData::__isset()
ViewableData::__set()
Inherited From Object
Object::__construct()
Object::addMethodsFrom()
Object::addStaticVars()
Object::addWrapperMethod()
Object::add_extension()
Object::allMethodNames()
Object::buildMethodList()
Object::cacheToFile()
Object::cacheToFileWithArgs()
Object::create()
Object::createMethod()
Object::defineMethods()
Object::exists()
Object::extend()
Object::extInstance()
Object::getCustomClass()
Object::hasExtension()
Object::hasMethod()
Object::invokeWithExtensions()
Object::is_a()
Object::loadCache()
Object::parentClass()
Object::sanitiseCachename()
Object::saveCache()
Object::set_stat()
Object::set_uninherited()
Object::stat()
Object::strong_create()
Object::uninherited()
Object::useCustomClass()
Object::__call()
Object::__toString()
Documentation generated on Sun, 19 Oct 2008 06:42:17 +1300 by phpDocumentor 1.3.2