Advertisement
academo

Untitled

Jun 18th, 2011
78
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"), "TopicSchedule.course_group_id"=>$id), 'limit' => 2,'order' => 'TopicSchedule.date desc'));
Advertisement
RAW Paste Data Copied
Advertisement