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 NodeRelation

A representation of relation between an image and a node.

Namespace: Icybee\Modules\Images
Located at vendor/icanboogie-modules/images/lib/node-relation.php

Methods summary

public
# __construct( Icybee\Modules\Nodes\Node $node, Icybee\Modules\Images\Image $image )

Initializes the Icybee\Modules\Images\NodeRelation::$node and Icybee\Modules\Images\NodeRelation::$image properties.

Initializes the Icybee\Modules\Images\NodeRelation::$node and Icybee\Modules\Images\NodeRelation::$image properties.

Parameters

$node
Icybee\Modules\Nodes\Node
$node
$image
Icybee\Modules\Images\Image
$image
public
# __get( mixed $property )
public
# __set( mixed $property, mixed $value )

Throws

ICanBoogie\PropertyNotWritable
in attempt to set a property.
public
# __call( mixed $name, array $arguments )
public string
# __toString( )

Returns an HTML representation of the image.

Returns an HTML representation of the image.

Returns

string
public Icybee\Modules\Images\Thumbnail
# thumbnail( string $version, mixed $additionnal_options = null )

Returns a Icybee\Modules\Images\Thumbnail instance.

Returns a Icybee\Modules\Images\Thumbnail instance.

Parameters

$version
string
$version The version of the thumbnail. If the version starts with a column ":", it is removed and the node's constructor is prependend to the version. e.g. ":list" becomes "news-list" for a news node. This is refered to as "shorthand version".
$additionnal_options
mixed
$additionnal_options Additionnal options.

Returns

Icybee\Modules\Images\Thumbnail

Magic methods summary

Properties summary

protected mixed $node
#
protected mixed $image
#

Magic properties

public read-only Icybee\Modules\Images\Image $image
#

The image associated with the node.

The image associated with the node.

public read-only Icybee\Modules\Nodes\Node $node
#

The node.

The node.

public read-only Icybee\Modules\Images\Thumbnail $thumbnail
#

Thumbnail for the view version.

Thumbnail for the view version.

Autodoc API documentation generated by ApiGen 2.8.0