\seekquarry\yioop\views\helpersVideourlHelper

Helper used to draw thumbnails for video sites

Helpers are classes used to reduce the coding required in Views. They do some computation with the data they are supplied and output HTML/XML

Summary

Methods
Properties
Constants
__construct()
render()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

The constructor at this point does nothing

render()

render(string  $url, string  $data_url, boolean  $open_in_tabs = false) 

Used to a thumbnail for a video link.

Parameters

string $url

to video site

string $data_url

for thumbnail

boolean $open_in_tabs

whether new links should be opened in tabs