@@ 123-125 (lines=3) @@ | ||
120 | */ |
|
121 | public function get_calendar( $object ) { |
|
122 | ||
123 | if ( is_string( $object ) ) { |
|
124 | return ! empty( $object ) ? $this->get_object( $object, 'calendar', '' ) : null; |
|
125 | } |
|
126 | ||
127 | if ( is_object( $object ) ) { |
|
128 | if ( $object instanceof Object\Calendar ) { |
|
@@ 190-192 (lines=3) @@ | ||
187 | */ |
|
188 | public function get_feed( $object ) { |
|
189 | ||
190 | if ( is_string( $object ) ) { |
|
191 | return ! empty( $object ) ? $this->get_object( $object, 'feed', '' ) : null; |
|
192 | } |
|
193 | ||
194 | if ( is_object( $object ) ) { |
|
195 | if ( $object instanceof Object\Calendar ) { |