Cotpl_var
public class Cotpl_var
| Field Summary | |
|---|---|
| protected array Sequential list of callback processors | |
| protected array Sequence of keys for arrays | |
| protected string Variable name | |
| Constructor Summary | |
|---|---|
| void | __construct(string text) |
| Method Summary | |
|---|---|
| mixed | __get(string name) Property getter |
| string | TPL string representation for debugging |
| private string | dump(mixed val) Variable debug output handler for {var_name|dump} |
| private static string | dump_r(string key, mixed val, int level) Recursively fetches debug representation of a TPL variable |
| mixed | Evaluates a variable |
protected array Sequential list of callback processors $callbacks = null
protected array Sequence of keys for arrays $keys = null
protected string Variable name $name = ''
public void __construct(string text)
public mixed __get(string name)
public string __toString()
private string dump(mixed val)
private static string dump_r(string key, mixed val, int level)
public mixed evaluate(XTemplate tpl)