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 2 matches
Smarty Forum Index
Author Message
  Topic: Doubble loop to one to increase perfomace
infira

Replies: 1
Views: 5874

PostForum: Smarty Development   Posted: Tue Nov 01, 2011 8:54 am   Subject: Doubble loop to one to increase perfomace
Old way
Prepare data in php
<?php
class myClass
{
public function parseData($assignName,$ID)
{
$data = dbQuery("SELECT * FROM articles ID = $ID");
...
  Topic: assign bug
infira

Replies: 1
Views: 4969

PostForum: Bugs   Posted: Fri Oct 28, 2011 4:55 pm   Subject: assign bug
is i assign a obejct to smarty and call object method, and in the method is called assign, the assigned variable dot apply to tempalte file

<?php
class myObject
{

public $Smarty = fal ...
 
Page 1 of 1
All times are GMT
Jump to:  


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