News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

WaxJelly Blog:
How to write a custom Smarty function in PHP
March 16, 2007 @ 11:49:00

New from the WaxJeely blog today, there's a post that steps you through the creation of a custom Smarty function in PHP.

In this tutorial, we'll write our first custom smarty, and get the ball rolling in the right direction for being able to do pretty much anything you want to do with...okay, this post is going to say "Smarty" a lot, in case you can't already tell. Let's get started.

They go through where to find and put your files, what the class will be doing, and how to use the new functionality. There's three files involved - an index.php, a template file, and a file for the function itself.

0 comments voice your opinion now!
custom smarty template function index tutorial custom smarty template function index tutorial


blog comments powered by Disqus

Similar Posts

Community News: OgoProject Wants to Clean Up PHP

Pádraic Brady's Blog: Complex Views with the Zend Framework - Part 3: Composite View Pattern

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 10)

Stefan Mischook's Blog: Object Oriented PHP Tutorial in PDF

NetTuts.com: How to Use the Nettuts+ Phing Build Script


Community Events

Don't see your event here?
Let us know!


framework api opinion extension laravel voicesoftheelephpant php7 unittest laravel5 community release interview version install language podcast series example xdebug introduction

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework