/** * Return the HTML code of the div containing the positive bookmarker tool * If the user has already bookmarked, then a message appears * * @param BaseObject $object Propel object instance to bookmark * @param string $domid unique css identifier for the block (div) containing the bookmarkr tool * @param array $options Array of HTML options to apply on the HTML list * @return string **/ function depp_positive_bookmarking_block($object, $domid = 'depp-positive-bookmarker-block', $options = array()) { return content_tag('div', depp_positive_bookmarker($object, $domid, '', $options), array('id' => $domid)); }
<?php echo use_helper('deppBookmarking'); ?> <?php echo depp_positive_bookmarker($object, $domid, $message); ?>