<?php

require_once 'SwatDB/SwatDBRecordsetWrapper.php';
require_once 'Site/dataobjects/SiteVideoMedia.php';

/**
 * A simple recordset wrapper class for SiteVideoMedia objects that doesn't
 * do any pre-loading of sub-dataobjects.
 *
 * This is useful for cases where you just want the basic media data
 *
 * @package   Site
 * @copyright 2013 silverorange
 * @license   http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
 * @see       SiteVideoMedia
 */
class SiteSimpleVideoMediaWrapper extends SwatDBRecordsetWrapper
{
	// {{{ protected function init()

	protected function init()
	{
		parent::init();

		$this->row_wrapper_class =
			SwatDBClassMap::get('SiteVideoMedia');

		$this->index_field = 'id';
	}

	// }}}
}

?>

Add a simple video media wrapper
Add a simple video media wrapper


svn commit r80020
