PHP Classes

PHP NoSQL Database OnTime: Create and manage NoSQL database

Recommend this page to a friend!
  Info   Example   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 101 All time: 9,795 This week: 79Up
Version License PHP version Categories
phpnosqldatabse 3.52Public Domain5Databases, User Management, Libraries, W..., P..., T...
Description 

Author

This package can be use to manage the creation and access to a database with using SQL.

It provides several traits that can be used to compose a class to perform operations to manage a database without using SQL queries.

The package provides traits to Create & manage database records for handling:

- User accounts
- User groups
- Create User tables
- Insert, Upsert. Update and Delete records
- Validate records
- Create Data Dictionary and user record
- Debugging
- Dates and times
- Multi-language support

The package also comes with modernized version of the NuSOAP library for using with Web services.

Picture of Mario Carrocera
  Performance   Level  
Name: Mario Carrocera is available for providing paid consulting. Contact Mario Carrocera .
Classes: 18 packages by
Country: Mexico Mexico
Age: 59
All time rank: 309536 in Mexico Mexico
Week rank: 51 Up1 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Example

<?php

ini_set
('display_errors', true);
error_reporting(E_ERROR | E_PARSE | E_NOTICE | E_WARNING);

$base='ontime/';
$AdminPassword='OT2021Free';
include_once(
$base."OnTime.php");

echo
"********** <br> Create Class <br> ********** <br> <br>";
$demo=new OnTime();
$demo->ot_error('basic content exist').'<br>';


echo
"**********+++++++++++ <br> Where not conected <br> **********+++++++++++ <br> <br>";
echo
"Id when not conected: ";echo $demo->id; echo "<br>";
echo
"Conecion statust: ";
if (
$demo->conected) {
    echo
"True";} else {
    echo
"False";}; echo "<br>";
echo
"********** <br> Show Errors<br> ********** <br> <br>";
$demo->ot_show($demo->errtext);
echo
"********** <br> Show features<br> ********** <br> <br>";
$demo->ot_show($demo->features);
echo
"********** <br> Show content<br> ********** <br> <br>";
$demo->ot_show($demo->content);
echo
"********** <br> Show Level<br> ********** <br> <br>";
$demo->ot_show($demo->level);
echo
"********** <br> Show Status<br> ********** <br> <br>";
$demo->ot_show($demo->status);

echo
"**********+++++++++++ <br> Conecting like admin <br> **********+++++++++++ <br> <br>";
echo
"Connect('admin','OT2021Free') ";
$demo->Connect('admin','OT2021Fre');
echo
"<br>";$demo->ot_error("Conected!!!");echo "<br>";
echo
"Connect('Admin','OT2021Free') ";
$demo->Connect('Admin',$AdminPassword);
echo
"<br>";$demo->ot_error("Conected!!!");echo "<br>";
echo
"Connect('admin','OT2021Free') ";
$demo->Connect('admin',$AdminPassword);
echo
"<br>";$demo->ot_error("Conected!!!");echo "<br>";

echo
"**********+++++++++++ <br> Loaded on conection <br> **********+++++++++++ <br> <br>";

if (
$demo->conected) {
    echo
"Id when conected: ";echo $demo->id; echo "<br>";
    echo
"Showing Public Information of the user <br>";$demo->ot_show($demo->user);echo "<br>";
    echo
"Showing Private Information of the user <br>";$demo->ot_show($demo->userp);echo "<br>";
    echo
"Showing Safety of the user <br>";$demo->ot_show($demo->safety);echo "<br>";
}

echo
"**********+++++++++++ <br> Try conect where conected <br> **********+++++++++++ <br> <br>";
echo
"Connect('admin','OT2021Free') ";
$demo->Connect('admin',$AdminPassword);
echo
"<br>";$demo->ot_error("Conected!!!");echo "<br>";

