Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
systems:cakephp:cakephp_setup_and_configuration [2015/11/02 17:26]
smayr [PHPExcel]
systems:cakephp:cakephp_setup_and_configuration [2016/05/16 14:18] (current)
smayr [Updating Model]
Line 1359: Line 1359:
 ob_end_clean();  // remove all output (very important, otherwise data is garbage) ob_end_clean();  // remove all output (very important, otherwise data is garbage)
 this->PhpExcel->output('MyExcelFile.xlsx'); this->PhpExcel->output('MyExcelFile.xlsx');
 +</code>
 +
 +== Delete Cached Models ==
 +
 +After updating a model, clear the cache to see the changes on the site. 
 +<code>
 +$ rm -f /app/tmp/cache/models/cake_model_*
 +$ rm -f /app/tmp/cache/persistent/cake_core_*
 </code> </code>