Overview

Namespaces

  • EmbedlyModule
    • Service
    • View
      • Helper

Classes

  • EmbedlyHelper
  • EmbedlyHelperFactory
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class EmbedlyHelper

Zend\View\Helper\AbstractHelper
Extended by EmbedlyModule\View\Helper\EmbedlyHelper
Namespace: EmbedlyModule\View\Helper
Located at src/EmbedlyModule/View/Helper/EmbedlyHelper.php
Methods summary
public
# __construct( EmanueleMinotto\Embedly\Client $client )

Constructor with required Embedly client.

Constructor with required Embedly client.

Parameters

$client
Required client.
public string
# __invoke( string $method, array $options )

Used only as a shortcut for the display method (based on global config).

Used only as a shortcut for the display method (based on global config).

Parameters

$method
Display method, can be crop, resize, fill or empty.
$options
Request options.

Returns

string
Base 64 encoded image URI.

Link

http://embed.ly/docs/api/display/endpoints/1/display
http://embed.ly/docs/api/display/endpoints/1/display/crop
http://embed.ly/docs/api/display/endpoints/1/display/fill
http://embed.ly/docs/api/display/endpoints/1/display/resize
API documentation generated by ApiGen