class_mcCONST.inc.php 1.04 KB
<?php
/** 
 * @copyright (c) 2014, netz.coop eG
 */
class mcCONST {
	/**
	 * @var constant -- old ::$zeilenumbruch
	 */
	const LINEBREAK = '
';
	/**
	 * @var constant -- old ::$tab
	 */
	const TAB = '	';


	/**
	 * @var int Anzahl der Zeilen die vor und nach der Warnung mit ausgegeben werden soll
	 */
	const CODEOFFSET				=	3;


	/**
	 * arrays gehen leider noch nicht als CONSTante
	 * @var array
	 */
	public static $HTMLTAGS2TEXT = array(
		'<i style="font-size:10;color:gray;">' => '[',
		'<i>'	=> '[',
		'</i>'	=> ']',
		"<li>"	=> "* ",
		"</li>"	=> "",
		"<ul>"	=> "\t",
		"</ul>" => "",
		"<p>"	=> "\n",
		"</p>"	=> "\n",
		"<b>"	=> " __",
		"</b>"	=> "__ ",
		"<span title='Rekursionstiefe'>"	=> "",
		"</span>"	=> "",
		'<h2>'	=> "\n______________________________\n",
		'</h2>' => "\n##############################\n",
		'<h1>'	=> "\n______________________________\n",
		'</h1>' => "\n##############################\n##############################\n",
		'<pre>'	=> "",
		'</pre>' => "",
		'<br>' => "\n",
		'<br/>' => "\n",
		'<br />' => "\n",
	);
}
?>