Commit 4ea0aa4d by sn

copyright 2014 netz.coop eG

1 parent 35414fc4
Showing with 163 additions and 1 deletions
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/** /**
* @filesource class_D.inc.php * @filesource class_D.inc.php
* *
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/** /**
* @filesource class_Error.inc.php * @filesource class_Error.inc.php
* *
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/** /**
* @filesource class_Message.inc.php * @filesource class_Message.inc.php
* *
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcEvent extends mcReport { class mcEvent extends mcReport {
/** /**
* @var int -- errno, contains the level of the error raised * @var int -- errno, contains the level of the error raised
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcMessageReport { class mcMessageReport {
private static $Messages = array(); private static $Messages = array();
public static function addMessage($param_subject, $param_Message='') { public static function addMessage($param_subject, $param_Message='') {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/* /*
* To change this template, choose Tools | Templates * To change this template, choose Tools | Templates
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/** /**
* @filesource class_mcReport.inc.php * @filesource class_mcReport.inc.php
* @category mcClasses * @category mcClasses
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/** /**
* @filesource fnc_mcErrorHandler.inc.php * @filesource fnc_mcErrorHandler.inc.php
* *
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/** /**
* @var link to the basic path from the mcClasses dir * @var link to the basic path from the mcClasses dir
*/ */
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/** /**
* @todo * @todo
* könnte in * könnte in
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcBash { class mcBash {
public static function exec($command, array &$output = null, &$return_var = null) { public static function exec($command, array &$output = null, &$return_var = null) {
$StartTime = time(); $StartTime = time();
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcCONST { class mcCONST {
/** /**
* @var constant -- old ::$zeilenumbruch * @var constant -- old ::$zeilenumbruch
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcConfig { class mcConfig {
private static $configs = array ( private static $configs = array (
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcCrypt { class mcCrypt {
public static function crypt($param_string) { public static function crypt($param_string) {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcCsv { class mcCsv {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcDate { class mcDate {
/** /**
* check if the format is like this yyyy-mm-dd * check if the format is like this yyyy-mm-dd
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/** /**
* *
*/ */
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcException extends mcEvent { class mcException extends mcEvent {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcFPDF extends FPDF { class mcFPDF extends FPDF {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/** /**
* noch nicht wirklich entwickelt... eher als notiz zu verstehen * noch nicht wirklich entwickelt... eher als notiz zu verstehen
* @since 20110801 @author n@mensch.coop * @since 20110801 @author n@mensch.coop
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/* /*
* To change this template, choose Tools | Templates * To change this template, choose Tools | Templates
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcLanguage { class mcLanguage {
private static $Language = 'deu'; private static $Language = 'deu';
private static $Words = array( private static $Words = array(
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcMail { class mcMail {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcNumber { class mcNumber {
public static function round2($param_number) { public static function round2($param_number) {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcPerformance { class mcPerformance {
private static $StaticCalls = array(); private static $StaticCalls = array();
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/** /**
* noch nicht wirklich entwickelt... eher als notiz zu verstehen * noch nicht wirklich entwickelt... eher als notiz zu verstehen
* @since 20110801 @author n@mensch.coop * @since 20110801 @author n@mensch.coop
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
?> ?>
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcSort { class mcSort {
public static function sortObjs(array $param_objs, $param_column) { public static function sortObjs(array $param_objs, $param_column) {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcString { class mcString {
public static function generateAlphaNumericRandumString($param_length=8) { public static function generateAlphaNumericRandumString($param_length=8) {
$characters = array( $characters = array(
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcUnityCalculator { class mcUnityCalculator {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcUrl { class mcUrl {
/** /**
* *
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
// $__PATH_to_mcClasses; // $__PATH_to_mcClasses;
...@@ -26,7 +29,7 @@ if($_LOSP_DEV) { ...@@ -26,7 +29,7 @@ if($_LOSP_DEV) {
* remove every time the file and start a new file * remove every time the file and start a new file
* @author f@mensch.coop @since 20120301 * @author f@mensch.coop @since 20120301
*/ */
$__mc_D_LOGFILE_HTML_RESET = true; $__mc_D_LOGFILE_HTML_RESET = false;
} }
} }
/** /**
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/** /**
* dinge die am Ende noch ausgeführt werden sollen * dinge die am Ende noch ausgeführt werden sollen
* *
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
require_once $__PATH_to_mcClasses .'include.php'; require_once $__PATH_to_mcClasses .'include.php';
require_once $__PATH_to_mcClasses .'config.php'; require_once $__PATH_to_mcClasses .'config.php';
if(is_file('local.conf.php')) { if(is_file('local.conf.php')) {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcCairoSvg { class mcCairoSvg {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcDir { class mcDir {
public static function create($param_path) { public static function create($param_path) {
$return = mkdir($param_path, 0700, true); $return = mkdir($param_path, 0700, true);
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcFile { class mcFile {
/** /**
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcImage { class mcImage {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcImagick { class mcImagick {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcInkscape { class mcInkscape {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcSvg { class mcSvg {
public static function getGraticuleAsDomElement(DOMElement $param_domelement, $param_x=0, $param_y=0, $param_lenght=10, $param_disableCircleIfSmallAs=false, $param_color='black') { public static function getGraticuleAsDomElement(DOMElement $param_domelement, $param_x=0, $param_y=0, $param_lenght=10, $param_disableCircleIfSmallAs=false, $param_color='black') {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcZinsmethoden { class mcZinsmethoden {
public static function rechneZinsen($evon, $ezdatum, $ebis, $emzins, $ezbetrag, $__ZINSBERECHNUNG='deutsch') { public static function rechneZinsen($evon, $ezdatum, $ebis, $emzins, $ezbetrag, $__ZINSBERECHNUNG='deutsch') {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcHelp { class mcHelp {
private static $language = 'deu'; private static $language = 'deu';
private static $Help = array( private static $Help = array(
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/** /**
* pear install HTML_Page2 * pear install HTML_Page2
*/ */
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcQuickform2 { class mcQuickform2 {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcTableHtml { class mcTableHtml {
/** /**
* *
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/** /**
* include the mcClasses libary * include the mcClasses libary
* *
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class mcActiveRecord extends ActiveRecord { class mcActiveRecord extends ActiveRecord {
public static function PDO_query($param_query, array $param_bindValueArray=null) { public static function PDO_query($param_query, array $param_bindValueArray=null) {
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
for($i=0;$i<=255;$i++) for($i=0;$i<=255;$i++)
$fpdf_charwidths['courier'][chr($i)]=600; $fpdf_charwidths['courier'][chr($i)]=600;
$fpdf_charwidths['courierB']=$fpdf_charwidths['courier']; $fpdf_charwidths['courierB']=$fpdf_charwidths['courier'];
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
$fpdf_charwidths['helvetica']=array( $fpdf_charwidths['helvetica']=array(
chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584, chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584,
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
$fpdf_charwidths['helveticaB']=array( $fpdf_charwidths['helveticaB']=array(
chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584, chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584,
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
$fpdf_charwidths['helveticaBI']=array( $fpdf_charwidths['helveticaBI']=array(
chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584, chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584,
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
$fpdf_charwidths['helveticaI']=array( $fpdf_charwidths['helveticaI']=array(
chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584, chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584,
......
<?php <?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/** /**
* @filesource class_mcValidator.inc.php * @filesource class_mcValidator.inc.php
* *
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!