DaDeViL
August 2nd, 2003, 06:26 PM
I have this code but i have no idea what it means..
I know the first line makes a new object of template and call is $t but i dont know what set_file and set_block do and im not familiar with this ( -> ) type of syntax..
$t = new Template(".", "keep");
$t->set_file('insert', "./templates/insert_todo.ihtml");
$t->set_block('insert', 'DATE_SELECT', 'date_select');
Thanks
I know the first line makes a new object of template and call is $t but i dont know what set_file and set_block do and im not familiar with this ( -> ) type of syntax..
$t = new Template(".", "keep");
$t->set_file('insert', "./templates/insert_todo.ihtml");
$t->set_block('insert', 'DATE_SELECT', 'date_select');
Thanks