ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
CalAddress.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use
7 
17 class 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 }
if($argc< 3) $input
getNormalizedValue()
This returns a normalized form of the value.
Definition: CalAddress.php:51
Text property.
Definition: Text.php:20
getValueType()
Returns the type of value.
Definition: CalAddress.php:35
getValue()
Returns the current value.
Definition: Property.php:115