PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
class Template (
function assign() {
...
}
)
class AppHelper (
var $tpl;
function AppHelper($tpl) {
$this->tpl = $tpl;
}
)
$app = new AppHelper( new Template() );
$app->tpl->assign('value', 'property');