<?php print_r($_POST); $item_id = $_POST['item_id']; $image_id = $_POST['image_id']; GraphicSlideshowItem::ROW($item_id)->setBackground(Image::ROW($image_id));
public function getAll() { $where = "`Slideshow` = '" . Database::escape($this->getId()) . "' ORDER BY `Order`"; return GraphicSlideshowItem::SELECT($where); }