class_CONSTKindOf.inc.php 3.82 KB
<?php
/**
 * @file	CONSTKindOf.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/>.
 * 
 */
/**
 *	Klasse für globale Variablen
 *
 *	@version 		0.080618 (CD-0.8.3)
 *	@author			dev [at] mensch [dot] coop
 *	@deprecated		DAS	 KONZEPT DIESER KLASSE SOLLTE NOCH EINMAL ÜBERDACHT
 *					WERDEN,	DA REDUDANTE DATENSÄTZE GLAUBE ICH VORKOMMEN
 */
class CONSTKindOf {

	const LANG = "lang";

	const PROFILE = "20";
	const ACCOUNT = '60';

	const GET_PARAM = "p";
	const GET_POST = "o";
	const NEWAUTH ="0";
	const EDITAUTH = "1000";

	//	const TAG_FORMULAR = '502';

	const LINK_ACCOUNTMANAGEMENT = "AccountManagement";
	const LINK_SHOWALL = "showAll";
	const LINK_SHOWMYOWN = "showMyElements";
	const LINK_MAKENEW = "makeNew";
	const LINK_SHORT = "short";
	const LINK_EDIT = "edit";
	const LINK_CHANGEPARTOFID = "changePartOfID";
	const LINK_JS_FUNCTION = "js_function";
	const LINK_SHOWBASISCLIPBOARD = "runTree";
	const LINK_SHOWSINGLE = "showSingle";
	const LINK_SHOWBOTH = "showBoth";
	const LINK_SHOWLIST = "showList";
	const LINK_EDITBC = "editBC";
	const LINK_ID = "ID";
	const LINK_ALLFROMTHISCLIPBOARDTYPE = 'allFromThisClipboardType';

	const LINK_SHOWALLPARENTS = "showAllParents";
	const LINK_SHOWALLCHILDREN = "showAllChildren";
	const LINK_SHOWLINKLIST = "showLinkList";
	const LINK_ADDTOLINKLIST = "addToLinkList";
	const LINK_REMOVEFROMLINKLIST = "removeFromLinkList";

	const LINK_ADDELEMENTTO = "addElementTo";

	/**	besondere Links */

	const LINK_ERROR = "Error";
	const LINK_CHANGEPASSWORD = "changePassword";

	const LINK_ANSWERASPIRANT = "answerAspirant";
	const LINK_CONFIRMASPIRANT = "confirmAspirant";
	const LINK_DENYASPIRANT = "denyAspirant";

	const LINK_SHOWWRITEMEMBERS = "showWriteMember";

	const LINK_SHOWASPIRANT = "showAspirant";
	const LINK_REQUESTASPIRANT = "requestAspirant";

	const LINK_WITH_C = 'link_with_c';

	const MULTIMEDIA_SIZE_NORMAL = 'normal';
	const MULTIMEDIA_SIZE_SMALL = 'small';
	const MULTIMEDIA_SIZE_NORMAL_X = 420;
	const MULTIMEDIA_SIZE_NORMAL_Y =255;
	const MULTIMEDIA_SIZE_SMALL_X = 168;
	const MULTIMEDIA_SIZE_SMALL_Y =102;

	const BC_RIGHT_EXCLUSIVE = 'exclusive';
	const BC_RIGHT_LOG = 'log';
	const BC_RIGHT_ALL = 'all';

	const DESIGN_MENUSORT = 'menu_sort';
	const DESIGN_NOSORT = 'menu_nosort';

	const DESIGN_MENUADDON = 'menu_addon';

	//	public static function getXMLTag($param_CONST_NAME) {
	//D::h1("ANSICH NICHT MEHR VERWENDET: CONSTKindOf::getXMLTag($param_CONST_NAME) ==>> return ".self::$XMLTags2[$param_CONST_NAME]." ");
	//		if($param_CONST_NAME && ($param_CONST_NAME=='Blog' || $param_CONST_NAME=='ThreadMessageBC')) {
	//			D::h1($param_CONST_NAME);
	//		}
	//		return self::$XMLTags2[$param_CONST_NAME];
	//	}
	//
	//	private static $XMLTags2 = array(
	//		'Element'		=>	'Element',
	//		'DateBC'		=>	'List',
	//		'DateBE'			=>	'date',
	//		'Profile'		=>	'profile',
	//		'MultimediaText'=>	'multimediatext',
	//		'NewsfeedBE'		=>	'newsfeed',
	//		'FriendList'	=>	'List',
	//		'Account'		=>	'account',
	//		'TopicBE'			=>	'topic',
	//		'Blog'			=>	'blog',
	//		'ThreadMessageBC'			=>	'blog',
	//		CONSTKindOf::TAG_FORMULAR					=>	'Formular',
	//	);
}
?>