Advertisement
academo

Untitled

Jun 18th, 2011
74
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $lastClasses=$this->TopicSchedule->find('all',array('conditions' => array('TopicSchedule.date <='=>date("Y-m-d")), 'limit' => 2,'order' => 'TopicSchedule.date desc'));
Advertisement
RAW Paste Data Copied
Advertisement