Functions
getReportID()
If the SMS sending is successful, the report number must be rotated to view the report. public function getReportID(){ return $this->instance->rid; }
getReport()
With the obtained report number, we question the status of the sent phone numbers. It is ensured that numbers are returned as (Pending, Forwarded, Incorrect). Parameters; $id --- if the the external report number is empty, getReportID() function is used. p...
getBalance() - Balance Information
It is used to obtain balance information by way of the API. public function getBalance(){ return $this->instance->Balance(); } Return Value; Array ( [balance] => 1.2222 [currency] => USD )
get_prices() - Costs
It is used to get price information according to countries by way of API. public function get_prices(){ $prices = $this->instance->get_prices(); $result = []; if($prices) foreach($prices AS $row) $result[$row["countryCode"]] = $row[...
Other Functions
Function Description getNumbers() It is a mandatory function that combines and returns the $numbers and $numbers_intl arrays in the class. getTitle() It returns the $title (Sender ID) variable in the class, and it is a mandatory function. getBody...