Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 4 matches
Smarty Forum Index
Author Message
  Topic: Paginator Iterator 0.1 Released
ameggiolaro

Replies: 7
Views: 30037

PostForum: Add-ons   Posted: Fri Aug 08, 2008 12:26 am   Subject: Paginator Iterator 0.1 Released
The examples are the same? AFAIK in an MVC architecture, SQL happens in the model, and not passed through the view.

Please see "example2.php" and "models/MenuModel.php"

Ander ...
  Topic: Paginator Iterator 0.1 Released
ameggiolaro

Replies: 7
Views: 30037

PostForum: Add-ons   Posted: Thu Aug 07, 2008 7:48 pm   Subject: Paginator Iterator 0.1 Released
Good stuff, although I'd recommend against passing SQL queries through the template. Depending on how well you trust your template designers, someone could do:

{p_iterator ... ds="truncate tab ...
  Topic: Paginator Iterator 0.1 Released
ameggiolaro

Replies: 7
Views: 30037

PostForum: Add-ons   Posted: Thu Aug 07, 2008 7:36 pm   Subject: Paginator Iterator 0.1 Released
Good stuff, although I'd recommend against passing SQL queries through the template. Depending on how well you trust your template designers, someone could do:

{p_iterator ... ds="truncate tab ...
  Topic: Paginator Iterator 0.1 Released
ameggiolaro

Replies: 7
Views: 30037

PostForum: Add-ons   Posted: Thu Aug 07, 2008 6:58 pm   Subject: Paginator Iterator 0.1 Released
Hello everybody, I'm new at this forum and I've wrote a add-on/plugin to Smarty called PaginatorIterator.

Features:
- Paginates results from a given SQL
- Iterates the paginated results (p_item a ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP