Location: PHPKode > projects > Batavi > batavi/ext/smarty/plugin/insert.seo.php
<?php
/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */


  /**
   * file modifier.seo.php
   *
   * Smarty insert SEO plugin
   *
   * Type:     insert<br>
   * Name:     SEO<br>
   * Purpose:  insert of custom rendered dynamic info
   * @copyright Copyright (c) 2009, ICEshop BV
   * @param array of parameters
   * @param smarty object
   * @return string
   */
  function smarty_insert_seo($params, &$smarty) {
    $btv_SEO      = btv_Factory::singleton('btv_SEO');
    $method = 'renderSeo' . ucfirst($params['function']);
    if (method_exists($btv_SEO, $method)) {
      return call_user_func(array($btv_SEO, $method));
    }
    return '';
  }

?>
Return current item: Batavi