Zikula_Template_Plugins
[ class tree: Zikula_Template_Plugins ] [ index: Zikula_Template_Plugins ] [ all elements ]

Procedural File: modifier.google_highlight.php

Source Location: /system/Search/pntemplates/plugins/modifier.google_highlight.php



Page Details:

Zikula Application Framework



Tags:

author:  Jeroen de Jong <jeroen@telartis.nl>
version:  $Id: function.pagerabc.php 20883 2006-12-22 10:24:16Z markwest $
link:  http://www.zikula.org
filesource:  Source Code for this file








smarty_modifier_google_highlight [line 32]

void smarty_modifier_google_highlight( $text, $search, $contextSize)

Smarty plugin

------------------------------------------------------------- Type: modifier Name: google_highlight Version: 2.0 Date: May 7, 2007 Author: Jorn Wildt Purpose: html safe case insensitive google highlight Comments: based on work by Jeroen de Jong <jeroen@telartis.nl> based on work by Tom Anderson <toma@etree.org>

Example smarty code:

{assign var=text value="This is a <a href=this>string</a> I want to search through"} {assign var=search value="this \"to search\" through"} {$text|google_highlight:$search}

-------------------------------------------------------------




Parameters

   $text  
   $search  
   $contextSize  
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:47:48 +0200 by phpDocumentor 1.4.1