Need help to understand Jhtml::_

253 views
Skip to first unread message

Zubair Hussain

unread,
May 17, 2012, 5:44:27 AM5/17/12
to joomla-...@googlegroups.com
Please, someone can shed some light or refer me some documentation or links so I can understand  below lines  of codes which are taken from a tutorial for designing back-end forms. 

 JHtml::_('grid.id', $i, $item->item_id); 

Html::_('jgrid.published',
$item->published, $i, 'activities.', true, 'cb');


Regards

Zubair Hussain


polbadman pdm

unread,
May 17, 2012, 8:40:28 AM5/17/12
to Joomla! CMS Development
salam,hi
in framework 1.5 have:method "_"is:

Class loader method (_)

Additional arguments may be supplied and are passed to the sub-class.
Additional include paths are also able to be specified for third-party
use

void _ (string $type)

string $type: The name of helper method to load, (prefix).
(class).function prefix and class are optional and can be used to load
custom html helpers.


On May 17, 1:44 pm, Zubair Hussain <zub...@vuzs.net> wrote:
> *Please, someone can shed some light or refer me some documentation or
> links so I can understand  below lines  of codes which are taken from
> a tutorial for designing back-end forms. *
> *
> *
> * JHtml::_('grid.id', $i, $item->item_id);
> *
> *
> *
> *
> Html::_('jgrid.published',
> $item->published, $i, 'activities.', true, 'cb');
> *
> *
> *
>
> Regards
>
> Zubair Hussain
> *
> *
Reply all
Reply to author
Forward
0 new messages