Commits

K'iin Balam  committed b466a79

Fix the code Highlighted

  • Participants
  • Parent commits 9fb36f3

Comments (0)

Files changed (2)

 5. Agrega YiiReport a los imports:
 
 ~~~
+[php]
 ...
 'import'=>array(
     ...
 ## Uso
 
 ~~~
-    $r = new YiiReport(array('template'=> someTemplate.xls));
-    $r->load(array(...));
-    echo $r->render(format, name);
+[php]
+$r = new YiiReport(array('template'=> someTemplate.xls));
+$r->load(array(...));
+echo $r->render(format, name);
 ~~~
 
 ## Notas
 5. Add YiiReport to imports:
 
 ~~~
+[php]
 ...
 'import'=>array(
     ...
 ## Usage
 
 ~~~
-    $r = new YiiReport(array('template'=> someTemplate.xls));
-    $r->load(array(...));
-    echo $r->render(format, name);
+[php]
+$r = new YiiReport(array('template'=> someTemplate.xls));
+$r->load(array(...));
+echo $r->render(format, name);
 ~~~
 
 ## Notes