Example #1
0
<?php

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