Location: PHPKode > projects > Energine > energine-2.2/core2a/modules/image/components/GalleryEditor.class.php
<?php
/**
 * Содержит класс GalleryEditor
 *
 * @package energine
 * @subpackage image
 * @author dr.Pavka
 * @copyright ColoCall 2007
 * @version $Id: GalleryEditor.class.php,v 1.7 2008/04/03 09:56:12 pavka Exp $
 */

//require_once('core/modules/share/components/Grid.class.php');

/**
 * Редактор фотогалереи
 *
 * @package energine
 * @subpackage image
 */
class GalleryEditor extends FeedEditor {
    /**
     * Конструктор класса
     *
     * @param string $name
     * @param string $module
     * @param Document $document
     * @param array $params
     * @access public
     */
    public function __construct($name, $module, Document $document, array $params = null) {
        parent::__construct($name, $module, $document, $params);
        $this->setTableName('image_photo_gallery');
        $this->setOrder(array('pg_order_num'=>QAL::ASC));
        $this->setOrderColumn('pg_order_num');
    }
}
Return current item: Energine