Topics

Function ipRenderWidget()

ipRenderWidget — Generate widget HTML

Description:

string ipRenderWidget ( string $widgetName , [ array $data ] , [ null $skin ] )

Generate widget HTML

Package: ImpressPages

Parameters:

string $widgetName Widget name.
array $data = array() Widget's data.
null $skin = null Widget skin name.

Return values:

string Widget HTML.

Render a widget from the data you have by hand without any drag & drop functionality. 

$html = ipRenderWidget('IpTitle', array('title' => 'My Title'));

Render a widget with specific look 

$html = ipRenderWidget('IpTitle', array('title' => 'My Title'), 'look1');

comments powered by Disqus