Свойство | Type | Description | |
---|---|---|---|
$_autoRender | string | Determine if this widget will be automatically rendered, or if it is the calling code's responsibility to render it. | |
$_params | array | . | |
$_style | array | Holds the style definition for the gallery this view is for (or the image's parent gallery if this is for an image view). | |
$_supported_views | array | List of views this widget supports. Assume we support both. Concrete classes should override this if this is not the case. | |
$_title | string | Title for this widget. | |
$_view | Ansel_View | Reference to the Ansel_View we are attaching to |
Méthode | Description | |
---|---|---|
__construct ( array $params ) : Ansel_Widget | Constructor render style | |
__get ( $property ) | ||
attach ( Ansel_View_Base $view ) : boolean | Attach this widget to the passed in view. Normally called by the Ansel_View once this widget is added. | |
html ( ) | Get the HTML for this widget |
Méthode | Description | |
---|---|---|
_htmlBegin ( ) : string | Default HTML for the beginning of the widget. | |
_htmlEnd ( ) : string | Default HTML for the end of the widget. | |
isSupported ( string $view ) : boolean | Determine if a particular view (Image, Gallery etc. |
public __construct ( array $params ) : Ansel_Widget | ||
$params | array | |
Résultat | Ansel_Widget |
protected _htmlBegin ( ) : string | ||
Résultat | string |
protected isSupported ( string $view ) : boolean | ||
$view | string | The view to check |
Résultat | boolean |
protected string $_autoRender | ||
Résultat | string |
protected array $_style | ||
Résultat | array |
protected array $_supported_views | ||
Résultat | array |