Callback functions Add callback function in PDOCrud

  
                                $pdocrud = new PDOCrud();
                                //Add callback function "beforeloginCallback" on before_select event
                                $pdocrud->addCallback("before_select", "beforeloginCallback");
                                echo $pdocrud->dbTable("users")->render();

                                // Available events are 

                                //This 'beforeloginCallback' function must be added on script/pdocrud.php file
                                // e.g. before data submission encrypt user password
                                function beforeloginCallback($data, $this) {
                                    $data["data"]["user_pass"]= md5($data["data"]["user_pass"]);
                                    return $data;
                                }
                            

Callback function in PDOCrud

Users

Showing 1 to 10 of 188 entries

# User id First name Last name User name Password Email Phone Gender Birth date Hobbies Educational status Company name Address City State Country Zip code About yourself Actions
1 26 Jon Snow jon jonathaon jon@gmail.com 99009900 male 2016-11-11 Footbal, volleyball, dddd BE DDT USA newyork 0 3 452005 about desc.
2 31 Dev Smith admin admin_ddt@123 dev.ddtech@gmail.com 09977848644 male 2019-03-29 Chess BA Digital Dreams Technology A 106 leeds Enclave CA CA USA 45200 lorep ipisusm
3 32 uqYBchKJuUsD qWZvTMbZDWAg QWMAqwHuLaN JmEzjwftyo PlQQpDNLUsLEbx 0000-00-00 Austin HRHrBIWxHAghuXk aHSqxWJxFZu What do you like doing in your spare time? http://beeg.in.net/ beeg porn As far as his grammar goes… he’s already shown his lack of intelligence by not just wearing a Dolphins hat, but posting a pic of himself on the internet wea vAuIJijYJvgEp VIbgfkCW gayIUYjgCjdEnfFg GLvoGNHdGQAq What do you like doing in your spare time? http://beeg.in.net/ beeg porn As far as his grammar goes… he’s already shown his lack of intelligence by not just wearing a Dolphins hat, but posting a pic of himself on the internet wearing it where you know he’s going to take criticism… what else would you expect….
4 33 uqYBchKJuUsD qWZvTMbZDWAg QWMAqwHuLaN JmEzjwftyo PlQQpDNLUsLEbx 0000-00-00 Antonia HRHrBIWxHAghuXk aHSqxWJxFZu Where do you come from? http://pornhub.in.net/ pornub Rockefeller's office began investigating data brokers in October 2012, and the responses from nine data broker companies that he contacted showed that some websites share consumer information gat vAuIJijYJvgEp VIbgfkCW gayIUYjgCjdEnfFg GLvoGNHdGQAq Where do you come from? http://pornhub.in.net/ pornub Rockefeller's office began investigating data brokers in October 2012, and the responses from nine data broker companies that he contacted showed that some websites share consumer information gathered by Web surveys, sweepstakes, and questionnaires.
5 34 uqYBchKJuUsD qWZvTMbZDWAg QWMAqwHuLaN JmEzjwftyo PlQQpDNLUsLEbx 0000-00-00 Luke HRHrBIWxHAghuXk aHSqxWJxFZu The National Gallery http://dinotube.in.net/ dinotube The plan approved by the Federal Aviation Administrationcalled for Boeing to encase the lithium-ion batteries in a steelbox, install new battery chargers, and add a duct to vent gasesdirectly out vAuIJijYJvgEp VIbgfkCW gayIUYjgCjdEnfFg GLvoGNHdGQAq The National Gallery http://dinotube.in.net/ dinotube The plan approved by the Federal Aviation Administrationcalled for Boeing to encase the lithium-ion batteries in a steelbox, install new battery chargers, and add a duct to vent gasesdirectly outside the aircraft in the event of overheating.
6 35 uqYBchKJuUsD qWZvTMbZDWAg QWMAqwHuLaN JmEzjwftyo PlQQpDNLUsLEbx 0000-00-00 Shirley HRHrBIWxHAghuXk aHSqxWJxFZu I'd like to pay this cheque in, please http://keandra.in.net/ keandra porn "Federal Reserve policies cannot necessarily counteract theeffects of fiscal policy uncertainty, declining productivitygrowth or structural changes in the labor market - all vAuIJijYJvgEp VIbgfkCW gayIUYjgCjdEnfFg GLvoGNHdGQAq I'd like to pay this cheque in, please http://keandra.in.net/ keandra porn "Federal Reserve policies cannot necessarily counteract theeffects of fiscal policy uncertainty, declining productivitygrowth or structural changes in the labor market - all of whichappear to be playing a role to some degree," said Lacker, whodoes not have a vote on Fed policy this year.
7 36 uqYBchKJuUsD qWZvTMbZDWAg QWMAqwHuLaN JmEzjwftyo PlQQpDNLUsLEbx 0000-00-00 Joshua HRHrBIWxHAghuXk aHSqxWJxFZu Nice to meet you http://planetsuzy.fun/ planetsuzy porndude Morgan Stanley analysts said the price proposed by Schneiderwas "fair and reasonable", valuing the British company at around22 times earnings forecasts for 2014. That compares with anaverag vAuIJijYJvgEp VIbgfkCW gayIUYjgCjdEnfFg GLvoGNHdGQAq Nice to meet you http://planetsuzy.fun/ planetsuzy porndude Morgan Stanley analysts said the price proposed by Schneiderwas "fair and reasonable", valuing the British company at around22 times earnings forecasts for 2014. That compares with anaverage multiple of 13 times for Britain's industrial machineryand equipment sector, according to Thomson Reuters data.
8 37 MqsqFrVeVfzKQhRKjv YLYzZVhmAthOHopM vAQJSGSKYRDSJNdMdZn UdbMXBXfqxmdtLIELsy 0 0000-00-00 WlBZmWwXRnbr pnpHoGZrhFUkXyws I'd like to pay this cheque in, please http://xnxxxnxx.in.net/ indian xnxx As stars age, this lithium is burned up or destroyed, providing scientists with an ability to tell how old a star is. Our Sun has just one per cent of the lithium that it wou 3 3 3 vmmfpOFaid I'd like to pay this cheque in, please http://xnxxxnxx.in.net/ indian xnxx As stars age, this lithium is burned up or destroyed, providing scientists with an ability to tell how old a star is. Our Sun has just one per cent of the lithium that it would have had when it was formed.
9 38 MqsqFrVeVfzKQhRKjv YLYzZVhmAthOHopM vAQJSGSKYRDSJNdMdZn UdbMXBXfqxmdtLIELsy 1 0000-00-00 WlBZmWwXRnbr pnpHoGZrhFUkXyws Will I have to work on Saturdays? http://xnxxxnxx.in.net/ xnxx stories He said there were always sceptics about big engineering projects, but pointed to Crossrail - a new east to west railway line across London, which is currently being built -as ev 3 3 3 vmmfpOFaid Will I have to work on Saturdays? http://xnxxxnxx.in.net/ xnxx stories He said there were always sceptics about big engineering projects, but pointed to Crossrail - a new east to west railway line across London, which is currently being built -as evidence that projects can be delivered on time and without spiralling costs.
10 39 MqsqFrVeVfzKQhRKjv YLYzZVhmAthOHopM vAQJSGSKYRDSJNdMdZn UdbMXBXfqxmdtLIELsy 1 0000-00-00 WlBZmWwXRnbr pnpHoGZrhFUkXyws I'd like , please http://toroporno.in.net/ www.toroporno.com Hash oils can sell for $40, $60 or more per gram, depending on quality â?? meaning more tax revenue for the state. If such extracts are considered a "marijuana-infused product," people wou 3 3 3 vmmfpOFaid I'd like , please http://toroporno.in.net/ www.toroporno.com Hash oils can sell for $40, $60 or more per gram, depending on quality â?? meaning more tax revenue for the state. If such extracts are considered a "marijuana-infused product," people would be allowed to buy up to 16 ounces of oils in solid form, or 72 ounces in liquid form. Such transactions could run tens of thousands of dollars.
# User id First name Last name User name Password Email Phone Gender Birth date Hobbies Educational status Company name Address City State Country Zip code About yourself Actions