ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
CalAddress.php
Go to the documentation of this file.
1<?php
2
4
5use
7
17class CalAddress extends Text {
18
25 public $delimiter = null;
26
35 function getValueType() {
36
37 return 'CAL-ADDRESS';
38
39 }
40
51 function getNormalizedValue() {
52
53 $input = $this->getValue();
54 if (!strpos($input, ':')) {
55 return $input;
56 }
57 list($schema, $everythingElse) = explode(':', $input, 2);
58 return strtolower($schema) . ':' . $everythingElse;
59
60 }
61}
An exception for terminatinating execution or to throw for unit testing.
getNormalizedValue()
This returns a normalized form of the value.
Definition: CalAddress.php:51
getValueType()
Returns the type of value.
Definition: CalAddress.php:35
Text property.
Definition: Text.php:20
getValue()
Returns the current value.
Definition: Property.php:115
foreach($paths as $path) if($argc< 3) $input