- Timestamp:
- 01/24/13 15:27:55 (12 years ago)
- Location:
- trunk/prototype
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/interceptors/DAViCalAdapter.php
r7660 r7792 206 206 { 207 207 $args = Controller::parse( array( 'service' => 'iCal' ) , $data , $params); 208 ob_start(); 208 ob_start(); 209 209 include ROOTPATH.'/Sync.php'; 210 210 ob_end_clean(); … … 236 236 require_once ROOTPATH.'/plugins/icalcreator/iCalcreator.class.php'; 237 237 238 $vcalendar = new vcalendar( );238 $vcalendar = new icalCreatorVcalendar( ); 239 239 $vcalendar->parse($data); 240 240 $vcalendar->sort(); -
trunk/prototype/plugins/icalcreator/iCalcreator.class.php
r7730 r7792 55 55 * @since 2.9.6 - 2011-05-14 56 56 */ 57 class vcalendar {57 class icalCreatorVcalendar { 58 58 // calendar property variables 59 59 var $calscale; … … 88 88 * @return void 89 89 */ 90 function vcalendar ( $config = array()) {90 function icalCreatorVcalendar ( $config = array()) { 91 91 $this->_makeVersion(); 92 92 $this->calscale = null; … … 9836 9836 */ 9837 9837 function & XML2iCal( $xmlobj, $iCalcfg=array()) { 9838 $iCal = new vcalendar( $iCalcfg );9838 $iCal = new icalCreatorVcalendar( $iCalcfg ); 9839 9839 foreach( $xmlobj->children() as $icalendar ) { // vcalendar 9840 9840 foreach( $icalendar->children() as $calPart ) { // calendar properties and components -
trunk/prototype/services/iCal.php
r7704 r7792 31 31 protected function createIcal($data, $params = false ) 32 32 { 33 $ical = new vcalendar();33 $ical = new icalCreatorVcalendar(); 34 34 $ical->setProperty('method', isset($params['method']) ? $params['method'] : 'PUBLISH' ); 35 35 … … 264 264 protected function createCompatibleIcal($data, $params = false ) 265 265 { 266 $ical = new vcalendar();266 $ical = new icalCreatorVcalendar(); 267 267 $ical->setProperty('method', isset($params['method']) ? $params['method'] : 'PUBLISH' ); 268 268 … … 534 534 public function parse($data, $params = false) { 535 535 Config::regSet('noAlarm', TRUE); //Evita o envio de notificação 536 $vcalendar = new vcalendar( ); 536 $vcalendar = new icalCreatorVcalendar( ); 537 537 538 $vcalendar->parse(trim($data)); 538 539 $vcalendar->sort(); … … 1194 1195 1195 1196 public function analize($data, $params = false) { 1196 $vcalendar = new vcalendar( );1197 $vcalendar = new icalCreatorVcalendar( ); 1197 1198 $vcalendar->parse(trim($data)); 1198 1199 $vcalendar->sort();
Note: See TracChangeset
for help on using the changeset viewer.