Changeset 24e219d in github


Ignore:
Timestamp:
Aug 7, 2009 12:10:24 PM (4 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
c7a2e84
Parents:
0ddf59a
Message:

New utility function for plugins to create urls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_plugin.php

    reb6f198 r24e219d  
    209209    } 
    210210  } 
     211   
     212  /** 
     213   * Generate an absolute URL to the given resource within the current 
     214   * plugin directory 
     215   * 
     216   * @param string The file name 
     217   * @return string Absolute URL to the given resource 
     218   */ 
     219  public function url($fn) 
     220  { 
     221      return $this->api->url . $this->resource_url($fn); 
     222  } 
    211223 
    212224  /** 
Note: See TracChangeset for help on using the changeset viewer.