<?php

$this->arrMeta = array
(
	'engine' => 'MyISAM',
	'charset' => 'utf8',
);

$this->arrFields = array
(
	'id' => "int(10) unsigned NOT NULL auto_increment",
	'pid' => "int(10) unsigned NOT NULL default '0'",
	'ptable' => "varchar(64) NOT NULL default ''",
	'sorting' => "int(10) unsigned NOT NULL default '0'",
	'tstamp' => "int(10) unsigned NOT NULL default '0'",
	'type' => "varchar(32) NOT NULL default ''",
	'headline' => "varchar(255) NOT NULL default ''",
	'text' => "mediumtext NULL",
	'addImage' => "char(1) NOT NULL default ''",
	'singleSRC' => "binary(16) NULL",
	'alt' => "varchar(255) NOT NULL default ''",
	'title' => "varchar(255) NOT NULL default ''",
	'size' => "varchar(64) NOT NULL default ''",
	'imagemargin' => "varchar(128) NOT NULL default ''",
	'imageUrl' => "varchar(255) NOT NULL default ''",
	'fullsize' => "char(1) NOT NULL default ''",
	'caption' => "varchar(255) NOT NULL default ''",
	'floating' => "varchar(32) NOT NULL default ''",
	'html' => "mediumtext NULL",
	'listtype' => "varchar(32) NOT NULL default ''",
	'listitems' => "blob NULL",
	'tableitems' => "mediumblob NULL",
	'summary' => "varchar(255) NOT NULL default ''",
	'thead' => "char(1) NOT NULL default ''",
	'tfoot' => "char(1) NOT NULL default ''",
	'tleft' => "char(1) NOT NULL default ''",
	'sortable' => "char(1) NOT NULL default ''",
	'sortIndex' => "smallint(5) unsigned NOT NULL default '0'",
	'sortOrder' => "varchar(32) NOT NULL default ''",
	'mooHeadline' => "varchar(255) NOT NULL default ''",
	'mooStyle' => "varchar(255) NOT NULL default ''",
	'mooClasses' => "varchar(255) NOT NULL default ''",
	'highlight' => "varchar(32) NOT NULL default ''",
	'shClass' => "varchar(255) NOT NULL default ''",
	'code' => "text NULL",
	'url' => "varchar(255) NOT NULL default ''",
	'target' => "char(1) NOT NULL default ''",
	'titleText' => "varchar(255) NOT NULL default ''",
	'linkTitle' => "varchar(255) NOT NULL default ''",
	'embed' => "varchar(255) NOT NULL default ''",
	'rel' => "varchar(64) NOT NULL default ''",
	'useImage' => "char(1) NOT NULL default ''",
	'multiSRC' => "blob NULL",
	'orderSRC' => "blob NULL",
	'useHomeDir' => "char(1) NOT NULL default ''",
	'perRow' => "smallint(5) unsigned NOT NULL default '0'",
	'perPage' => "smallint(5) unsigned NOT NULL default '0'",
	'numberOfItems' => "smallint(5) unsigned NOT NULL default '0'",
	'sortBy' => "varchar(32) NOT NULL default ''",
	'metaIgnore' => "char(1) NOT NULL default ''",
	'galleryTpl' => "varchar(64) NOT NULL default ''",
	'customTpl' => "varchar(64) NOT NULL default ''",
	'playerSRC' => "blob NULL",
	'youtube' => "varchar(16) NOT NULL default ''",
	'posterSRC' => "binary(16) NULL",
	'playerSize' => "varchar(64) NOT NULL default ''",
	'autoplay' => "char(1) NOT NULL default ''",
	'sliderDelay' => "int(10) unsigned NOT NULL default '0'",
	'sliderSpeed' => "int(10) unsigned NOT NULL default '300'",
	'sliderStartSlide' => "smallint(5) unsigned NOT NULL default '0'",
	'sliderContinuous' => "char(1) NOT NULL default ''",
	'cteAlias' => "int(10) unsigned NOT NULL default '0'",
	'articleAlias' => "int(10) unsigned NOT NULL default '0'",
	'article' => "int(10) unsigned NOT NULL default '0'",
	'form' => "int(10) unsigned NOT NULL default '0'",
	'module' => "int(10) unsigned NOT NULL default '0'",
	'protected' => "char(1) NOT NULL default ''",
	'groups' => "blob NULL",
	'guests' => "char(1) NOT NULL default ''",
	'cssID' => "varchar(255) NOT NULL default ''",
	'space' => "varchar(64) NOT NULL default ''",
	'invisible' => "char(1) NOT NULL default ''",
	'start' => "varchar(10) NOT NULL default ''",
	'stop' => "varchar(10) NOT NULL default ''",
	'com_order' => "varchar(32) NOT NULL default ''",
	'com_perPage' => "smallint(5) unsigned NOT NULL default '0'",
	'com_moderate' => "char(1) NOT NULL default ''",
	'com_bbcode' => "char(1) NOT NULL default ''",
	'com_disableCaptcha' => "char(1) NOT NULL default ''",
	'com_requireLogin' => "char(1) NOT NULL default ''",
	'com_template' => "varchar(32) NOT NULL default ''",
	'rateit_title' => "varchar(255) NOT NULL default ''",
	'rateit_active' => "char(1) NOT NULL default ''",
	'survey' => "smallint(5) unsigned NOT NULL default '0'",
	'surveyTpl' => "varchar(64) NOT NULL default ''",
	'tagsonly' => "char(1) NOT NULL default ''",
	'tags' => "char(1) NOT NULL default ''",
);

$this->arrOrderFields = array
(
	'orderSRC',
);

$this->arrKeys = array
(
	'id' => 'primary',
	'pid' => 'index',
);

$this->arrRelations = array
(
	'groups' => array
	(
		'table' => 'tl_member_group',
		'field' => 'id',
		'type' => 'hasMany',
		'load' => 'lazy',
	),
);

$this->blnIsDbTable = true;