echo
"**********+++++++++++ <br> User <br> **********+++++++++++ <br> <br>";
echo
"********** <br> Adding <br> **********+ <br> <br>";
echo
"CrtUsr('admin','xxx','active','name','active')";
$demo->CrtUsr('admin','xxx','active','name','active');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"CrtUsr('demo','12345','active','Demostration User','demo')";
$demo->CrtUsr('demo','12345','active','Demostration User','demo');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"CrtUsr('xdemo','23456','active','Another User','demo')";
$demo->CrtUsr('xdemo','23456','active','Another User','demo');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"CrtUsr('Demo','34567','active','Case Sensitive User','demo')";
$demo->CrtUsr('Demo','34567','active','Case Sensitive User','demo');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"CrtUsr('last','45678','active','Last User','demo')";
$demo->CrtUsr('last','45678','active','Last User','demo');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"********** <br> Show All <br> **********+ <br> <br>";
$demo->ot_show($demo->UsrShwAll());
echo
"********** <br> Deleting <br> **********+ <br> <br>";
echo
"UsrDlt('xadmin')";
$demo->UsrDlt('xadmin');
echo
"<br>";$demo->ot_error("Deleted!!!");echo "<br>";
echo
"UsrDlt('admin')";
$demo->UsrDlt('admin');
echo
"<br>";$demo->ot_error("Deleted!!!");echo "<br>";
echo
"UsrDlt('demo')";
$demo->UsrDlt('demo');
echo
"<br>";$demo->ot_error("Deleted!!!");echo "<br>";
echo
"********** <br> Show All <br> **********+ <br> <br>";
$demo->ot_show($demo->UsrShwAll());
echo
"**********+++++++++++ <br> Change User<br> **********+++++++++++ <br> <br>";
echo
"DiscConnect()";
$demo->DiscConnect();
echo
"<br>";$demo->ot_error("Disconected!!!");echo "<br>";
echo
"Connect('xdemo','23456') ";
$demo->Connect('xdemo','23456');
echo
"<br>";$demo->ot_error("Conected!!!");echo "<br>";
echo
"**********+++++++++++ <br> User <br> **********+++++++++++ <br> <br>";
echo
"********** <br> Deleting <br> **********+ <br> <br>";
echo
"UsrDlt('Demo')";
$demo->UsrDlt('Demo');
echo
"<br>";$demo->ot_error("Conected!!!");echo "<br>";
echo
"**********+++++++++++ <br> Change User<br> **********+++++++++++ <br> <br>";
echo
"DiscConnect()";
$demo->DiscConnect();
echo
"<br>";$demo->ot_error("Disconected!!!");echo "<br>";
echo
"Connect('admin','OT2021Free') ";
$demo->Connect('admin',$AdminPassword);
echo
"<br>";$demo->ot_error("Conected!!!");echo "<br>";
echo
"**********+++++++++++ <br> User <br> **********+++++++++++ <br> <br>";
echo
"********** <br> Change <br> **********+ <br> <br>";
echo
"UsrChgInf('zdemo','His new name', 'None')";
$demo->UsrChgInf('zdemo','His new name', 'None');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"UsrChgInf('xdemo','His new name', 'None')";
$demo->UsrChgInf('xdemo','His new name', 'None');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"MyChgInf('Still the admin', 'Mario')";
$demo->MyChgInf('Still the admin', 'Mario');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"********** <br> Show All <br> **********+ <br> <br>";
$demo->ot_show($demo->UsrShwAll());
echo
"**********+++++++++++ <br> Password Check Options <br> **********+++++++++++ <br> <br>";
echo
"********** <br> Check <br> **********+ <br> <br>";
echo
"PssChk('none','His new name')";
$demo->PssChk('none','His new name');
echo
"<br>";$demo->ot_error("Correct!!!");echo "<br>";
echo
"PssChk('admin','fgkkjhkj')";
$demo->PssChk('admin','fgkkjhkj');
echo
"<br>";$demo->ot_error("Correct!!!");echo "<br>";
echo
"PssChk('admin','OT2021Free')";
$demo->PssChk('admin','OT2021Free');
echo
"<br>";$demo->ot_error("Correct!!!");echo "<br>";
echo
"PssChk('last','45678')";
$demo->PssChk('last','45678');
echo
"<br>";$demo->ot_error("Correct!!!");echo "<br>";
echo
"**********+++++++++++ <br> Status Options <br> **********+++++++++++ <br> <br>";
echo
"********** <br> Check status <br> **********+ <br> <br>";
echo
"UserChkStt('admin')";
echo
': '.$demo->UserChkStt('admin');echo "<br>";
echo
"********** <br> Change status <br> **********+ <br> <br>";
echo
"UserChgStt('laxt','force')";
$demo->UserChgStt('laxt','force');
echo
"<br>";$demo->ot_error("Correct!!!");echo "<br>";
echo
"UserChgStt('last','forc')";
$demo->UserChgStt('last','forc');
echo
"<br>";$demo->ot_error("Correct!!!");echo "<br>";
echo
"UserChgStt('last','force')";
$demo->UserChgStt('last','force');
echo
"<br>";$demo->ot_error("Correct!!!");echo "<br>";
echo
"**********+++++++++++ <br> Change User<br> **********+++++++++++ <br> <br>";
echo
"DiscConnect()";
$demo->DiscConnect();
echo
"<br>";$demo->ot_error("Disconected!!!");echo "<br>";
echo
"Connect('last','45678') ";
$demo->Connect('last','45678');
echo
"<br>";$demo->ot_error("Conected!!!");echo "<br>";
echo
"**********+++++++++++ <br> Force Change Password <br> **********+++++++++++ <br> <br>";
echo
"FrcPssChg('laxt','OT2021Free','87654')";
$demo->FrcPssChg('admin',$AdminPassword,'87654');
echo
"<br>";$demo->ot_error("Correct!!!");echo "<br>";
echo
"FrcPssChg('laxt','force')";
$demo->FrcPssChg('laxt','45678','87654');
echo
"<br>";$demo->ot_error("Correct!!!");echo "<br>";
echo
"FrcPssChg('last','5678','87654')";
$demo->FrcPssChg('last','5678','87654');
echo
"<br>";$demo->ot_error("Correct!!!");echo "<br>";
echo
"FrcPssChg('last','45678','87654')";
$demo->FrcPssChg('last','45678','87654');
echo
"<br>";$demo->ot_error("Correct!!!");echo "<br>";
echo
"**********+++++++++++ <br> Change User<br> **********+++++++++++ <br> <br>";
echo
"DiscConnect()";
$demo->DiscConnect();
echo
"<br>";$demo->ot_error("Disconected!!!");echo "<br>";
echo
"Connect('last','87654') ";
$demo->Connect('last','87654');
echo
"<br>";$demo->ot_error("Conected!!!");echo "<br>";
echo
"**********+++++++++++ <br> Change my Password <br> **********+++++++++++ <br> <br>";
echo
"MyPssChg('admin','87654')";
$demo->MyPssChg('admin','87654');
echo
"<br>";$demo->ot_error("Correct!!!");echo "<br>";
echo
"MyPssChg('87654','none')";
$demo->MyPssChg('87654','none');
echo
"<br>";$demo->ot_error("Correct!!!");echo "<br>";
echo
"**********+++++++++++ <br> Change User<br> **********+++++++++++ <br> <br>";
echo
"DiscConnect()";
$demo->DiscConnect();
echo
"<br>";$demo->ot_error("Disconected!!!");echo "<br>";
echo
"Connect('admin','OT2021Free') ";
$demo->Connect('admin','OT2021Free');
echo
"<br>";$demo->ot_error("Conected!!!");echo "<br>";
echo
"**********+++++++++++ <br> Main Feature<br> **********+++++++++++ <br> <br>";
echo
"********** <br> Show User <br> **********+ <br> <br>";
$demo->ot_show($demo->UsrShwMn());
echo
"********** <br> Add User <br> **********+ <br> <br>";
echo
"UsrAddMn('admin','none') ";
$demo->UsrAddMn('admin','none');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"UsrAddMn('admin','remove') ";
$demo->UsrAddMn('admin','remove');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"UsrAddMn('last','remove') ";
$demo->UsrAddMn('last','remove');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"UsrAddMn('Demo','remove') ";
$demo->UsrAddMn('Demo','remove');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"********** <br> Show User <br> **********+ <br> <br>";
$demo->ot_show($demo->UsrShwMn());
echo
"********** <br> Change User Level<br> **********+ <br> <br>";
echo
"UsrChgMn('admin','remove') ";
$demo->UsrChgMn('admin','remove');
echo
"<br>";$demo->ot_error("changed!!!");echo "<br>";
echo
"UsrChgMn('xdemo','remove') ";
$demo->UsrChgMn('xdemo','remove');
echo
"<br>";$demo->ot_error("changed!!!");echo "<br>";
echo
"UsrChgMn('none','remove') ";
$demo->UsrChgMn('none','remove');
echo
"<br>";$demo->ot_error("changed!!!");echo "<br>";
echo
"UsrChgMn('last','none') ";
$demo->UsrChgMn('last','none');
echo
"<br>";$demo->ot_error("changed!!!");echo "<br>";
echo
"UsrChgMn('last','owner') ";
$demo->UsrChgMn('last','owner');
echo
"<br>";$demo->ot_error("changed!!!");echo "<br>";
echo
"********** <br> Show User <br> **********+ <br> <br>";
$demo->ot_show($demo->UsrShwMn());
echo
"********** <br> Delete User Level<br> **********+ <br> <br>";
echo
"UsrDltMn('admin') ";
$demo->UsrDltMn('admin');
echo
"<br>";$demo->ot_error("delete!!!");echo "<br>";
echo
"UsrDltMn('none') ";
$demo->UsrDltMn('none');
echo
"<br>";$demo->ot_error("delete!!!");echo "<br>";
echo
"UsrDltMn('last') ";
$demo->UsrDltMn('last');
echo
"<br>";$demo->ot_error("delete!!!");echo "<br>";
echo
"********** <br> Show User <br> **********+ <br> <br>";
$demo->ot_show($demo->UsrShwMn());
echo
"**********+++++++++++ <br> Other Feature<br> **********+++++++++++ <br> <br>";
echo
"********** <br> Show All <br> **********+ <br> <br>";
echo
"FrtShwAll() ";echo "<br>";
$demo->ot_show($demo->FrtShwAll());
echo
"********** <br> Show User Feature <br> **********+ <br> <br>";
echo
"UsrShwFtr('admin') ";echo "<br>";
$demo->ot_show($demo->UsrShwFtr('admin'));
echo
"********** <br> Show Feature User <br> **********+ <br> <br>";
echo
"FtrShwUsr('usr') ";echo "<br>";
$demo->ot_show($demo->FtrShwUsr('usr'));
echo
"********** <br> Add User <br> **********+ <br> <br>";
echo
"UsrAddFtr('usrx','xlast','xcreate') ";
$demo->UsrAddFtr('usrx','xlast','xcreate');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"UsrAddFtr('usr','xlast','xcreate') ";
$demo->UsrAddFtr('usr','xlast','xcreate');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"UsrAddFtr('usr','last','xcreate') ";
$demo->UsrAddFtr('usr','last','xcreate');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"UsrAddFtr('usr','last','create') ";
$demo->UsrAddFtr('usr','last','create');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"********** <br> Change User <br> **********+ <br> <br>";
echo
"UsrChgFtr('usrx','xlast','xcreate') ";
$demo->UsrChgFtr('usrx','xlast','xcreate');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"UsrChgFtr('usr','xlast','xcreate') ";
$demo->UsrChgFtr('usr','xlast','xcreate');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"UsrChgFtr('usr','last','xcreate') ";
$demo->UsrChgFtr('usr','last','xcreate');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"UsrChgFtr('usr','last','xcreate') ";
$demo->UsrChgFtr('usr','admim','create');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"UsrChgFtr('usr','last','remove') ";
$demo->UsrChgFtr('usr','last','remove');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"********** <br> Delete User <br> **********+ <br> <br>";
echo
"UsrDltFtr('usr','admim') ";
$demo->UsrDltFtr('usr','admim');
echo
"<br>";$demo->ot_error("Deleted!!!");echo "<br>";
echo
"UsrDltFtr('usrx','xlast') ";
$demo->UsrDltFtr('usrx','xlast');
echo
"<br>";$demo->ot_error("Deleted!!!");echo "<br>";
echo
"UsrDltFtr('usr','xlast') ";
$demo->UsrDltFtr('usr','xlast');
echo
"<br>";$demo->ot_error("Deleted!!!");echo "<br>";
echo
"UsrDltFtr('usr','last') ";
$demo->UsrDltFtr('usr','last');
echo
"<br>";$demo->ot_error("Deleted!!!");echo "<br>";
echo
"**********+++++++++++ <br> Errors <br> **********+++++++++++ <br> <br>";
echo
"********** <br> Adding <br> **********+ <br> <br>";
echo
"ErrAdd('C0010M012','Description') ";
$demo->ErrAdd('C0010M012','Description');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"ErrAdd('C0010M012','Description') ";
$demo->ErrAdd('sample','sample error');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"********** <br> Show Errors<br> ********** <br> <br>";
$demo->ot_show($demo->errtext);
echo
"********** <br> Change <br> **********+ <br> <br>";
echo
"ErrChg('none','Description') ";
$demo->ErrChg('none','Description');
echo
"<br>";$demo->ot_error("change!!!");echo "<br>";
echo
"ErrChg('sample','Description') ";
$demo->ErrChg('sample','New description');
echo
"<br>";$demo->ot_error("change!!!");echo "<br>";
echo
"********** <br> Show Errors<br> ********** <br> <br>";
$demo->ot_show($demo->errtext);
echo
"ErrDlt('none','Description') ";
$demo->ErrDlt('none','Description');
echo
"<br>";$demo->ot_error("change!!!");echo "<br>";
echo
"ErrDlt('sample','Description') ";
$demo->ErrDlt('sample','New description');
echo
"<br>";$demo->ot_error("change!!!");echo "<br>";
echo
"********** <br> Show Errors<br> ********** <br> <br>";
$demo->ot_show($demo->errtext);
echo
"**********+++++++++++ <br> Public & Private Info <br> **********+++++++++++ <br> <br>";
echo
"********** <br> Public in user add <br> **********+ <br> <br>";
echo
"MyAddPbl('wife','Beatriz')";
$demo->MyAddPbl('wife','Beatriz');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"MyAddPbl('mascot','dog')";
$demo->MyAddPbl('mascot','dog');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"MyAddPbl('name','Boby')";
$demo->MyAddPbl('name','Boby');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"MyAddPbl('bio','in the example y usually write short related information, but is just that a little example, could be so long as you need, feel free to do ur own test, look that i just write all this text to have more than one line ')";
$demo->MyAddPbl('bio','in the example y usually write short related information, but is just that a little example, could be so long as you need, feel free to do ur own test, look that i just write all this text to have more than one line ');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"********** <br> Show Public information of currente user<br> ********** <br> <br>";
$demo->ot_show($demo->user);
echo
"********** <br> Public in user change <br> **********+ <br> <br>";
echo
"MyChgPbl('son','Axel')";
$demo->MyChgPbl('son','Axel');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"MyChgPbl('name','Robert')";
$demo->MyChgPbl('name','Robert');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"********** <br> Show Public information of currente user<br> ********** <br> <br>";
$demo->ot_show($demo->user);
echo
"********** <br> Public in user delete <br> **********+ <br> <br>";
echo
"MyDltPbl('son')";
$demo->MyDltPbl('son');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"MyDltPbl('bio')";
$demo->MyDltPbl('bio');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"********** <br> Show Private information of currente user<br> ********** <br> <br>";
$demo->ot_show($demo->user);
echo
"********** <br> Private in user add <br> **********+ <br> <br>";
echo
"MyAddPrv('son','Axel')";
$demo->MyAddPrv('son','Axel');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"MyAddPrv('phone','i don't have)";
$demo->MyAddPrv('phone','i dont have');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"MyAddPrv('Color','Red')";
$demo->MyAddPrv('Color','Red');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"MyAddPrv('bio','in the example y usually write short related information, but is just that a little example, could be so long as you need, feel free to do ur own test, look that i just write all this text to have more than one line, in private ')";
$demo->MyAddPrv('bio','in the example y usually write short related information, but is just that a little example, could be so long as you need, feel free to do ur own test, look that i just write all this text to have more than one line, in private ');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"********** <br> Show Private information of currente user<br> ********** <br> <br>";
$demo->ot_show($demo->userp);
echo
"********** <br> Private in user change <br> **********+ <br> <br>";
echo
"MyChgPrv('Daugther','Axel')";
$demo->MyChgPrv('Daugther','Axel');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"MyAddPbl('Color','Blue')";
$demo->MyAddPbl('Color','Blue');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"********** <br> Show Private information of currente user<br> ********** <br> <br>";
$demo->ot_show($demo->userp);
echo
"********** <br> Private in user delete <br> **********+ <br> <br>";
echo
"MyDltPrv('Daugther')";
$demo->MyDltPrv('Daugther');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"MyDltPrv('son')";
$demo->MyDltPrv('son');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"********** <br> Show Private information of currente user<br> ********** <br> <br>";
$demo->ot_show($demo->userp);
echo
"********** <br> Show public information of especific user<br> ********** <br> <br>";
echo
"UserShwPbl('admin')";
$demo->ot_show($demo->UserShwPbl('admin'));
echo
"********** <br> Private in Feature add <br> **********+ <br> <br>";
echo
"FtrAddPrv('usr','Contact','Can find me in ext 1234')";
$demo->FtrAddPrv('usr','Contact','Can find me in ext 1234');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"FtrAddPrv('usr','help','Call eze at any time')";
$demo->FtrAddPrv('usr','help','Call eze at any time');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"FtrAddPrv('usr','sample','I will delete this line')";
$demo->FtrAddPrv('usr','sample','I will delete this line');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"********** <br> Show private information of especific user<br> ********** <br> <br>";
echo
"FtrShwPrv('usr')";echo "<br>";
$demo->ot_show($demo->FtrShwPrv('usr'));echo "<br>";
echo
"********** <br> Private in Feature change <br> **********+ <br> <br>";
echo
"FtrChgPrv('usr','Contact','Dont worry not change')";
$demo->FtrChgPrv('ur','Contact','Dont worry not change');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"FtrChgPrv('usr','help','Call Eze at any time, must be capital')";
$demo->FtrChgPrv('usr','help','Call Eze at any time, must be capital');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"********** <br> Show private information of especific user<br> ********** <br> <br>";
echo
"FtrShwPrv('usr')";echo "<br>";
$demo->ot_show($demo->FtrShwPrv('usr'));echo "<br>";
echo
"********** <br> Private in Deleted delete <br> **********+ <br> <br>";
echo
"FtrDltPrv('usr','Contact')";
$demo->FtrDltPrv('ur','Contact');
echo
"<br>";$demo->ot_error("Deleted!!!");echo "<br>";
echo
"FtrDltPrv('usr','sample')";
$demo->FtrDltPrv('usr','sample');
echo
"<br>";$demo->ot_error("Deleted!!!");echo "<br>";
echo
"********** <br> Show private information of especific user<br> ********** <br> <br>";
echo
"FtrShwPrv('usr')";echo "<br>";
$demo->ot_show($demo->FtrShwPrv('usr'));echo "<br>";
echo
"********** <br> Public in Feature add <br> **********+ <br> <br>";
echo
"FtrAddPbl('usr','Contact','To get access to users send me a mail')";
$demo->FtrAddPbl('usr','Contact','To get access to users send me a mail');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"FtrAddPbl('usr','tall','a litle more than the average')";
$demo->FtrAddPbl('usr','tall','a litle more than the average');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"FtrAddPbl('usr','sample','I will delete this line, yes this one too')";
$demo->FtrAddPbl('usr','sample','I will delete this line, yes this one too');
echo
"<br>";$demo->ot_error("Added!!!");echo "<br>";
echo
"********** <br> Show public information of especific user<br> ********** <br> <br>";
echo
"FtrShwPbl('usr')";echo "<br>";
$demo->ot_show($demo->FtrShwPbl('usr'));echo "<br>";
echo
"********** <br> Public in Feature change <br> **********+ <br> <br>";
echo
"FtrChgPbl('usr','tall','change mu mind, this is selected')";
$demo->FtrChgPbl('usr','tall','change mu mind, this is selected');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"FtrChgPbl('usr','samplx','I will delete this line, yes this one too')";
$demo->FtrChgPbl('usr','samplx','I will delete this line, yes this one too');
echo
"<br>";$demo->ot_error("Changed!!!");echo "<br>";
echo
"********** <br> Show public information of especific user<br> ********** <br> <br>";
echo
"FtrShwPbl('usr')";echo "<br>";
$demo->ot_show($demo->FtrShwPbl('usr'));echo "<br>";
echo
"********** <br> Public in Feature delete <br> **********+ <br> <br>";
echo
"FtrDltPbl('usr','tal','change mu mind, this is selected')";
$demo->FtrDltPbl('usr','tal','change mu mind, this is selected');
echo
"<br>";$demo->ot_error("Deleted!!!");echo "<br>";
echo
"FtrDltPbl('usr','sample','I will delete this line, yes this one too')";
$demo->FtrDltPbl('usr','sample','I will delete this line, yes this one too');
echo
"<br>";$demo->ot_error("Deleted!!!");echo "<br>";
echo
"********** <br> Show public information of especific user<br> ********** <br> <br>";
echo
"FtrShwPbl('usr')";echo "<br>";
$demo->ot_show($demo->FtrShwPbl('usr'));echo "<br>";
echo
"**********+++++++++++ <br> User on line<br> **********+++++++++++ <br> <br>";
echo
"********** <br> Show All <br> **********+ <br> <br>";
echo
"UsrShwNln() ";echo "<br>";
$demo->ot_show($demo->UsrShwNln());
echo
"********** <br> Deleting demo user <br> **********+ <br> <br>";
$demo->UsrDlt('Demo');
echo
"<br>";$demo->ot_error("Deleted!!!");echo "<br>";
$demo->UsrDlt('last');
echo
"<br>";$demo->ot_error("Deleted!!!");echo "<br>";
$demo->UsrDlt('xdemo');
echo
"<br>";$demo->ot_error("Deleted!!!");echo "<br>";
echo
"**********+++++++++++ <br> Demo Finish<br> **********+++++++++++ <br> <br>";
?>


