Skip to content

Commit d4a7bc3

Browse files
author
ifsale
committed
new release
2 parents 473799e + 5eb5b61 commit d4a7bc3

File tree

4 files changed

+77
-1
lines changed

4 files changed

+77
-1
lines changed

CHANGELOG

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<<<<<<< HEAD
12

23
##########################################################
34

@@ -388,3 +389,55 @@ VERSION 0.9.3b IS FULLY COMPATIBLE WITH VERSION 0.9.2
388389
- added $_SESSION['debugStarted'] to check if debugLoader() has already been called
389390
- readded the __constructor to call $this->debugLoader()
390391

392+
=======
393+
394+
##########################################################
395+
396+
PhpToolCase Version 0.7 open source project
397+
398+
A powerfull set of tools to speed up the process of coding
399+
400+
##########################################################
401+
402+
403+
404+
== CHANGELOG ===================================
405+
406+
407+
- Version 0.7
408+
409+
PtcDb.php:
410+
411+
- removed xmlBuilder() method as it does not belong to the mysql class
412+
413+
PtcDebug.php:
414+
415+
- added code to parse $_GET from referer, to be able to debug from ajax calls
416+
417+
- changed the debugLoader function and made all the vars empty as default
418+
419+
- renamed startDebug to debugLoader and the function to callDebug aswell
420+
421+
422+
- Version 0.6
423+
424+
PtcDb.php:
425+
426+
- added static method selfInstance() to autoinitialize the class
427+
428+
PtcDebug.php:
429+
430+
- removed the __cunstructor and changed it for a self initialized instance "startDebug()"
431+
432+
- changed the debugLoader function and made all the vars to be passed empty as default
433+
434+
- renamed startDebug to debugLoader and the function to callDebug
435+
436+
- added $_SESSION['debugStarted'] to check if debugLoader() has already been called
437+
438+
- readded the __constructor to call $this->debugLoader()
439+
440+
441+
442+
443+
>>>>>>> master

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "ifsale/phptoolcase",
2+
"name": "phptoolcase/phptoolcase",
33
"type": "library",
44
"description": "A set of tools to speed up the process of coding",
55
"keywords": ["php developer tools", "php library", "php framework", "dynamic forms", "application programming", "help php", "debug php", "php tools", "php toolcase", "easy php"],

examples/README

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ EXAMPLE FILES FOR ALL LIBRARY COMPONENTS:
44

55
- ptcdebug-ex.php debugger & logger examples file
66
- ptcdb-ex.php mysql query helper examples file
7+
<<<<<<< HEAD
78
- ptchm-ex.php handyman example file
89
- ptcevent-ex.php event dispacher component example file
910
- ptcmapper-ex.php ptcmapper object relational mapping example file
@@ -14,3 +15,5 @@ EXAMPLE FILES FOR ALL LIBRARY COMPONENTS:
1415
- form-example-files examples folder for the dynamic forms component
1516
- router-example-files examples folder for the router component
1617
- view-example-files examples folder for the view component
18+
=======
19+
>>>>>>> master

examples/ptcdebug-ex.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<<<<<<< HEAD
12
<?php
23

34
/*
@@ -15,6 +16,18 @@
1516
require_once( '../PtcDebug.php' ); // include the PtcDebug class
1617

1718
$options = array // add some options before class initialization
19+
=======
20+
<?
21+
//session_start(); # start session for persistent debugging
22+
23+
$_GET['debug']=true; # turn on the debug
24+
25+
//$_GET['debugOff']=true; # turn off debug
26+
27+
require_once('../PtcDebug.php'); # include the PtcDebug class
28+
29+
$options=array
30+
>>>>>>> master
1831
(
1932
'url_key' => 'debug' ,
2033
'url_pass' => 'true' ,
@@ -95,6 +108,7 @@ function some_func( ){ fopen( ); }
95108
PtcDebug::stopCoverage( ); // we could start it again later, if stopCoverage( ) is not used it will be stopped at shutdown
96109

97110

111+
<<<<<<< HEAD
98112
/* STOT TRACING FUNCTION CALLS */
99113
PtcDebug::stopTrace( ); // we could start it again later, if stopTrace( ) is not used it will be stopped at shutdown
100114

@@ -108,6 +122,12 @@ function some_func( ){ fopen( ); }
108122
/* CATCHING AN EXCEPTION */
109123
throw new Exception( 'Uncaught Exception' );
110124

125+
=======
126+
function ddas()
127+
{
128+
fopen();
129+
}
130+
>>>>>>> master
111131

112132
//session_destroy();
113133

0 commit comments

Comments
 (0)