original_string: public static function Urls($Type = NULL) {
        static $Urls = NULL;
  
        if ($Urls === NULL) {
           $Urls = array('' => Asset('/uploads', TRUE));
           
           $Sender = new stdClass();
           $Sender->Returns = array();
           $Sender->EventArguments = array();
           $Sender->EventArguments['Urls'] =& $Urls;
  
           Gdn::PluginManager()->CallEventHandlers($Sender, 'Gdn_Upload', 'GetUrls');
        }
  
        if ($Type === NULL)
           return $Urls;
        if (isset($Urls[$Type]))
           return $Urls[$Type];
        return FALSE;
     }
code: public static function Urls($Type = NULL) {
        static $Urls = NULL;
  
        if ($Urls === NULL) {
           $Urls = array('' => Asset('/uploads', TRUE));
           
           $Sender = new stdClass();
           $Sender->Returns = array();
           $Sender->EventArguments = array();
           $Sender->EventArguments['Urls'] =& $Urls;
  
           Gdn::PluginManager()->CallEventHandlers($Sender, 'Gdn_Upload', 'GetUrls');
        }
  
        if ($Type === NULL)
           return $Urls;
        if (isset($Urls[$Type]))
           return $Urls[$Type];
        return FALSE;
     }
code_tokens: public static function Urls ( $ Type = NULL ) { static $ Urls = NULL ; if ( $ Urls === NULL ) { $ Urls = array ( '' => Asset ( '/uploads' , TRUE ) ) ; $ Sender = new stdClass ( ) ; $ Sender -> Returns = array ( ) ; $ Sender -> EventArguments = array ( ) ; $ Sender -> EventArguments [ 'Urls' ] = & $ Urls ; Gdn :: PluginManager ( ) -> CallEventHandlers ( $ Sender , 'Gdn_Upload' , 'GetUrls' ) ; } if ( $ Type === NULL ) return $ Urls ; if ( isset ( $ Urls [ $ Type ] ) ) return $ Urls [ $ Type ] ; return FALSE ; }
docstring: Returns the url prefix for a given type.
  If there is a plugin that wants to store uploads at a different location or in a different way then they register themselves by subscribing to the Gdn_Upload_GetUrls_Handler event.
  After that they will be available here.
  
  @param string $Type The type of upload to get the prefix for.
  @return string The url prefix.
docstring_tokens: Returns the url prefix for a given type . If there is a plugin that wants to store uploads at a different location or in a different way then they register themselves by subscribing to the Gdn_Upload_GetUrls_Handler event . After that they will be available here .