public function CopyLocal($Name) {
      $Parsed = self::Parse($Name);

      $LocalPath = '';
      $this->EventArguments['Parsed'] = $Parsed;
      $this->EventArguments['Path'] =& $LocalPath;

      $this->FireAs('Gdn_Upload')->FireEvent('CopyLocal');
      if (!$LocalPath) {
         $LocalPath = PATH_UPLOADS.'/'.$Parsed['Name'];
      }
      return $LocalPath;
   }
public function CopyLocal($Name) {
      $Parsed = self::Parse($Name);

      $LocalPath = '';
      $this->EventArguments['Parsed'] = $Parsed;
      $this->EventArguments['Path'] =& $LocalPath;

      $this->FireAs('Gdn_Upload')->FireEvent('CopyLocal');
      if (!$LocalPath) {
         $LocalPath = PATH_UPLOADS.'/'.$Parsed['Name'];
      }
      return $LocalPath;
   }
public function CopyLocal ( $ Name ) { $ Parsed = self :: Parse ( $ Name ) ; $ LocalPath = '' ; $ this -> EventArguments [ 'Parsed' ] = $ Parsed ; $ this -> EventArguments [ 'Path' ] = & $ LocalPath ; $ this -> FireAs ( 'Gdn_Upload' ) -> FireEvent ( 'CopyLocal' ) ; if ( ! $ LocalPath ) { $ LocalPath = PATH_UPLOADS . '/' . $ Parsed [ 'Name' ] ; } return $ LocalPath ; }
Copy an upload locally so that it can be operated on.

@param string $Name
Copy an upload locally so that it can be operated on .