@@ 2816-2823 (lines=8) @@ | ||
2813 | * @since 2.4.8 - 2008-10-22 |
|
2814 | * @return string |
|
2815 | */ |
|
2816 | function createLocation() { |
|
2817 | if( empty( $this->location )) return FALSE; |
|
2818 | if( empty( $this->location['value'] )) |
|
2819 | return ( $this->getConfig( 'allowEmpty' )) ? $this->_createElement( 'LOCATION' ) : FALSE; |
|
2820 | $attributes = $this->_createParams( $this->location['params'], array( 'ALTREP', 'LANGUAGE' )); |
|
2821 | $content = $this->_strrep( $this->location['value'] ); |
|
2822 | return $this->_createElement( 'LOCATION', $attributes, $content ); |
|
2823 | } |
|
2824 | /** |
|
2825 | * set calendar component property location |
|
2826 | ' |
|
@@ 3152-3159 (lines=8) @@ | ||
3149 | * @since 2.4.8 - 2008-10-21 |
|
3150 | * @return string |
|
3151 | */ |
|
3152 | function createRecurrenceid() { |
|
3153 | if( empty( $this->recurrenceid )) return FALSE; |
|
3154 | if( empty( $this->recurrenceid['value'] )) |
|
3155 | return ( $this->getConfig( 'allowEmpty' )) ? $this->_createElement( 'RECURRENCE-ID' ) : FALSE; |
|
3156 | $formatted = $this->_format_date_time( $this->recurrenceid['value'] ); |
|
3157 | $attributes = $this->_createParams( $this->recurrenceid['params'] ); |
|
3158 | return $this->_createElement( 'RECURRENCE-ID', $attributes, $formatted ); |
|
3159 | } |
|
3160 | /** |
|
3161 | * set calendar component property recurrence-id |
|
3162 | * |
|
@@ 3460-3467 (lines=8) @@ | ||
3457 | * @since 2.4.8 - 2008-10-21 |
|
3458 | * @return string |
|
3459 | */ |
|
3460 | function createSummary() { |
|
3461 | if( empty( $this->summary )) return FALSE; |
|
3462 | if( empty( $this->summary['value'] )) |
|
3463 | return ( $this->getConfig( 'allowEmpty' )) ? $this->_createElement( 'SUMMARY' ) : FALSE; |
|
3464 | $attributes = $this->_createParams( $this->summary['params'], array( 'ALTREP', 'LANGUAGE' )); |
|
3465 | $content = $this->_strrep( $this->summary['value'] ); |
|
3466 | return $this->_createElement( 'SUMMARY', $attributes, $content ); |
|
3467 | } |
|
3468 | /** |
|
3469 | * set calendar component property summary |
|
3470 | * |