Development

Changeset 24586

You must first sign up to be able to contribute.

Changeset 24586

Show
Ignore:
Timestamp:
11/30/09 18:47:24 (4 years ago)
Author:
bshaffer
Message:

removes call method from template, which causes problems if multiple templates are being used

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/csDoctrineActAsAttachablePlugin/branches/1.4/lib/template/Attachable.php

    r23871 r24586  
    120120 
    121121  //This method doesn't work for some reason! 
    122   public function __call($method, $arguments) 
    123  
    124     // try 
    125     //
    126       // parent::__call($method, $arguments); 
    127     //
    128     // catch(Exception $e) 
    129     //
    130       foreach ($this->_options['types'] as $type)  
    131       { 
    132         if(sfInflector::camelize('get_'.$type.'_attachments') == $method) 
    133         { 
    134           return $this->getAttachmentsByType($type); 
    135         } 
    136       } 
    137     //
    138  
     122  // public function __call($method, $arguments) 
     123  //
     124  //  try 
     125  // 
     126  //    parent::__call($method, $arguments); 
     127  // 
     128  //  catch(Exception $e) 
     129  // 
     130  //     foreach ($this->_options['types'] as $type)  
     131  //     { 
     132  //       if(sfInflector::camelize('get_'.$type.'_attachments') == $method) 
     133  //       { 
     134  //         return $this->getAttachmentsByType($type); 
     135  //       } 
     136  //     } 
     137  // 
     138  //
    139139}