Webylon 3.2 API Docs
  • Package
  • Class
  • Tree
  • Deprecated
  • Download
Version: current
  • 3.2
  • 3.1

Packages

  • 1c
    • exchange
      • catalog
  • auth
  • Booking
  • building
    • company
  • cart
    • shipping
    • steppedcheckout
  • Catalog
    • monument
  • cms
    • assets
    • batchaction
    • batchactions
    • bulkloading
    • comments
    • content
    • core
    • export
    • newsletter
    • publishers
    • reports
    • security
    • tasks
  • Dashboard
  • DataObjectManager
  • event
  • faq
  • forms
    • actions
    • core
    • fields-basic
    • fields-dataless
    • fields-datetime
    • fields-files
    • fields-formatted
    • fields-formattedinput
    • fields-relational
    • fields-structural
    • transformations
    • validators
  • googlesitemaps
  • guestbook
  • installer
  • newsletter
  • None
  • photo
    • gallery
  • PHP
  • polls
  • recaptcha
  • sapphire
    • api
    • bulkloading
    • control
    • core
    • cron
    • dev
    • email
    • fields-formattedinput
    • filesystem
    • formatters
    • forms
    • i18n
    • integration
    • misc
    • model
    • parsers
    • search
    • security
    • tasks
    • testing
    • tools
    • validation
    • view
    • widgets
  • seo
    • open
      • graph
  • sfDateTimePlugin
  • spamprotection
  • stealth
    • captha
  • subsites
  • userform
    • pagetypes
  • userforms
  • webylon
  • widgets

Classes

  • Archive
  • File
  • Filesystem
  • FlushGeneratedImagesTask
  • FLV
  • Folder
  • Folder_UnusedAssetsField
  • GD
  • Image
  • Image_Cached
  • MediawebPage_Image
  • MP3
  • SaveFileSizeTask
  • TarballArchive
  • Upload
  • Upload_Validator
  • VideoFile

Class Image_Cached

A resized / processed Image object. When Image object are processed or resized, a suitable Image_Cached object is returned, pointing to the cached copy of the processed image.

Object
Extended by ViewableData implements IteratorAggregate
Extended by DataObject implements DataObjectInterface, i18nEntityProvider
Extended by File
Extended by Image
Extended by Image_Cached
Package: sapphire\filesystem
Located at sapphire/core/model/Image.php

Methods summary

public
# __construct( string $filename = null, boolean $isSingleton = false )

Create a new cached image.

Create a new cached image.

Parameters

$filename
string $filename The filename of the image.
$isSingleton
boolean $isSingleton This this to true if this is a singleton() object, a stub for calling methods. Singletons don't have their defaults set.

Overrides

DataObject::__construct
public String
# getRelativePath( )

Returns

Returns

Returns

String
String

Overrides

File::getRelativePath
public
# requireTable( )

Check the database schema and update it as necessary.

Check the database schema and update it as necessary.

Uses

DataObjectDecorator::augmentDatabase()

Overrides

DataObject::requireTable
public string
# debug( )

Debugging used by Debug::show()

Debugging used by Debug::show()

Returns

string
HTML data representing this object

Overrides

DataObject::debug

Methods inherited from Image

CMSThumbnail(), SetHeight(), SetRatioSize(), SetSize(), SetWidth(), cacheFilename(), defineMethods(), deleteFormattedImages(), exists(), forTemplate(), generateAssetLibraryPreview(), generateAssetLibraryThumbnail(), generateCMSThumbnail(), generateCroppedImage(), generateFormattedImage(), generatePaddedImage(), generateResizedImage(), generateRotateClockwise(), generateRotateCounterClockwise(), generateSetHeight(), generateSetRatioSize(), generateSetSize(), generateSetWidth(), generateStripThumbnail(), getDimensions(), getFormattedImage(), getHeight(), getOrientation(), getSVGContent(), getTag(), getWidth(), loadUploadedImage(), onBeforeDelete(), resetFilename()

Methods inherited from File

BackLinkTrackingCount(), DeleteLink(), Icon(), Link(), RelativeLink(), TreeTitle(), appCategory(), autosetFilename(), canCreate(), canDelete(), canEdit(), canView(), collateDescendants(), deleteDatabaseOnly(), fieldLabels(), find(), flushCache(), format_size(), getAbsoluteSize(), getAbsoluteURL(), getExtension(), getFileType(), getFilename(), getFullPath(), getLinkedURL(), getSize(), getURL(), getUsageCount(), get_file_extension(), instance_get(), onAfterDelete(), onAfterUpload(), onBeforeWrite(), setField(), setFilename(), setName(), setParentID(), updateLinks(), uploadMetadataFields(), validate()

Methods inherited from DataObject

