Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ncphp
/
mcClasses
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4ea0aa4d
authored
Oct 06, 2014
by
sn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
copyright 2014 netz.coop eG
1 parent
35414fc4
Show whitespace changes
Inline
Side-by-side
Showing
54 changed files
with
163 additions
and
1 deletions
D/class_D.inc.php
ReportHandling/class_Error.inc.php
ReportHandling/class_Message.inc.php
ReportHandling/class_mcEvent.inc.php
ReportHandling/class_mcMessageReport.inc.php
ReportHandling/class_mcPDOLogger.inc.php
ReportHandling/class_mcReport.inc.php
ReportHandling/fnc_mcErrorHandler.inc.php
basepath.inc.php
class_mcArray.inc.php
class_mcBash.inc.php
class_mcCONST.inc.php
class_mcConfig.inc.php
class_mcCrypt.inc.php
class_mcCsv.inc.php
class_mcDate.inc.php
class_mcDeprecated.inc.php
class_mcException.inc.php
class_mcFPDF.inc.php
class_mcHeader.inc.php
class_mcInputHandler.inc.php
class_mcLanguage.inc.php
class_mcMail.inc.php
class_mcNumber.inc.php
class_mcPerformance.inc.php
class_mcQRCode.inc.php
class_mcQuickForm.inc.php
class_mcSort.inc.php
class_mcString.inc.php
class_mcUnityCalculator.inc.php
class_mcUrl.inc.php
config.php
doOnTheEnd.php
doOnTheStart.php
file/class_mcCairoSvg.inc.php
file/class_mcDir.inc.php
file/class_mcFile.inc.php
file/class_mcImage.inc.php
file/class_mcImagick.inc.php
file/class_mcInkscape.inc.php
file/class_mcSvg.inc.php
finance/class_mcZinsmethoden.inc.php
html/class_mcHelp.inc.php
html/class_mcPage2.inc.php
html/class_mcQuickform2.inc.php
html/class_mcTableHtml.inc.php
include.php
lib/class_mcActiveRecort.inc.php
lib/fpdf16/font/courier.php
lib/fpdf16/font/helvetica.php
lib/fpdf16/font/helveticab.php
lib/fpdf16/font/helveticabi.php
lib/fpdf16/font/helveticai.php
validation/class_mcValidator.inc.php
D/class_D.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/**
* @filesource class_D.inc.php
*
* @category losp
...
...
ReportHandling/class_Error.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/**
* @filesource class_Error.inc.php
*
* @category losp
...
...
ReportHandling/class_Message.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/**
* @filesource class_Message.inc.php
*
* @category losp
...
...
ReportHandling/class_mcEvent.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcEvent
extends
mcReport
{
/**
* @var int -- errno, contains the level of the error raised
...
...
ReportHandling/class_mcMessageReport.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcMessageReport
{
private
static
$Messages
=
array
();
public
static
function
addMessage
(
$param_subject
,
$param_Message
=
''
)
{
...
...
ReportHandling/class_mcPDOLogger.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/*
* To change this template, choose Tools | Templates
...
...
ReportHandling/class_mcReport.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/**
* @filesource class_mcReport.inc.php
* @category mcClasses
* @author f@mensch.coop
...
...
ReportHandling/fnc_mcErrorHandler.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/**
* @filesource fnc_mcErrorHandler.inc.php
*
* @category losp
...
...
basepath.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/**
* @var link to the basic path from the mcClasses dir
*/
$__BASEPATH_EX
=
'./'
;
...
...
class_mcArray.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/**
* @todo
* könnte in
* SEOLinkCache eingesetzt werden
...
...
class_mcBash.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcBash
{
public
static
function
exec
(
$command
,
array
&
$output
=
null
,
&
$return_var
=
null
)
{
$StartTime
=
time
();
...
...
class_mcCONST.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcCONST
{
/**
* @var constant -- old ::$zeilenumbruch
...
...
class_mcConfig.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcConfig
{
private
static
$configs
=
array
(
...
...
class_mcCrypt.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcCrypt
{
public
static
function
crypt
(
$param_string
)
{
...
...
class_mcCsv.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcCsv
{
...
...
class_mcDate.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcDate
{
/**
* check if the format is like this yyyy-mm-dd
...
...
class_mcDeprecated.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/**
*
*/
class
mcDeprecated
{
...
...
class_mcException.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcException
extends
mcEvent
{
...
...
class_mcFPDF.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcFPDF
extends
FPDF
{
...
...
class_mcHeader.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/**
* noch nicht wirklich entwickelt... eher als notiz zu verstehen
* @since 20110801 @author n@mensch.coop
*/
...
...
class_mcInputHandler.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/*
* To change this template, choose Tools | Templates
...
...
class_mcLanguage.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcLanguage
{
private
static
$Language
=
'deu'
;
private
static
$Words
=
array
(
...
...
class_mcMail.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcMail
{
...
...
class_mcNumber.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcNumber
{
public
static
function
round2
(
$param_number
)
{
...
...
class_mcPerformance.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcPerformance
{
private
static
$StaticCalls
=
array
();
...
...
class_mcQRCode.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/**
* noch nicht wirklich entwickelt... eher als notiz zu verstehen
* @since 20110801 @author n@mensch.coop
* require_once('lib/phpqrcode/qrlib.php');
...
...
class_mcQuickForm.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
?>
class_mcSort.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcSort
{
public
static
function
sortObjs
(
array
$param_objs
,
$param_column
)
{
...
...
class_mcString.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcString
{
public
static
function
generateAlphaNumericRandumString
(
$param_length
=
8
)
{
$characters
=
array
(
...
...
class_mcUnityCalculator.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcUnityCalculator
{
...
...
class_mcUrl.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcUrl
{
/**
*
...
...
config.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
// $__PATH_to_mcClasses;
...
...
@@ -26,7 +29,7 @@ if($_LOSP_DEV) {
* remove every time the file and start a new file
* @author f@mensch.coop @since 20120301
*/
$__mc_D_LOGFILE_HTML_RESET
=
tru
e
;
$__mc_D_LOGFILE_HTML_RESET
=
fals
e
;
}
}
/**
...
...
doOnTheEnd.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/**
* dinge die am Ende noch ausgeführt werden sollen
*
* (nur für Dinge die unter mcClasses sind)
...
...
doOnTheStart.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
require_once
$__PATH_to_mcClasses
.
'include.php'
;
require_once
$__PATH_to_mcClasses
.
'config.php'
;
if
(
is_file
(
'local.conf.php'
))
{
...
...
file/class_mcCairoSvg.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcCairoSvg
{
...
...
file/class_mcDir.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcDir
{
public
static
function
create
(
$param_path
)
{
$return
=
mkdir
(
$param_path
,
0700
,
true
);
...
...
file/class_mcFile.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcFile
{
/**
...
...
file/class_mcImage.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcImage
{
...
...
file/class_mcImagick.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcImagick
{
...
...
file/class_mcInkscape.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcInkscape
{
...
...
file/class_mcSvg.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcSvg
{
public
static
function
getGraticuleAsDomElement
(
DOMElement
$param_domelement
,
$param_x
=
0
,
$param_y
=
0
,
$param_lenght
=
10
,
$param_disableCircleIfSmallAs
=
false
,
$param_color
=
'black'
)
{
...
...
finance/class_mcZinsmethoden.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcZinsmethoden
{
public
static
function
rechneZinsen
(
$evon
,
$ezdatum
,
$ebis
,
$emzins
,
$ezbetrag
,
$__ZINSBERECHNUNG
=
'deutsch'
)
{
...
...
html/class_mcHelp.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcHelp
{
private
static
$language
=
'deu'
;
private
static
$Help
=
array
(
...
...
html/class_mcPage2.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/**
* pear install HTML_Page2
*/
class
mcPage2
{
...
...
html/class_mcQuickform2.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcQuickform2
{
...
...
html/class_mcTableHtml.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcTableHtml
{
/**
*
...
...
include.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/**
* include the mcClasses libary
*
* @author dev@mensch.coop
...
...
lib/class_mcActiveRecort.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
class
mcActiveRecord
extends
ActiveRecord
{
public
static
function
PDO_query
(
$param_query
,
array
$param_bindValueArray
=
null
)
{
...
...
lib/fpdf16/font/courier.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
for
(
$i
=
0
;
$i
<=
255
;
$i
++
)
$fpdf_charwidths
[
'courier'
][
chr
(
$i
)]
=
600
;
$fpdf_charwidths
[
'courierB'
]
=
$fpdf_charwidths
[
'courier'
];
...
...
lib/fpdf16/font/helvetica.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
$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
(
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
,
...
...
lib/fpdf16/font/helveticab.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
$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
(
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
,
...
...
lib/fpdf16/font/helveticabi.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
$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
(
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
,
...
...
lib/fpdf16/font/helveticai.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
$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
(
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
,
...
...
validation/class_mcValidator.inc.php
View file @
4ea0aa4
<?php
/**
* @copyright (c) 2014, netz.coop eG
*/
/**
* @filesource class_mcValidator.inc.php
*
* @category losp
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment