extend()
- It is a mandatory function.
- It is used to extend the order period.
Parameters
$data --- It is an array variable, the return values are as follows.
period | According to the selected period cycle in order one of the: month, year, day returns. |
time | Renewing period information is returned. |
The return value should return boolean (true) if the operation is successful, or boolean (false) if not.
You can examine the sample codes for the function content.