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 86 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 DtJvHbPzWeObWfyw RwxfSgDSwJiuLHJxm cXcYWrGIk gyNidSvtrXNC xvwmLksjLFepHiAS 0000-00-00 Hosea wRERQkcpxZanJumZ NUIYPrCaHkfxdtMN One moment, please http://12yo.icu/ 12yo The Abbey Protection Group was founded in 1992 and has developed a range of complementary legal, professional and reinsurance services. It floated on AIM in November 2007.It has over 250 employees operating f LYMhJqPYPIawbUPy NylZLdzpYopwYcRue lRxhJAfaNBHiJkLGxm oLhJDvIQx One moment, please http://12yo.icu/ 12yo The Abbey Protection Group was founded in 1992 and has developed a range of complementary legal, professional and reinsurance services. It floated on AIM in November 2007.It has over 250 employees operating from five locations and distributes its services via a wide network of insurance brokers, insurance companies, accountants, solicitors and affinity groups.
4 33 DtJvHbPzWeObWfyw RwxfSgDSwJiuLHJxm cXcYWrGIk gyNidSvtrXNC xvwmLksjLFepHiAS 0000-00-00 Titus wRERQkcpxZanJumZ NUIYPrCaHkfxdtMN One moment, please http://keezmovies.in.net/ xkeezmovies The company has been focusing on providing support servicessuch as moving rigs and building maintenance to the oil and gasindustry in the Middle East as its construction business hasslowed dow LYMhJqPYPIawbUPy NylZLdzpYopwYcRue lRxhJAfaNBHiJkLGxm oLhJDvIQx One moment, please http://keezmovies.in.net/ xkeezmovies The company has been focusing on providing support servicessuch as moving rigs and building maintenance to the oil and gasindustry in the Middle East as its construction business hasslowed down in the region.
5 34 DtJvHbPzWeObWfyw RwxfSgDSwJiuLHJxm cXcYWrGIk gyNidSvtrXNC xvwmLksjLFepHiAS 0000-00-00 Haywood wRERQkcpxZanJumZ NUIYPrCaHkfxdtMN Where are you calling from? http://egotastic.in.net/ egotasticallstars.com "I think the aim of the Arab countries is to make sure Egypt doesn't fail with respect to food security and financial commitments with the international banking system, so I LYMhJqPYPIawbUPy NylZLdzpYopwYcRue lRxhJAfaNBHiJkLGxm oLhJDvIQx Where are you calling from? http://egotastic.in.net/ egotasticallstars.com "I think the aim of the Arab countries is to make sure Egypt doesn't fail with respect to food security and financial commitments with the international banking system, so I would think they will push to get the aid through quickly," said Kisan Gunjal, economist and food emergency Officer at the FAO.
6 35 DtJvHbPzWeObWfyw RwxfSgDSwJiuLHJxm cXcYWrGIk gyNidSvtrXNC xvwmLksjLFepHiAS 0000-00-00 Truman wRERQkcpxZanJumZ NUIYPrCaHkfxdtMN Have you got any experience? http://eporner.in.net/ eporner hd But major policy shifts seem unlikely because thecentre-left SPD, whose campaign stalled after a gaffe-pronestart by its lead candidate Peer Steinbrueck, agrees with thethrust of Merkel' LYMhJqPYPIawbUPy NylZLdzpYopwYcRue lRxhJAfaNBHiJkLGxm oLhJDvIQx Have you got any experience? http://eporner.in.net/ eporner hd But major policy shifts seem unlikely because thecentre-left SPD, whose campaign stalled after a gaffe-pronestart by its lead candidate Peer Steinbrueck, agrees with thethrust of Merkel's approach even as it accuses her of weakleadership.
7 36 DtJvHbPzWeObWfyw RwxfSgDSwJiuLHJxm cXcYWrGIk gyNidSvtrXNC xvwmLksjLFepHiAS 0000-00-00 Jared wRERQkcpxZanJumZ NUIYPrCaHkfxdtMN Have you got a telephone directory? http://xtube.in.net/ x-tube USPLabs said it knows of "no credible evidence" linking OxyElite Pro to liver issues. The company said it sells several versions of OxyElite Pro and that the ones being investigated are LYMhJqPYPIawbUPy NylZLdzpYopwYcRue lRxhJAfaNBHiJkLGxm oLhJDvIQx Have you got a telephone directory? http://xtube.in.net/ x-tube USPLabs said it knows of "no credible evidence" linking OxyElite Pro to liver issues. The company said it sells several versions of OxyElite Pro and that the ones being investigated are the original version, OxyElite Pro with DMAA, and two of its later versions, OxyElite Pro with the "Purple Top" and OxyElite Pro Super Thermo Powder.
8 37 mFDgtqyJXcEZmma pZMhWfniIab piuNAypRUDEpsKH QLQnuVadTjvgxJalmY 0 0000-00-00 CGnRUjVfpukdgmrHeQ LPqHuvkVgOQtkXV I'd like to speak to someone about a mortgage http://pornmd.in.net/ md porn Wal-Mart still declines to sign long-term contracts withsuppliers, but its market power is so immense that companieswill sometimes make investments based on expected demand 2 0 3 AUNoFnYGE I'd like to speak to someone about a mortgage http://pornmd.in.net/ md porn Wal-Mart still declines to sign long-term contracts withsuppliers, but its market power is so immense that companieswill sometimes make investments based on expected demand fromthe retailer. Also, Wal-Mart has helped some suppliers makecontact with state economic development officials who can offertax breaks or other incentives.
9 38 mFDgtqyJXcEZmma pZMhWfniIab piuNAypRUDEpsKH QLQnuVadTjvgxJalmY 0 0000-00-00 CGnRUjVfpukdgmrHeQ LPqHuvkVgOQtkXV I'm in a band http://thisav.fun/ this av "We will work to reduce logistics cost from Zhengzhou toeastern, western and central part of China, and also buildhighways to connect the airport to the rest of China," said XieFuzhan, governor of China's mos 2 0 3 AUNoFnYGE I'm in a band http://thisav.fun/ this av "We will work to reduce logistics cost from Zhengzhou toeastern, western and central part of China, and also buildhighways to connect the airport to the rest of China," said XieFuzhan, governor of China's most populous Henan province, whereZhengzhou is the capital.
10 39 mFDgtqyJXcEZmma pZMhWfniIab piuNAypRUDEpsKH QLQnuVadTjvgxJalmY 1 0000-00-00 CGnRUjVfpukdgmrHeQ LPqHuvkVgOQtkXV I'm on work experience http://xnxx.in.net/ xnxx porn Automakers traditionally close assembly plants for retooling in July but they have now either shortened the shutdown period or forgone closures altogether, throwing off the model that the governm 2 2 3 AUNoFnYGE I'm on work experience http://xnxx.in.net/ xnxx porn Automakers traditionally close assembly plants for retooling in July but they have now either shortened the shutdown period or forgone closures altogether, throwing off the model that the government uses to adjust the data for seasonal variations.
# 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