Details

The main class (Core)

The OnTime framework is designed to be modular, scalable and comprehensive, so that each new feature integrates without difficulty and maintains a unique class definition (OnTime) and all "additional classes" are "trait" that enrich it, in such a way that an integrated system is obtained, not separate programs which do not necessarily have to behave correctly together.

Installation in test environment:

1.- Create an empty directory within the web container location (only for example purposes it is considered to be called ?demo?).

2.- Copy all the files in the directory (make sure to assign user permissions)

3.- With the browser of your preference, locate the directory you created and enter it

4.- Execute the OntimeInstaller.php file

5.- When executing the file, an "OnTime" directory was created, the files were moved and the required environment was created

Recommendations:

If you know how to create a subdomain that points to the "demo" directory, it is more comfortable and realistic.

After install

When installing, the necessary environment is defined to define access security, I create a User called "Admin" and that his password is "OT2021Free", this environment left the class prepared

All demo files have sample about especific part of the class

mario.carrocera@hotmail.com


Screenshots (1)  
  • bestpractice.jpg
  Files folder image Files (57)  
File Role Description
Files folder imageNuSoap (12 files)
Files folder imageontime (27 files)
Files folder imageWebServiceServer (2 files)
Accessible without login Plain text file DemoBasic.php Example Example script
Accessible without login Plain text file DemoCore.php Example Example script
Accessible without login Plain text file DemoDate.php Example Example script
Accessible without login Plain text file DemoDebug.php Example Example script
Accessible without login Plain text file DemoDyR.php Example Example script
Accessible without login Plain text file DemoGrp.php Example Example script
Accessible without login Plain text file DemoMultilenguage.php Example Example script
Accessible without login Plain text file DemoTable.php Example Example script
Accessible without login Plain text file licencia Data Auxiliary data
Accessible without login Plain text file license Lic. License text
Accessible without login Plain text file OnTime.php Aux. Auxiliary script
Accessible without login Plain text file OntimeInstaller.php Example Example script
Accessible without login Plain text file OnTimetmp.php Aux. Auxiliary script
Plain text file OTicore.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (57)  /  NuSoap  
File Role Description
  Plain text file class.nusoap_base.php Class Class source
  Plain text file class.soapclient.php Class Class source
  Plain text file class.soap_fault.php Class Class source
  Plain text file class.soap_parser.php Class Class source
  Plain text file class.soap_server.php Class Class source
  Plain text file class.soap_transport_http.php Class Class source
  Plain text file class.soap_val.php Class Class source
  Plain text file class.wsdl.php Class Class source
  Plain text file class.wsdlcache.php Class Class source
  Plain text file class.xmlschema.php Class Class source
  Plain text file nusoap.php Class Class source
  Plain text file nusoapmime.php Class Class source

  Files folder image Files (57)  /  ontime  