Aggregate(), RelationshipAggregate(), baseTable(), belongs_to(), buildDataObjectSet(), buildSQL(), can(), castedUpdate(), composite_fields(), context_obj(), customDatabaseFields(), custom_database_fields(), data(), databaseFields(), databaseIndexes(), database_extensions(), database_fields(), db(), dbObject(), defaultSearchFilters(), delete(), delete_by_id(), destroy(), disableCMSFieldsExtensions(), disable_subclass_access(), duplicate(), enableCMSFieldsExtensions(), enable_subclass_access(), extendedSQL(), fieldLabel(), flush_and_destroy_cache(), forceChange(), get(), getAllFields(), getCMSActions(), getCMSFields(), getChangedFields(), getClassAncestry(), getComponent(), getComponents(), getComponentsQuery(), getDefaultSearchContext(), getField(), getFrontEndFields(), getManyManyComponents(), getManyManyComponentsQuery(), getManyManyFilter(), getManyManyJoin(), getRemoteJoinField(), getReverseAssociation(), getTitle(), get_by_id(), get_one(), get_validation_enabled(), hasDatabaseField(), hasField(), hasOwnTableDatabaseField(), hasValue(), has_many(), has_one(), has_own_table(), i18n_plural_name(), i18n_singular_name(), inheritedDatabaseFields(), instance_get_one(), isChanged(), isEmpty(), isInDB(), is_composite_field(), many_many(), many_many_extraFields(), merge(), newClassInstance(), onAfterWrite(), plural_name(), populateDefaults(), provideI18nEntities(), relObject(), requireDefaultRecords(), reset(), scaffoldFormFields(), scaffoldSearchFields(), searchableFields(), setCastedField(), setClassName(), setComponent(), set_context_obj(), set_validation_enabled(), singular_name(), summaryFields(), toMap(), update(), write(), writeComponents(), writeWithoutVersion()

Methods inherited from ViewableData

ATT_val(), BaseHref(), CSSClasses(), ColumnBreak(), ColumnCalc(), ColumnNumber(), ColumnPad(), ColumnPos(), CurrentMember(), CurrentPage(), Debug(), Even(), EvenOdd(), First(), FirstLast(), HasPerm(), IsAjax(), JS_val(), Last(), Me(), Middle(), MiddleString(), Modulus(), MultipleOf(), Odd(), Pos(), RAW_val(), SQL_val(), ThemeDir(), ThemeName(), Top(), TotalItems(), XML_val(), __get(), __isset(), __set(), buildCastingCache(), cachedCall(), castingClass(), castingHelper(), castingHelperPair(), castingObjectCreator(), castingObjectCreatorPair(), customise(), escapeTypeForField(), getIterator(), getSecurityID(), getXMLValues(), i18nLocale(), iteratorProperties(), obj(), renderWith(), setCustomisedObj()

Methods inherited from Object

__call(), __toString(), __wakeup(), addMethodsFrom(), addStaticVars(), addWrapperMethod(), add_extension(), add_static_var(), allMethodNames(), cacheToFile(), cacheToFileWithArgs(), clearCache(), combined_static(), create(), createMethod(), create_from_string(), extInstance(), extend(), getCustomClass(), getExtensionInstance(), getExtensionInstances(), get_extensions(), get_static(), hasExtension(), hasMethod(), has_extension(), invokeWithExtensions(), is_a(), loadCache(), parentClass(), parse_class_spec(), remove_extension(), sanitiseCachename(), saveCache(), set_stat(), set_static(), set_uninherited(), stat(), strong_create(), uninherited(), uninherited_static(), useCustomClass()

Magic methods summary

Constants summary

Constants inherited from Image

ORIENTATION_LANDSCAPE, ORIENTATION_PORTRAIT, ORIENTATION_SQUARE

Properties summary

Properties inherited from Image

$asset_popup_size, $asset_preview_height, $asset_preview_width, $asset_thumbnail_height, $asset_thumbnail_width, $casting, $cms_thumbnail_height, $cms_thumbnail_width, $safeGenerateFormats, $strip_thumbnail_height, $strip_thumbnail_width

Properties inherited from File

$allowed_extensions, $apply_restrictions_to_admin, $belongs_many_many, $cache_file_fields, $db, $default_sort, $defaults, $extensions, $has_many, $has_one, $indexes, $many_many, $plural_name, $singular_name

Properties inherited from DataObject

$allowed_actions, $ancestry, $api_access, $belongs_to, $brokenOnDelete, $brokenOnWrite, $cache_get_one, $cache_has_own_table, $cache_has_own_table_field, $componentCache, $components, $create_table_options, $default_records, $destroyed, $field_labels, $many_many_extraFields, $original, $record, $searchable_fields, $summary_fields

Properties inherited from ViewableData

$customisedObject, $default_cast, $failover, $iteratorPos, $iteratorTotalItems

Properties inherited from Object

$class, $extension_instances

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -
Webylon 3.2 API Docs API documentation generated by ApiGen 2.8.0