1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-11 01:46:13 +00:00

modified: appinfo/formatphonenumber.php

Numbers will be formatted as in this examples:
	00xx 1234567... 	=> +xx1234567...
	(xxx)-yyy 1234567...	=> xxxyyy1234567...
	+xx (0) yyy 1234567...	=> +xxyyy1234567...
This commit is contained in:
stagprom 2014-11-27 14:00:26 +01:00
parent 49ba8fd269
commit b45854abd3

View File

@ -8,10 +8,11 @@
* @author Loic Blot <loic.blot@unix-experience.fr>
* @copyright Loic Blot 2014
*/
namespace OCA\OcSms\AppInfo;
class FormatPhoneNumber {
class FormatPhoneNumber {
public static function formatPhoneNumber($pn) {