File Role Description
  Accessible without login Plain text file OnTime.php Aux. Auxiliary script
  Plain text file OnTimeAllways.php Class Class source
  Plain text file OnTimeBasicA.php Class Class source
  Plain text file OnTimeBasicB.php Class Class source
  Plain text file OnTimeBasicD.php Class Class source
  Plain text file OnTimeContent.php Class Class source
  Plain text file OnTimeConvert.php Class Class source
  Plain text file OnTimeCoreA.php Class Class source
  Plain text file OnTimeCoreB.php Class Class source
  Plain text file OnTimeCoreD.php Class Class source
  Plain text file OnTimeCripto.php Class Class source
  Plain text file OnTimeDateA.php Class Class source
  Plain text file OnTimeDateB.php Class Class source
  Plain text file OnTimeDDD.php Class Class source
  Plain text file OnTimeDebugB.php Class Class source
  Plain text file OnTimeFunctions.php Class Class source
  Plain text file OnTimeGrpsA.php Class Class source
  Plain text file OnTimeGrpsB.php Class Class source
  Plain text file OnTimeGrpsD.php Class Class source
  Plain text file OnTimeLenguageA.php Class Class source
  Plain text file OnTimeLenguageB.php Class Class source
  Plain text file OnTimePageB.php Class Class source
  Plain text file OnTimeRecord.php Class Class source
  Plain text file OnTimeTableA.php Class Class source
  Plain text file OnTimeTableB.php Class Class source
  Plain text file OnTimeValid.php Class Class source
  Plain text file OTicore.php Class Class source

  Files folder image Files (57)  /  WebServiceServer  
File Role Description
  Accessible without login Plain text file WSOTCore.php Example Example script
  Accessible without login Plain text file x Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Reuses Unique User Downloads Download Rankings  
 98%7
Total:101
This week:0
All time:9,795
This week:79Up