<?php /** * @file TreeCONFIG.mcEg.inc.php * @category freeSN * @mailto code [at] netz.coop * @version 0.4.200901 * @link http://netz.coop * * @copyright Copyright by netz.coop e.G. 2015 * * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ /** * In dieser Klasse ist die komplette Konfiguration der losp Software * http://vosp.info/index.php/LOSP#CONFIG */ class TreeCONFIG { public static $XMLTags = array( 'BasisClipboard' => 'BasisClipboard', 'Element' => 'Element', 'AuthorisationList' => 'authorisationlist', 'WriteAuthorisation'=> 'authorisationwrite', 'ReadAuthorisation' => 'authorisationread', ''=>'' ); /** * der array $BC_showConditions enthält die BC-Namen die auf ein BC folgen können, damit ein BC trotzdem noch ganz geladen wird (s. Controller) * ...p[i]=BC&p[i+1]=BC-Name... -> showBasisClopboard(BC) */ public static $BC_showConditions = array ( 'TagContentList' => true, 'editBC' => true, ); //array for BasisElemenDesign Menu_addon Values public static $BasisDesign_MenuAddons = false; public static $Config = array ( /** * @var string timezone_set */ 'timezone_set' => 'Europe/Berlin', /** * @var bool checkBasisClipboardIfExists * * false => the system check if the BasisClipboard exists in the BasisElement Config * true => the system don't check * * prüft ob ein BasisClipboard (welches durch Url aufgerufen wurde) * auch wirklich im BasisElement Objekt hier in der CONFIG definiert * wurde, sprich dürfen sich die zwei BasisElemente überhaupt verknüpfen * */ 'NOT_checkBasisClipboardIfExists' => true, // 'host' => 'http://localhost/losp', weil ist $_LOSP_SERVERNAME 'RightManagement' => array ( 'default_ReadPrivate' => false, 'default_WritePrivate' => true, 'RightManagementBC' => array( // alle dürfen lesen /schreiben : a all // angemeldete dürfen lesen / schreiben : u user // nur schreib/lese -berechtigte dürfen : r right 'ReadKeys' => array( 'a' => null, 'u' => null, 'r' => null, ), 'Default_BCReadRight' => 'a', 'WriteKeys' => array( 'a' => null, 'u' => null, 'r' => null, ), 'Default_BCWriteRight' => 'r', ) ), 'TagCloudDepth'=> '3', 'CategoryDepth'=> '2', 'InfoboxDepth' => '1', 'CatchAddToLinkListTMCDepth' => '6', 'InfoboxBasisClipboardPeriod' => array('week' => -1), 'TreePart' => array( // '11' => 'SocialMovement', // '12' => 'Culture', // '13' => 'Economy', '6' => 'SocialMovement', '7' => 'Culture', '8' => 'Economy', ), // 'SoftwareCategoryMTextID' => '14', 'SoftwareCategoryMTextID' => '9', 'DefaultDesign' => array( 'Profile' => 1, 'TopicBE' => 2, 'ProfilePreferenceManager'=> 3, 'PostingManager' => 4, 'FileManager' => 5, 'ResourceManager' => 6, 'NetworkManager' => 7, 'PostOffice' => 8, 'OfficeManager' => 9, 'IndirectManager' => 10, 'DirectManager' => 11, 'EconomyIndirectManager' => 12, 'EconomyDirectManager' => 13, 'CultureIndirectManager' => 14, 'CultureDirectManager' => 15, 'HomepageManager' => 4, ), /* * all available (web-)servies */ 'Services' => array( 'rss2' => array('type' => 'application/rss+xml'), 'xml' => true, 'ics' => array('type' => 'text/calendar'), 'atom' => true, 'hCard' => true, 'hCalendar' => true, 'owl' => true, ), 'AddToLinkList' => array( 'NoInfo' => array( 'FriendList' => null, ) ), 'General' => array( 'LoadLevel' => array( 'Always' => array( 'aBasisElementAddon' => array( 'History' => true, 'Logger' => array( 'function' => array( 'insertVisit' => true, ) ) ), ), 'login' => array( 'aBasisElementAddon' => array( 'Logger' => array( 'function' => array( 'flushVisites' => true, ) ) ), ), 'logout' => array( 'aBasisElementAddon' => array( 'Logger' => array( 'function' => array( 'flushVisites' => true, ) ) ), ) ), ) ); public static $History = array ( /** * Achtung, muss auch als enum in der losp_BE_SREQUEST_history Tabelle und in der SQL insertToHistory eingetragen werden */ 'PossibleAction' => array ( 'edit', 'makeNew', 'delete', 'showSingle') ); public static $Delimiter = array( 'category' => '::', 'ObjFnc' => '->', ); public static $DisplayLimits = array( 'Display' => '10', 'SideDateBC' => '499', 'Profiles' => '3', ); public static $Settings = array( 'Timeout' => '6600' //Timeout for Login ); public static $AddonPreferencs = array ( 'Infobox' => array( 'Config' => array( 'Special' => array( 'NoInfo' => array( 'Inbox' => null, 'Outbox' => null, ) ), ), ), ); /** * @var array SQL_Data * * @link http://vosp.info/index.php/LOSP_Files#class_TreeCONFIG.inc.php description of this array */ public static $MultimediaTextPreferencs = array( // 'BasisElement' => wird eh rausgefiltert @CONFIG::getMT_BasisClipboards 'Infobox' => array( 'Config' => array( /** * Callbackfunktionen (in der TreeManipulator definiert sind) die aufgerufen werden bei einem MultimediaText Objekt bis zur Tiefe (self::$Config['InfoboxDepth']) (sprich die angehängten Objekten) */ 'CallbackFunction' => array( // 'CatchInfoboxDataTMC' => 'callbackFunction' ), 'Special' => array( 'NoInfo' => array( 'Inbox' => null, 'Outbox' => null, ) ), ), ), 'Account' => array( 'XML' => array( 'Headline' => 'SurName', 'Formular_Tags' => array('FirstName', 'SurName', 'EMail', 'Street', 'Streetnumber', 'City', 'ZipCode', 'Password'), 'Display_Tags' => array('FirstName', 'SurName', 'EMail', 'Street', 'Streetnumber', 'City', 'ZipCode', 'Password'), 'Formular_Tags_KindOf' => array('Password'=>'password'), 'Subheading' => array('FirstName') ), 'MySql' => array( 'Tablename' => 'losp_be_account', 'SelectColumns' => 'Password, ProfileID, FirstName, SurName, Street, Streetnumber, City, ZipCode, EMail, Password', 'Composition' => array( 'ProfileID' => array( 'class' => 'Profile', 'SameColumns' => array('EMail'), ) ), ), ), ######################## mein Mensch ############################### 'Profile' => array( 'LoadLevel' => array( 'ForShowSingle' => array( 'aBasisElementAddon' => array( 'TagCloud' => true ), ) ), 'Config' => array(), 'MySql' => array( 'Tablename' => 'losp_BE_profile', 'SelectColumns' => 'NickName, EMail, Fingerprint, Jabber, Url, OnlineState, OnlineSince, Avatar, Signature', // 'Composition' => array( // 'TopicBEID' => array( // 'class' => 'TopicBE', // 'SameColumns' => array('Subject', 'Text'), // ) // ), 'OrderByDefault' => array('column' => 'NickName'), 'Joins' => null, 'Where' => null ), 'BasisClipboards' => array( 'TopicBC' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'r', ), 'FriendList' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'u', ), 'LocationBC' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), 'chooseExistingBasisElements' => array('notCreateNew' => true), ), 'Clipboard' => true, ), 'Menu' => array(), 'MainMenu' => array( 'ProfilePreferenceManager' => true, 'PostingManager' => true, 'FileManager' => true, 'HomepageManager' => true, 'ResourceManager' => true, 'NetworkManager' => true, 'PostOffice' => true, 'OfficeManager' => true, ), 'XML' => array( 'Headline' => 'NickName', 'Formular_Tags' => array('NickName', 'EMail', 'Fingerprint', 'Jabber', 'Url', 'Subject', 'Text', 'Avatar', 'Signature'), 'Display_Tags' => array('NickName', 'EMail', 'Fingerprint', 'Jabber', 'Url', 'Subject', 'Text', 'OnlineSince', 'CreateDate', 'OnlineState', 'Avatar', 'Signature'), 'Formular_Tags_KindOf' => array('OnlineSince'=>'time'), 'Subheading' => array('Subject') ) ), 'ProfilePreferenceManager' =>array( 'Menu' => array( CONSTKindOf::LINK_SHOWSINGLE => 'PartOfID', CONSTKindOf::LINK_EDIT => 'PartOfID', 'LocationBC' => 'BasisClipboard', ), 'BasisClipboards'=> array( 'LocationBC' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), // 'chooseExistingBasisElements' => true, // array('notCreateNew' => true), ), ), ), 'PostingManager' =>array( 'BasisClipboards'=> array( 'Blog::Guestbook' => array( // 'LoadLevel' => 'RealSingleView', 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'r', ), 'ThreadMessageBC::Blog' => array( 'LoadLevel' => 'RealSingleView' ), 'ThreadMessageBC::Forum' => array( 'LoadLevel' => 'RealSingleView'), 'ThreadBC' => array( 'LoadLevel' => 'RealSingleView'), ), 'Menu' => array( 'Blog::Guestbook' => 'BasisClipboard', 'ThreadMessageBC::Blog' => 'BasisClipboard', 'ThreadMessageBC::Forum' => 'BasisClipboard', 'ThreadBC' => 'BasisClipboard', ), ), 'FileManager' =>array( 'BasisClipboards'=> array( 'FileBC' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), ), ), 'Menu' => array( 'FileBC' => 'BasisClipboard', ), ), 'HomepageManager' =>array( 'BasisClipboards'=> array( 'TopicBC' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), ) ), 'Menu' => array( 'TopicBC' => 'BasisClipboard', ), ), 'ResourceManager' =>array( ), 'NetworkManager' =>array( 'BasisClipboards'=> array( 'FriendList' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), ), ), 'Menu' => array( 'FriendList' => 'BasisClipboard', ), ), 'PostOffice' =>array( 'BasisClipboards'=> array( /*ATTENTION!!! reihenfolge nicht ändern - from um*/ 'OutBox' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), 'Default_BCReadRight' => 'r', 'Default_BCWriteRight' => 'r', ), 'InBox' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), 'Default_BCReadRight' => 'r', 'Default_BCWriteRight' => 'u', ), // 'DraftBox' => array( 'LoadLevel' => 'ForShowSingle') ), 'Menu' => array( 'InBox' => 'BasisClipboard', 'OutBox' => 'BasisClipboard', // 'DraftBox' => 'BasisClipboard', ), ), 'OfficeManager' => array( 'Menu' => array( 'DateBC' => 'BasisClipboard', 'NewsfeedBC' => 'BasisClipboard', 'UrlBC' => 'BasisClipboard', ), 'BasisClipboards' => array( 'DateBC' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), ), 'UrlBC' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), ), 'NewsfeedBC' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), ), ), ), ######################## Social Movement ############################### 'SocialMovement' =>array( 'MySql' => array( 'Tablename' => 'losp_BE_treepart', 'SelectColumns' => 'Name', 'OrderByDefault' => array('column' => 'Name'), 'Joins' => null, 'Where' => null ), 'Menu' => array( ), 'MainMenu' => array( 'IndirectManager' => true, 'DirectManager' => array( 'ThreadMessageBC::Blog' => true, 'TopicBC' => true, 'ProfileBC' => true, //'KnowledgeManagement' => true, 'DateBC' => true, ), ), 'BasisClipboards' => array( ), 'XML' => array( 'Headline' => 'Name', 'Formular_Tags' => array('Name', 'Subject', 'Text'), 'Display_Tags' => array('Name', 'Subject', 'Text'), 'Formular_Tags_KindOf' => array('OnlineSince'=>'time'), 'Subheading' => array('Subject') ) ), 'IndirectManager' =>array( 'BasisClipboards'=> array( 'ThreadMessageBC::Forum' => true, 'UrlBC' => true, //'ImageManagement' => true, 'NewsfeedBC' => true ), 'Menu' => array( 'ThreadMessageBC::Forum' => 'BasisClipboard', 'UrlBC' => 'BasisClipboard', //'ImageManagement' => 'BasisClipboard', 'NewsfeedBC' => 'BasisClipboard' ), ), 'DirectManager' =>array( 'BasisClipboards' => array( 'ThreadMessageBC::Blog' => true, 'TopicBC' => true, 'ProfileBC' => true, //'KnowledgeManagement' => true, 'DateBC' => true, ), 'Menu' => array( 'ThreadMessageBC::Blog' => 'BasisClipboard', 'TopicBC' => 'BasisClipboard', 'ProfileBC' => 'BasisClipboard', //'KnowledgeManagement' => 'BasisClipboard', 'DateBC' => 'BasisClipboard', ), // 'MainMenu' => array( // 'ThreadMessageBC::Blog' => true, // 'TopicBC' => true, // 'ProfileBC' => true, // 'KnowledgeManagement' => true, // 'DateBC' => true, // ), ), ######################## Culture ############################### 'Culture' =>array( 'MySql' => array( 'Tablename' => 'losp_BE_treepart', 'SelectColumns' => 'Name', 'OrderByDefault' => array('column' => 'Name'), 'Joins' => null, 'Where' => null ), 'Menu' => array( ), 'MainMenu' => array( 'CultureIndirectManager' => true, 'CultureDirectManager' => array( 'ThreadMessageBC::Blog' => true, 'TopicBC' => true, 'ProfileBC' => true, 'DateBC' => true, ), ), 'BasisClipboards' => array( ), 'XML' => array( 'Headline' => 'Name', 'Formular_Tags' => array('Name', 'Subject', 'Text'), 'Display_Tags' => array('Name', 'Subject', 'Text'), 'Formular_Tags_KindOf' => array('OnlineSince'=>'time'), 'Subheading' => array('Subject') ) ), 'CultureIndirectManager' =>array( 'BasisClipboards'=> array( // 'ThreadMessageBC::Forum' => true, // 'UrlBC' => true, // 'NewsfeedBC' => true ), 'Menu' => array( // 'ThreadMessageBC::Forum' => 'BasisClipboard', // 'UrlBC' => 'BasisClipboard', // 'NewsfeedBC' => 'BasisClipboard' ), ), 'CultureDirectManager' =>array( 'BasisClipboards' => array( 'ThreadMessageBC::Blog' => true, 'TopicBC' => true, 'ProfileBC' => true, 'DateBC' => true, ), 'Menu' => array( 'ThreadMessageBC::Blog' => 'BasisClipboard', 'TopicBC' => 'BasisClipboard', 'ProfileBC' => 'BasisClipboard', 'DateBC' => 'BasisClipboard', ), ), ######################## Economy ############################### 'Economy' =>array( 'MySql' => array( 'Tablename' => 'losp_BE_treepart', 'SelectColumns' => 'Name', 'OrderByDefault' => array('column' =>'Name'), 'Joins' => null, 'Where' => null ), 'Menu' => array( ), 'MainMenu' => array( 'EconomyIndirectManager' => true, 'EconomyDirectManager' => array( 'ThreadMessageBC::Blog' => true, 'TopicBC' => true, 'ProfileBC' => true, 'DateBC' => true, ), ), 'BasisClipboards' => array( ), 'XML' => array( 'Headline' => 'Name', 'Formular_Tags' => array('Name', 'Subject', 'Text'), 'Display_Tags' => array('Name', 'Subject', 'Text'), 'Formular_Tags_KindOf' => array('OnlineSince'=>'time'), 'Subheading' => array('Subject') ) ), 'EconomyIndirectManager' =>array( 'BasisClipboards'=> array( 'ThreadMessageBC::Forum' => true, // 'UrlBC' => true, // 'ImageManagement' => true, // 'NewsfeedBC' => true ), 'Menu' => array( 'ThreadMessageBC::Forum' => 'BasisClipboard', // 'UrlBC' => 'BasisClipboard', // 'ImageManagement' => 'BasisClipboard', // 'NewsfeedBC' => 'BasisClipboard' ), ), 'EconomyDirectManager' =>array( 'BasisClipboards' => array( 'ThreadMessageBC::Blog' => true, 'TopicBC' => true, 'ProfileBC' => true, 'DateBC' => true, ), 'Menu' => array( 'ThreadMessageBC::Blog' => 'BasisClipboard', 'TopicBC' => 'BasisClipboard', 'ProfileBC' => 'BasisClipboard', 'DateBC' => 'BasisClipboard', ), ), ############# 'TopicBE' => array( 'Config' => array( ), 'LoadLevel' => array( 'loadBasisElementDesign' => 'function' ), 'MySql' => array( 'Tablename' => 'losp_BE_topic', 'SelectColumns' => 'Name', 'OrderByDefault' => array('column' => 'Name'), 'Joins' => null, 'Where' => null ), 'BasisClipboards' => array( 'Blog::SubPages' => array( 'LoadLevel' => array( 'ForShowSingle' => null, // 'ListView' => null, ), 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'r', ), 'ThreadMessageBC::Blog' => array( 'LoadLevel' => array( 'ForShowSingle' => null, 'ListView' => null, ), 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'r', ), 'CampaignBC' => array( 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'r', ), 'ThreadMessageUnderBC' => array( 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'r', ), 'FileUnderImageBC' => array( 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'r', ), 'FileBC' => array( 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'r', ), 'DateBC' => array( 'OrderByDefault' => array ( //'ListView' => array('column'=> array('Start'), 'from' => false, 'orderby'=>array('Abs(TIMEDIFF(Start, UNIX_TIMESTAMP())) DESC'), 'limit' => '10'), 'ListView' => array('column'=> array('End'), 'Special' => array(1,'day', 0),'operator'=> '>', 'limit'=> '10'), 'ForShowSingle' => array('column'=> array('End'), 'Special' => array(1,'day', 0),'operator'=> '>', 'limit'=> '10'), ), 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'r', ), 'UrlBC' => array( 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'r', ), 'NewsfeedBC' => array( 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'r', ), 'Blog::Guestbook' => array( 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'a', ), 'LinkList' => array( 'LoadLevel' => array( 'ForShowSingle' => null, 'ListView' => null, ), 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'r', ), ), 'XML' => array( 'Headline' => 'Name', 'Formular_Tags' => array('Name', 'Subject', 'Text'), 'Display_Tags' => array('Name', 'Subject', 'Text'), 'Formular_Tags_KindOf' => array(), 'Subheading' => array('Text') ) ), 'LocationBE' => array( 'Config' => array(), 'MySql' => array( 'Tablename' => 'losp_BE_location', 'SelectColumns' => 'Name', 'OrderByDefault' => array('column' =>'Name'), 'Joins' => null, 'Where' => null ), 'backwardBasisClipboards' => array( 'ProfileBC'), 'BasisClipboards' => array( 'ThreadMessageBC::Blog' => array( 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'u', ), 'DateBC' => array( 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'u', ), 'LocationBC' => array( 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'u', ), 'Blog::SubPages' => array( 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'u', ), 'NewsfeedBC' => array( 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'u', ), 'UrlBC' => array( 'Default_BCReadRight' => 'a', 'Default_BCWriteRight' => 'u', ), ), 'XML' => array( 'Headline' => 'Name', 'Formular_Tags' => array('Name', 'Subject', 'Text'), 'Display_Tags' => array('Name', 'Subject', 'Text'), 'Subheading' => array('Text') ) ), 'DateBE' => array( 'Config' => array( ), 'MySql' => array( 'Tablename' => 'losp_BE_date', 'SelectColumns' => 'Start, End', 'OrderByDefault' => array ( 'operator' => 'larger', 'column' => array('End'), 'special' => array('1', 'day', '0') ), //array('column' => 'Start', 'columnsec' => 'End', 'operator' => 'BETWEEN' , 'from' => '1227822721', 'to' => '1227973019'), //array('column' => 'Start', 'direction'=>'DESC'), 'Joins' => null, 'Where' => null ), 'backwardBasisClipboards' => array( 'ProfileBC'), 'BasisClipboards' => array( ), 'XML' => array( 'Headline' => 'Subject', 'Formular_Tags' => array('Start', 'End', 'Subject', 'Text'), 'Display_Tags' => array('Start', 'End', 'Subject', 'Text', 'State'), 'Formular_Tags_KindOf' => array('Start'=>'time', 'End'=>'time'), 'Subheading' => array('Start', 'End', 'State') ) ), 'NewsfeedBE' =>array( 'MySql' => array( 'Tablename' => 'losp_BE_newsfeed', 'SelectColumns' => 'Url', 'OrderByDefault' => null, 'Joins' => null, 'Where' => null ), 'BasisClipboards'=> array( 'NewsfeedItemBC' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), ) ), 'XML' => array( 'Headline' => 'Subject', 'Formular_Tags' => array('Url'), 'Display_Tags' => array('Url', 'Link', 'Subject', 'Text'), 'Formular_Tags_KindOf' => array('Link'=>'url'), 'Subheading' => array() ) ), 'NewsfeedItemBE' =>array( 'XML' => array( 'Headline' => 'Subject', 'Formular_Tags' => array(), 'Display_Tags' => array('Link', 'Subject', 'Text'), 'Formular_Tags_KindOf' => array('Link'=>'url'), 'Subheading' => array('Link') ) ), 'ThreadMessageBE' => array( 'Config' => array( ), 'BasisClipboards'=> array( 'ThreadBC' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), ), 'LinkList' => array( 'LoadLevel' => array( 'ForShowSingle' => null, 'Edit' => null, ), ), ), 'LoadLevel' => array( 'ListView' => array( 'aBasisElementAddon' => array( //'Infobox' => true, 'Category' => true, 'TagCloud' => true ), ), ), 'MySql' => array( 'OrderByDefault' => array ( 'direction' => 'desc', ) ), 'XML' => array( 'Headline' => 'Subject', 'Formular_Tags' => array('Subject', 'Text'), 'Display_Tags' => array('Subject', 'Text'), 'Formular_Tags_KindOf' => array(''=>''), 'Subheading' => array('Text') ), ), 'MultimediaText' => array( // 'MySql' => array( // 'Tablename' => 'losp_BE_file', noch nicht implementiert!!!!!!!! // 'SelectColumns' => 'ID, Author_ProfileID, Subject, Text, CreateDate, TagListID, BECategoryChoiceBEID, BECategoryListID, AuthReadListID, AuthWriteListID, BasisElementDesignID', // 'SaveColumns' => '', // 'OrderByDefault' => null, noch nicht implementiert!!!!!!!! // 'Joins' => null, noch nicht implementiert!!!!!!!! // 'Where' => null noch nicht implementiert!!!!!!!! // ), // 'indirectBasisClipboards' => array ( // 'LinkList' => array( // 'depth' => '6', // 'onlyThisClipboard' => false, // 'whichBasisClipboard' => 'all' // ), // ), /* 'LoadLevel' => array( 'aBasisElementAddon' => array ( 'Infobox' => true, 'Logger' => array() ) ) */ 'LoadLevel' => array( 'ListView' => array( 'aBasisElementAddon' => array ( 'TagCloud' => array('LoadLight' => true,), 'Category' => true, ), ), 'Always' => array( 'aBasisElementAddon' => array ( 'TagCloud' => array( 'LoadLight' => true, ), ), ), 'ForShowSingle' => array( 'aBasisElementAddon' => array ( //'Infobox' => true, 'TagCloud' => true, 'Logger' => array( 'function' => array( 'addOneToVisited' => array('LoadLevel' => 'ForShowSingle'), 'insertToHistory' => array('LoadLevel' => 'ForShowSingle'), ) ) ), 'loadComposition' => 'function', 'loadBasisElementDesign' => 'function' ), 'DefaultView' => array( 'aBasisElementAddon' => array ( 'Category' => true, // 'Infobox' => true, ), ), 'RealSingleView' => array( 'aBasisElementAddon' => array ( 'Category' => true, // 'Infobox' => true, 'Logger' => array( 'function' => array( 'addOneToVisited' => array('LoadLevel' => 'RealSingleView'), 'insertToHistory' => array('LoadLevel' => 'RealSingleView'), ) ) ), ), 'Edit' => array( 'aBasisElementAddon' => array ( 'Category' => true, //'Infobox' => true, 'TagCloud' => true, 'Logger' => array( 'function' => array( 'addOneToVisited' => array('LoadLevel' => 'Edit'), 'insertToHistory' => array('LoadLevel' => 'Edit'), ) ) ), 'loadBasisElementDesign' => 'function', 'loadComposition' => 'function', ), 'MakeNew' => array( 'aBasisElementAddon' => array ( 'Category' => true, 'TagCloud' => true, 'Logger' => array( 'function' => array( 'addOneToVisited' => array('LoadLevel' => 'MakeNew'), 'insertToHistory' => array('LoadLevel' => 'MakeNew'), ) ) ), 'loadComposition' => 'function', ), ), 'BasisClipboards'=> array( 'LinkList' => array( 'LoadLevel' => array( 'ForShowSingle' => null, // 'Edit' => null, ) ) ), 'XML' => array( 'Headline' => 'Subject', // 'Formular_Tags' => array('Subject', 'Text','BasisElementDesignID'), // 'Display_Tags' => array('Subject', 'Text','BasisElementDesignID'), 'Formular_Tags' => array('Subject', 'Text'), 'Display_Tags' => array('Subject', 'Text'), 'Formular_Tags_KindOf' => array(''=>''), 'Subheading' => array('Text') ) ), 'FileBE' => array( 'BasisClipboards'=> array( 'ThreadBC' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), ) ), 'MySql' => array( 'Tablename' => 'losp_BE_file', 'SelectColumns' => 'Link', 'OrderByDefault' => array('column' => 'Subject'), 'Joins' => null, 'Where' => null, 'Size' => null ), 'XML' => array( 'Headline' => 'Subject', 'Formular_Tags' => array( 'Subject', 'Link','Text' ), 'Display_Tags' => array('Subject', 'Text', 'Link', 'Mime'), 'Formular_Tags_KindOf' => array( 'Link' => 'file' ), 'Subheading' => array() ) ), 'UrlBE' => array( 'BasisClipboards'=> array( 'ThreadBC' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), ) ), 'MySql' => array( 'Tablename' => 'losp_BE_url', 'SelectColumns' => 'Url', 'OrderByDefault' => null, 'Joins' => null, 'Where' => null ), 'XML' => array( 'Headline' => 'Subject', 'Formular_Tags' => array( 'Subject', 'Url','Text' ), 'Display_Tags' => array('Subject', 'Text', 'Url'), 'Formular_Tags_KindOf' => array( '' => '' ), 'Subheading' => array() ) ), 'ThreadMessageUnderBE' => array( 'BasisClipboards' => array( 'ThreadMessageBC::Forum' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), ), ), 'LoadLevel' => array( 'ListView' => array( 'aBasisElementAddon' => array ( //'Infobox' => true, ), ), ), 'XML' => array( 'Headline' => 'Subject', 'Formular_Tags' => array('Subject', 'Text'), 'Display_Tags' => array('Subject', 'Text'), 'Formular_Tags_KindOf' => array(''=>''), 'Subheading' => array('Text') ) ), 'FileUnderBE' => array( 'BasisClipboards' => array( 'FileBC' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), ), 'FileUnderBC' => array( 'LoadLevel' => array( 'ForShowSingle' => null, ), ) ), 'XML' => array( 'Headline' => 'Subject', 'Formular_Tags' => array('Subject', 'Text'), 'Display_Tags' => array('Subject', 'Text'), 'Formular_Tags_KindOf' => array(''=>''), 'Subheading' => array('Text') ) ), 'FileUnderImageBE' => array( 'BasisClipboards' => array( 'FileBC::Image' => array( 'LoadLevel' => array( 'ForShowSingle' => true ) ), ), 'LoadLevel' => array( 'ListView' => array( 'aBasisElementAddon' => array ( //'Infobox' => true, ), ), ), 'XML' => array( 'Headline' => 'Subject', 'Formular_Tags' => array('Subject', 'Text'), 'Display_Tags' => array('Subject', 'Text'), 'Formular_Tags_KindOf' => array(''=>''), 'Subheading' => array('Text') ), 'MySql' => array( 'OrderByDefault' => array('column' => 'Subject') ), ), ); public static $BasisClipboardPreferencs = array( /** * Exceptions: Links (für die Controller::runTree) * kommen in exatra Arraaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay */ 'ProfilePreferenceManager' => array( 'MultimediaText' => 'Profile', ), 'NetworkManager' => array( 'MultimediaText' => 'Profile', ), 'Profile' => array( 'MultimediaText' => 'Profile', 'link' => 'ProfileBC' ), 'FriendModule' => array( 'MultimediaText' => 'this', 'link' => 'FriendModule' ), 'FileManager' => array( // 'MultimediaText' => 'this', 'link' => 'FileManager' ), 'PostOffice' => array( // 'MultimediaText' => 'this', 'link' => 'PostOffice' ), 'TopicBE' => array( // speziell für Taglist 'MultimediaText' => 'TopicBE', 'link' => 'TopicBE' // 'link' => 'TopicBC' ), // 'DateBE' => array( // speziell für Taglist // 'MultimediaText' => 'DateBE', // 'link' => 'DateBC' // ), 'AccountManagement' => array( 'Menu' => array( CONSTKindOf::LINK_SHOWSINGLE => false, CONSTKindOf::LINK_EDIT => false, CONSTKindOf::LINK_CHANGEPASSWORD => false, ) ), /** * normale BasisClipboard's' * */ 'DateBC' => array( 'Config' => array( 'NoAddToLinkList' => true, ), 'MultimediaText' => 'DateBE', 'link' => 'DateBC', 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, //array('column'=> array('Start'), 'Special' => array(1,'day', 1),'operator'=> '>', 'limit'=> '10'), /*'ListCondition' => array( array( 'ListCondition' => array ( array ('term' => array( 'Column' => array ('1','Start','End'), 'Special' => array(2,'month42', 1), ))) ), array( 'ListCondition' => array ( array ('term' => array( 'Column' => array ('1','Start','End'), 'Special' => array(0,'month42', 1), ))) ), ),*/ ), 'LoadLevel' => array( 'Always' => array( 'aBasisElementAddon' => array ( 'Category' => true, 'TagCloud' => true, ), ), ), ), 'LocationBC'=> array( 'MultimediaText' => 'LocationBE', 'Services' => array( 'rss2' => array('type' => 'application/rss+xml'), 'atom' => true, ), 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, CONSTKindOf::LINK_SHOWBASISCLIPBOARD => false, ), 'LoadLevel' => array( 'Always' => array( 'aBasisElementAddon' => array ( 'Category' => true, 'TagCloud' => true, ), ), ), ), 'TopicBC' => array( 'MultimediaText' => 'TopicBE', 'Services' => array( 'rss2' => array('type' => 'application/rss+xml'), 'atom' => true, ), 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, ), 'LoadLevel' => array( 'Always' => array( 'aBasisElementAddon' => array ( 'Category' => true, 'TagCloud' => true, ), ), ), // 'ConditionArray' => array( // 'direction' => 'asc', // 'column' => 'CDate', // 'limit' =>'5', // ) ), 'TopicBC::ProfilePage' => array( 'MultimediaText' => 'TopicBE', 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, ) ), 'ProfileBC' => array( 'MultimediaText' => 'Profile', 'Services' => array( 'rss2' => array('type' => 'application/rss+xml'), 'atom' => true, 'hCard' => true, ), 'Menu' => array( ) ), 'ThreadMessageUnderBC' => array( 'MultimediaText' => 'ThreadMessageUnderBE', 'Services' => array( 'rss2' => array('type' => 'application/rss+xml'), 'atom' => true, ), 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, ), ), 'FileUnderBC' => array( 'MultimediaText' => 'FileUnderBE', 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, ), ), 'FileUnderImageBC' => array( 'MultimediaText' => 'FileUnderImageBE', 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, CONSTKindOf::LINK_EDITBC => false, // CONSTKindOf::LINK_SHOWMYOWN => true ) ), 'Forum' => array( 'MultimediaText' => 'ThreadMessageBE', 'Services' => array( 'rss2' => array('type' => 'application/rss+xml'), 'atom' => true, ), 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, ) ), 'ThreadMessageBC' => array( 'MultimediaText' => 'ThreadMessageBE', 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, ), ), 'ThreadMessageBC::Forum' => array( 'MultimediaText' => 'ThreadMessageBE', 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, ) ), // 'ThreadMessageBC::Threads' => array( // 'MultimediaText' => 'ThreadMessageBE', // 'Menu' => array( // CONSTKindOf::LINK_MAKENEW => false, // CONSTKindOf::LINK_SHOWMYOWN => true // ) // ), 'ThreadMessageBC::Blog' => array( 'MultimediaText' => 'ThreadMessageBE', 'Services' => array( 'rss2' => array('type' => 'application/rss+xml'), 'atom' => true, ), 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, CONSTKindOf::LINK_EDITBC => false ), ), 'Blog::SubPages' => array( 'MultimediaText' => 'MultimediaText', 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, ) ), 'ThreadBC' => array( 'MultimediaText' => 'MultimediaText', 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, ), 'LoadLevel' => array( 'Always' => array( 'aBasisElementAddon' => array ( 'Category' => true, 'TagCloud' => true, ), ), ), ), 'Blog::Guestbook' => array( 'ConditionArray' => array( 'direction' => 'desc', ), 'MultimediaText' => 'MultimediaText', 'Services' => array( 'rss2' => array('type' => 'application/rss+xml'), 'atom' => true, ), 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, ), ), 'Blog' => array( 'MultimediaText' => 'MultimediaText', 'Services' => array( 'rss2' => array('type' => 'application/rss+xml'), 'atom' => true, ), 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, // CONSTKindOf::LINK_SHOWMYOWN => true ) ), 'NewsfeedBC' => array( 'MultimediaText' => 'NewsfeedBE', 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, ), ), 'NewsfeedItemBC' => array( 'MultimediaText' => 'NewsfeedItemBE', 'without_db' => true ), 'AspirantWriteRight' => array( 'MultimediaText' => 'Profile' ), 'LinkList' => array( 'MultimediaText' => '*', ), 'Clipboard' => array( 'MultimediaText' => '*', ), 'InBox' => array( 'ConditionArray' => array( 'direction' => 'desc', ), 'MultimediaText' => 'MultimediaText', 'Services' => array( 'rss2' => array('type' => 'application/rss+xml'), 'atom' => true, ), 'states' => array('unreaded', 'readed') ), 'OutBox' => array( 'ConditionArray' => array( 'direction' => 'desc', ), 'MultimediaText' => '*', ), // 'DraftBox' => array( // 'MultimediaText' => '*', // 'states' => array('unreaded', 'readed') // ), 'FriendList' => array( 'MultimediaText' => 'Profile', 'states' => array('confirmed', 'unconfirmed'), 'CallbackFunction' => array( 'load' => 'Callback_checkFriendship' ), 'Menu' => array( // CONSTKindOf::LINK_MAKENEW => false, /* 'ListCondition' => array( array( 'ListCondition' => array ( array ('term' => array( 'Column' => array ('1','Start','End'), 'Special' => array(2,'month42', 1), ))) ),*/ ) ), 'TagContentList' => array( 'MultimediaText' => '*', 'Services' => array( 'rss2' => array('type' => 'application/rss+xml'), 'atom' => true, ), ), 'CategoryContentList' => array( 'MultimediaText' => '*', 'Services' => array( 'rss2' => array('type' => 'application/rss+xml'), 'atom' => true, ), ), 'Account' => array( 'MultimediaText' => '', 'link' => CONSTKindOf::LINK_ACCOUNTMANAGEMENT ), 'FileBC' => array( 'MultimediaText' => 'FileBE', 'Services' => array( 'rss2' => array('type' => 'application/rss+xml'), 'atom' => true, ), 'link' => 'FileBC', 'Menu' => array( 'ListCondition' => array( array( 'ListCondition' => array ( array ('equal' => array( 'Column' => array ('Mime'), 'Value' => array('application'), ))) ), array( 'ListCondition' => array ( array ('equal' => array( 'Column' => array ('Mime'), 'Value' => array('audio'), ))) ), array( 'ListCondition' => array ( array ('equal' => array( 'Column' => array ('Mime'), 'Value' => array('image'), ))) ), array( 'ListCondition' => array ( array ('equal' => array( 'Column' => array ('Mime'), 'Value' => array('text'), ))) ), array( 'ListCondition' => array ( array ('equal' => array( 'Column' => array ('Mime'), 'Value' => array('video'), ))) ), /*array( 'ListCondition' => array ( array ('larger' => array( 'Column' => array ('ID'), 'Special' => array (2), 'Value' => array('30') )), array ('equal' => array( 'Column' => array ('Mime'), 'Value' => array('image') )) ) ),*/ /* array( 'ListCondition' => array ( array ('larger' => array( 'Column' => array ('ID'), 'Special' => array(2,'int',2), 'Value' => array(1) )) ) ),*/ ), CONSTKindOf::LINK_MAKENEW => false, ), ), 'FileBC::Image' => array( 'MultimediaText' => 'FileBE', 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, CONSTKindOf::LINK_EDITBC => false, ), ), 'UrlBC' => array( 'MultimediaText' => 'UrlBE', 'link' => 'UrlBC', 'Menu' => array( CONSTKindOf::LINK_MAKENEW => false, ), ), ); } ?>