コード例 #1
0
ファイル: Description.php プロジェクト: jrjohnson/iCal
 /**
  * Return the value of the Property as an escaped string.
  *
  * Escape values as per RFC 2445. See http://www.kanzaki.com/docs/ical/text.html
  *
  * @return string
  */
 public function getEscapedValue()
 {
     return PropertyValueUtil::escapeValue((string) $this->value);
 }
コード例 #2
0
ファイル: ArrayValue.php プロジェクト: jrjohnson/iCal
 public function getEscapedValue()
 {
     return implode(',', array_map(function ($value) {
         return PropertyValueUtil::escapeValue((string) $value);
     }, $this->values));
 }