2017-25 © Pedro Peláez
 

library control-time

Time control of the script with the ability to check the intermediate points.

image

ashterix/control-time

Time control of the script with the ability to check the intermediate points.

  • Friday, July 24, 2015
  • by Ashterix
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Control Time

Time control of the script with the ability to check the intermediate points., (*1)

How use?

INIT

At the beginning of your script, initiate control of time: ~~~~~~ php use Control\ControlTime;, (*2)

ControlTime::init();, (*3)


##### ADD WAYPOINTS In the right places in your script, add waypoints with comments: ~~~~~~ php ControlTime::addWayPoint('Before connect to DB'); // your connect to DB ControlTime::addWayPoint('After connect to DB');
GET RESULTS

At the end of your script, get results in the desired format: ~~~~~~ php $resultArray = ControlTime::getResults(ControlTime::RETURN_ARRAY); // or $resultJSON = ControlTime::getResults(ControlTime::RETURN_JSON); // or $resultHTML = ControlTime::getResults(ControlTime::RETURN_HTML);, (*4)




##### HTML demo: ~~~~~~ php echo $resultHTML;

main window, (*5)

The Versions

24/07 2015

dev-master

9999999-dev

Time control of the script with the ability to check the intermediate points.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Alex Maystrenko

24/07 2015

1.0.2

1.0.2.0

Time control of the script with the ability to check the intermediate points.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Alex Maystrenko

24/07 2015

1.0.1

1.0.1.0

Time control of the script with the ability to check the intermediate points.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Alex Maystrenko