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 3 matches
Smarty Forum Index
Author Message
  Topic: foreach and Iterator
antickon

Replies: 1
Views: 11037

PostForum: Feature Requests   Posted: Mon Sep 12, 2011 11:07 pm   Subject: foreach and Iterator
Smarty's foreach uses ->rewind() and then iterator_count (via the internal method _count) to decide between the foreach or foreachelse clauses when confronted with an Iterator. I don't believe it i ...
  Topic: Caching of function without output
antickon

Replies: 2
Views: 5444

PostForum: Bugs   Posted: Mon Aug 08, 2011 4:36 pm   Subject: Caching of function without output
That makes sense. It might be a nice feature for an uncacheable plugin to be able to provide some compile-time info then, maybe a sixth parameter to registerPlugin could register either an array of va ...
  Topic: Caching of function without output
antickon

Replies: 2
Views: 5444

PostForum: Bugs   Posted: Mon Aug 08, 2011 2:40 am   Subject: Caching of function without output
I am encountering some problems when assigning from a custom function.

Minimal testcase I run against the latest smarty (svn):
<?php

require_once 'Smarty.class.php';

function my_plugin ...
 
Page 1 of 1
All times are GMT
Jump to:  


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