Suggestion #8828

format.telephoneNumber

Added by Thomas Deinhamer over 11 years ago. Updated about 10 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Start date:
2010-07-12
Due date:
% Done:

0%

Estimated time:
Has patch:
Tags:

Description

First version of the telephone format viewhelper.
Have a look at the file; the code is quite straightforward.

What I'm curious about is a nice way to implement a way
for localized formats of phone numbers.

In other words: The syntax/format of a phone number varies
from country to country, so there could be maybe a way to
have default "presets" of the function's arguments for
every country or something. Especially thinking about
the 'segmentSeparator' and 'directDialNumberSeparator', etc.
(Maybe even for the segmentLength and the countryCodePrefix.)

Please give feedback! =o)


Files

TelephoneNumberViewHelper.php (4.17 KB) TelephoneNumberViewHelper.php Thomas Deinhamer, 2010-07-12 21:24
TelephoneNumberViewHelper.php (5.24 KB) TelephoneNumberViewHelper.php Thomas Deinhamer, 2010-07-21 00:02
#1

Updated by Sebastian Kurfuerst over 11 years ago

Hey, you are now member of the Incubator Project, so feel free to commit it to the Incubator :-)

Greets,
Sebastian

#2

Updated by Thomas Deinhamer over 11 years ago

Thanks!

Not sure how to do that,
I'm not that experienced with SVN.

Do I need to checkout a working copy?

And what's a bit weird, I can't browse
the SVN repository; there are no viewhelpers yet.

And when am I allowed to add the viewhelpers?
I need some +1, no? :>

#3

Updated by Thomas Deinhamer over 11 years ago

I'll add a new version soon, hopefully I have "phoneword convertion" in, by then.

#4

Updated by Thomas Deinhamer over 11 years ago

Added a new version which includes some bugfixes and some minor changes/features.
The new version can convert phonewords too.

#5

Updated by Thomas Deinhamer about 11 years ago

Hello!

Any feedback on the new version?
Btw. am I allowed to submit any viewhelpers
I want, to the repository, or do I need an
"Accepted" or anything else to be allowed to submit?

Thanks!

#6

Updated by Bastian Waidelich about 10 years ago

  • Tracker changed from Feature to Suggestion

Also available in: Atom PDF