Comunitatea PHP Romania
 

 
load_filter()

load_filter()

load_filter() -- load a filter plugin

Description

void load_filter ( string type, string name)

The first argument specifies the type of the filter to load and can be one of the following: pre, post or output. The second argument specifies the name of the filter plugin.

Example 13-1. Loading filter plugins

<?php

// load prefilter named 'trim'
$smarty->load_filter('pre''trim');

// load another prefilter named 'datefooter'
$smarty->load_filter('pre''datefooter');

// load output filter named 'compress'
$smarty->load_filter('output''compress');

?>

See also register_prefilter(), register_postfilter(), register_outputfilter(), $autoload_filters and advanced features.

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Top membri

Pirahna Pirahna
la birou
carco carco
Bucuresti
Birkoff Birkoff
Bucuresti
mihaitha mihaitha
Sibiu
Mascka Mascka
Braila
gabysolomon gabysolomon
Bacau
whooper whooper
Toronto ON
raul_ raul_
dechim dechim
Drobeta Turnu Severin
Amenthes Amenthes

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Paid Surveys | Car Loans | Cheap Loan | Personal Injury Attorney Los Angeles | Loans
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis