php-loep/Plates — pull request #2 by SxDx (2013-11-18 19:31:27+00:00)
Title: Assign variables within templates using arrays

Hey,

I thought it would be beneficial to assign Data within Templates using an Array, which allows for a more concise code when assigning more than one variable.

name = 'Jonathan' ?>
gender = 'Male' ?>
insert(user::profile') ?>

vs.

insert('user::profile, array('name' => 'Jonathan, 'gender' => 'male')) ?>