Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
<?php class SyncleonViewItems extends JView { public function display($tpl = null) { JFactory::getDocument()->setMimeEncoding("application/json"); $todo_details = $this->get('Detail'); echo json_encode($todo_details); } }
This paste will be private.
From the Design Piracy series on my blog: