[support] HTML helper function in Drupal
Earnie Boyd
earnie at users.sourceforge.net
Wed Feb 20 17:26:04 UTC 2008
Quoting Bojan Mihelac <bmihelac at gmail.com>:
> Hi all,
> does Drupal have some helper function for creating HTML tags, like it
> exists in Rails (and I think cakePHP)?
>
> somethin that could be called like this:
>
> $output = tag("h1", $node->title, array('class' => ''title));
>
You mean something like http://api.drupal.org/api/function/theme
Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/
More information about the support
mailing list