Changeset 7792


Ignore:
Timestamp:
01/24/13 16:27:55 (7 years ago)
Author:
cristiano
Message:

Ticket #3324 - Eventos criados no modulo ExpressoCalendar? nao estao sendo criados no Thunderbird

Location:
trunk/prototype
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/calendar/interceptors/DAViCalAdapter.php

    r7660 r7792  
    206206        {   
    207207            $args =  Controller::parse( array( 'service' => 'iCal' ) , $data , $params); 
    208             ob_start();                      
     208            ob_start(); 
    209209            include ROOTPATH.'/Sync.php'; 
    210210            ob_end_clean(); 
     
    236236            require_once ROOTPATH.'/plugins/icalcreator/iCalcreator.class.php'; 
    237237             
    238             $vcalendar = new vcalendar( ); 
     238            $vcalendar = new icalCreatorVcalendar( ); 
    239239            $vcalendar->parse($data);  
    240240            $vcalendar->sort(); 
  • trunk/prototype/plugins/icalcreator/iCalcreator.class.php

    r7730 r7792  
    5555 * @since 2.9.6 - 2011-05-14 
    5656 */ 
    57 class vcalendar { 
     57class icalCreatorVcalendar { 
    5858            //  calendar property variables 
    5959  var $calscale; 
     
    8888 * @return void 
    8989 */ 
    90   function vcalendar ( $config = array()) { 
     90  function icalCreatorVcalendar ( $config = array()) { 
    9191    $this->_makeVersion(); 
    9292    $this->calscale   = null; 
     
    98369836 */ 
    98379837function & XML2iCal( $xmlobj, $iCalcfg=array()) { 
    9838   $iCal = new vcalendar( $iCalcfg ); 
     9838  $iCal = new icalCreatorVcalendar( $iCalcfg ); 
    98399839  foreach( $xmlobj->children() as $icalendar ) { // vcalendar 
    98409840    foreach( $icalendar->children() as $calPart ) { // calendar properties and components 
  • trunk/prototype/services/iCal.php

    r7704 r7792  
    3131    protected function createIcal($data, $params = false ) 
    3232    { 
    33         $ical = new vcalendar(); 
     33        $ical = new icalCreatorVcalendar(); 
    3434                $ical->setProperty('method', isset($params['method']) ? $params['method'] : 'PUBLISH' ); 
    3535 
     
    264264    protected function createCompatibleIcal($data, $params = false ) 
    265265    { 
    266         $ical = new vcalendar(); 
     266        $ical = new icalCreatorVcalendar(); 
    267267                $ical->setProperty('method', isset($params['method']) ? $params['method'] : 'PUBLISH' ); 
    268268 
     
    534534    public function parse($data, $params = false) { 
    535535        Config::regSet('noAlarm', TRUE); //Evita o envio de notificação 
    536         $vcalendar = new vcalendar( ); 
     536        $vcalendar = new icalCreatorVcalendar( ); 
     537 
    537538        $vcalendar->parse(trim($data)); 
    538539        $vcalendar->sort(); 
     
    11941195 
    11951196    public function analize($data, $params = false) { 
    1196         $vcalendar = new vcalendar( ); 
     1197        $vcalendar = new icalCreatorVcalendar( ); 
    11971198        $vcalendar->parse(trim($data)); 
    11981199        $vcalendar->sort(); 
Note: See TracChangeset for help on using the changeset viewer.