Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /home/palandch/www/core/model/modx/sources/mysql/ |
<?php /** * @package modx * @subpackage sources.mysql */ $xpdo_meta_map['modMediaSource']= array ( 'package' => 'modx.sources', 'version' => '1.1', 'table' => 'media_sources', 'extends' => 'modAccessibleObject', 'fields' => array ( 'name' => '', 'description' => NULL, 'class_key' => 'sources.modFileMediaSource', 'properties' => NULL, 'is_stream' => 1, ), 'fieldMeta' => array ( 'name' => array ( 'dbtype' => 'varchar', 'precision' => '255', 'phptype' => 'string', 'null' => false, 'default' => '', 'index' => 'index', ), 'description' => array ( 'dbtype' => 'text', 'phptype' => 'string', 'null' => true, ), 'class_key' => array ( 'dbtype' => 'varchar', 'precision' => '100', 'phptype' => 'string', 'null' => false, 'default' => 'sources.modFileMediaSource', 'index' => 'index', ), 'properties' => array ( 'dbtype' => 'mediumtext', 'phptype' => 'array', 'null' => true, ), 'is_stream' => array ( 'dbtype' => 'tinyint', 'precision' => '1', 'attributes' => 'unsigned', 'phptype' => 'boolean', 'null' => false, 'default' => 1, 'index' => 'index', ), ), 'indexes' => array ( 'name' => array ( 'alias' => 'name', 'primary' => false, 'unique' => false, 'type' => 'BTREE', 'columns' => array ( 'name' => array ( 'length' => '', 'collation' => 'A', 'null' => false, ), ), ), 'class_key' => array ( 'alias' => 'class_key', 'primary' => false, 'unique' => false, 'type' => 'BTREE', 'columns' => array ( 'class_key' => array ( 'length' => '', 'collation' => 'A', 'null' => false, ), ), ), 'is_stream' => array ( 'alias' => 'is_stream', 'primary' => false, 'unique' => false, 'type' => 'BTREE', 'columns' => array ( 'is_stream' => array ( 'length' => '', 'collation' => 'A', 'null' => false, ), ), ), ), 'composites' => array ( 'SourceElement' => array ( 'class' => 'sources.modMediaSourceElement', 'local' => 'id', 'foreign' => 'source', 'cardinality' => 'one', 'owner' => 'local', ), ), 'aggregates' => array ( 'Chunks' => array ( 'class' => 'modChunk', 'local' => 'id', 'foreign' => 'source', 'cardinality' => 'many', 'owner' => 'local', ), 'Plugins' => array ( 'class' => 'modPlugin', 'local' => 'id', 'foreign' => 'source', 'cardinality' => 'many', 'owner' => 'local', ), 'Snippets' => array ( 'class' => 'modSnippet', 'local' => 'id', 'foreign' => 'source', 'cardinality' => 'many', 'owner' => 'local', ), 'Templates' => array ( 'class' => 'modTemplate', 'local' => 'id', 'foreign' => 'source', 'cardinality' => 'many', 'owner' => 'local', ), 'TemplateVars' => array ( 'class' => 'modTemplateVar', 'local' => 'id', 'foreign' => 'source', 'cardinality' => 'many', 'owner' => 'local', ), ), );