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

  • AdjustImage
  • AdjustThumbnail
  • EditBlock
  • GalleryBlock
  • GalleryController
  • Hooks
  • Image
  • ImageUpload
  • ManageBlock
  • Model
  • Module
  • NodeRelation
  • PopImage
  • PopOrUploadImage
  • SaveOperation
  • Thumbnail
  • ThumbnailDecorator
  • ThumbnailOperation
  • UploadImage
  • UploadOperation

Class Thumbnail

Representation of an image thumbnail.

ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
Extended by ICanBoogie\Modules\Thumbnailer\Thumbnail
Extended by Icybee\Modules\Images\Thumbnail
Namespace: Icybee\Modules\Images
Located at vendor/icanboogie-modules/images/lib/thumbnail.php

Methods summary

protected string
# get_url( )

Returns the thumbnail URL.

Returns the thumbnail URL.

Returns

string
The thumbnail URL.

Overrides

ICanBoogie\Modules\Thumbnailer\Thumbnail::get_url
public Brickrouge\Element
# to_element( array $attributes = [] )

Convert the thumbnail into a IMG element.

Convert the thumbnail into a IMG element.

The width and height attribute of the element are defined whenever possible. The alt attribute is also defined if the image src is an Image active record.

Parameters

$attributes
array
$attributes Additionnal attributes to create the Element instance.

Returns

Brickrouge\Element

Overrides

ICanBoogie\Modules\Thumbnailer\Thumbnail::to_element

Methods inherited from ICanBoogie\Modules\Thumbnailer\Thumbnail

__construct(), __get(), __set(), __toString(), format_options_as_path(), format_options_as_query_string(), get_filtered_options(), get_final_size(), get_url_base(), get_version()

Methods inherited from ICanBoogie\Object

from(), resolve_facade_properties(), resolve_private_properties(), to_array(), to_json()

Methods inherited from ICanBoogie\ToArrayRecursive

to_array_recursive()

Methods used from ICanBoogie\ToArrayRecursiveTrait

to_array_recursive()

Methods used from ICanBoogie\PrototypeTrait

__call(), __sleep(), __wakeup(), get_prototype(), has_method(), has_property(), last_chance_get(), last_chance_set()

Magic methods summary

Properties summary

Properties inherited from ICanBoogie\Modules\Thumbnailer\Thumbnail

$options, $src, $version_name

Magic properties inherited from ICanBoogie\Modules\Thumbnailer\Thumbnail

$f, $filtered_options, $final_size, $format, $h, $height, $m, $method, $options, $url, $url_base, $v, $version, $w, $width

Magic properties inherited from ICanBoogie\Object

$prototype

Autodoc API documentation generated by ApiGen 2.8.0