Class Summary | |
---|---|
Cotpl_block | CoTemplate block class |
Cotpl_data | A simple nameless block of data which may parse variables |
Cotpl_expr | CoTemplate logical expression |
Cotpl_logical | CoTemplate run-time conditional block class |
Cotpl_loop | CoTemplate FOR loop |
Cotpl_var | CoTemplate variable with callback extensions support |
XTemplate | Minimalistic XTemplate implementation for Cotonti |
Function Summary | |
---|---|
cotpl_callback_replace | Replaces $this in callback arguments with the template tag value. |
cotpl_index_glue | Glues full block name (block path for parse) from index path |
cotpl_read_file | A faster implementation of file_get_contents(). |
cotpl_tokenize | Splits a string into tokens by delimiter characters with double and single quotes support. |
Global Summary | |
---|---|
COTPL_OP_ADD | Operator "+" |
COTPL_OP_AND | Operator "AND" |
COTPL_OP_CLOSE | Operator ")" closing parenthesis |
COTPL_OP_CONTAINS | Operator "~=" contains substring |
COTPL_OP_DIV | Operator "/" |
COTPL_OP_EQ | Operator "==" |
COTPL_OP_GE | Operator ">=" |
COTPL_OP_GT | Operator ">" |
COTPL_OP_HAS | Operator "HAS" |
COTPL_OP_LE | Operator " |
COTPL_OP_LT | Operator " |
COTPL_OP_MOD | Operator "%" |
COTPL_OP_MUL | Operator "*" |
COTPL_OP_NE | Operator "!=" |
COTPL_OP_NOT | Operator "!" negation |
COTPL_OP_OPEN | Operator "(" opening parenthesis |
COTPL_OP_OR | Operator "OR" |
COTPL_OP_SUB | Operator "-" |
COTPL_OP_XOR | Operator "XOR" |