You are here: Re: [SMARTY] assign_integer() convenience wrapper « Smarty Templates Posts « IT news, forums, messages
Re: [SMARTY] assign_integer() convenience wrapper

Posted by Andreas Ahlenstorf on 10/06/39 11:22

Am 27.07.2005 um 19:07 schrieb Samuel Abels:

> $smarty->assign_integer('id', $_GET[id]);

If you like to have it shorter, use $smarty->assign('id', (int)$_GET
['id']). There's no need for such specialized method, above all
because everyone needs his/her own solution with casting, without
casting but with filters, with casting and with filters...

Andreas

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация