a.class.php
Public Function Updatelastvalidtel ()
{
$oCRMCustomerProc = new Crm_customerproc ();
$time = $oCRMCustomerProc->getlastvalidteltime ();
$count = $oCRMCustomerProc->updatelastvalidtel ($time);
}
Called in the B file
b.php
Marketdaily::updatelastvalidtel ();
Updatelastvalidtel () is not a static method, why do you call it this way? Ask the Master.
Reply to discussion (solution)
As long as your PHP version is less than 5.4, it is not a problem to write
Static methods can be called statically, which is the rule that php5.3 begins to introduce
This is a very detailed, welcome view.
http://bbs.csdn.net/topics/350118147
As long as your PHP version is less than 5.4, it is not a problem to write
Static methods can be called statically, which is the rule that php5.3 begins to introduce [/
All right
This is a very detailed, welcome view.
http://bbs.csdn.net/topics/350118147
Very good!