Пример #1
0
 public function update($id, Slide $slide)
 {
     $this->_access->update(StudyPressDB::getTableNameSlide(), array(StudyPressDB::COL_NAME_SLIDE => $slide->name(), StudyPressDB::COL_CONTENT_SLIDE => $slide->content(), StudyPressDB::COL_ID_LESSON_SLIDE => $slide->courseId(), StudyPressDB::COL_ORDER_SLIDE => $slide->order()), array(StudyPressDB::COL_ID_SLIDE => $id));
 }