Autodoc
  • Namespace
  • Class
  • Tree

Namespaces

  • BlueTihi
    • Context
  • Brickrouge
    • Element
      • Nodes
    • Renderer
    • Widget
  • ICanBoogie
    • ActiveRecord
    • AutoConfig
    • CLDR
    • Composer
    • Core
    • Event
    • Exception
    • HTTP
      • Dispatcher
      • Request
    • I18n
      • Translator
    • Mailer
    • Modules
      • Taxonomy
        • Support
      • Thumbnailer
        • Versions
    • Object
    • Operation
      • Dispatcher
    • Prototype
    • Routes
    • Routing
      • Dispatcher
    • Session
  • Icybee
    • ActiveRecord
      • Model
    • ConfigOperation
    • Document
    • EditBlock
    • Element
      • ActionbarContextual
      • ActionbarSearch
      • ActionbarToolbar
    • FormBlock
    • Installer
    • ManageBlock
    • Modules
      • Articles
      • Cache
        • Collection
        • ManageBlock
      • Comments
        • ManageBlock
      • Contents
        • ManageBlock
      • Dashboard
      • Editor
        • Collection
      • Files
        • File
        • ManageBlock
      • Forms
        • Form
        • ManageBlock
      • I18n
      • Images
        • ManageBlock
      • Members
      • Modules
        • ManageBlock
      • Nodes
        • ManageBlock
        • Module
      • Pages
        • BreadcrumbElement
        • LanguagesElement
        • ManageBlock
        • NavigationBranchElement
        • NavigationElement
        • Page
        • PageController
      • Registry
      • Search
      • Seo
      • Sites
        • ManageBlock
      • Taxonomy
        • Terms
          • ManageBlock
        • Vocabulary
          • ManageBlock
      • Users
        • ManageBlock
        • NonceLogin
        • Roles
      • Views
        • ActiveRecordProvider
        • Collection
        • View
    • Operation
      • ActiveRecord
      • Constructor
      • Module
      • Widget
    • Rendering
  • None
  • Patron
  • PHP

Classes

  • AdjustThumbnailOptions
  • AdjustThumbnailVersion
  • CacheManager
  • GetOperation
  • Hooks
  • Module
  • PopThumbnailVersion
  • Thumbnail
  • Version
  • Versions

Exceptions

  • VersionNotDefined

Constants

  • CACHE_VERSIONS

Class Versions

ICanBoogie\Modules\Thumbnailer\Versions implements ArrayAccess, IteratorAggregate
Namespace: ICanBoogie\Modules\Thumbnailer
Located at vendor/icanboogie-modules/thumbnailer/lib/versions.php

Methods summary

public static
# prototype_get_thumbnailer_versions( ICanBoogie\Core $core )

Creates a ICanBoogie\Modules\Thumbnailer\Versions instance and initializes it with the defined versions.

Creates a ICanBoogie\Modules\Thumbnailer\Versions instance and initializes it with the defined versions.

The event ICanBoogie\Modules\Thumbnailer\Versions::alter of class ICanBoogie\Modules\Thumbnailer\Versions\AlterEvent is fired to allow third parties to alter the instance.

Parameters

$core
ICanBoogie\Core
$core
public
# __construct( array $versions = array() )

Initializes the specified versions.

Initializes the specified versions.

Parameters

$versions
array
$versions
public
# save( )

Saves the versions.

Saves the versions.

public array
# save_version( string $name, ICanBoogie\Modules\Thumbnailer\Version|array|string $version )

Persists a version.

Persists a version.

Parameters

$name
string
$name Name of the version.
$version
ICanBoogie\Modules\Thumbnailer\Version|array|string
$version Version to persist. The version can be specified as a ICanBoogie\Modules\Thumbnailer\Version instance, an array or as a string (a serialized version).

Returns

array
The options actually saved.
public
# offsetExists( mixed $version )

Checks if a version exists.

Checks if a version exists.

Implementation of

ArrayAccess::offsetExists()
public
# offsetGet( mixed $version )

Returns the definition of a version.

Returns the definition of a version.

Throws

ICanBoogie\Modules\Thumbnailer\VersionNotDefined
in attempt to get a version that is not defined.

Implementation of

ArrayAccess::offsetGet()
public
# offsetSet( string $version, array[string]mixed $options )

Sets a version.

Sets a version.

Parameters

$version
string
$version Name of the version
$options
array[string]mixed
Options of the version.

Implementation of

ArrayAccess::offsetSet()
public
# offsetUnset( mixed $version )

Deletes a version.

Deletes a version.

Implementation of

ArrayAccess::offsetUnset()
public
# getIterator( )

Implementation of

IteratorAggregate::getIterator()

Magic methods summary

Properties summary

protected array[string]mixed $versions
#

Defined versions.

Defined versions.

Autodoc API documentation generated by ApiGen 2.8.0