Class rcube_base_replacer

Description

Helper class to turn relative urls into absolute ones using a predefined base

Located in /lib/Roundcube/rcube_base_replacer.php (line 27)


	
			
Method Summary
 static string absolute_url (string $path, string $base_url)
 rcube_base_replacer __construct ( $base)
 void callback ( $matches)
 void replace ( $body)
Methods
static absolute_url (line 62)

Convert paths like ../xxx to an absolute path using a base url

  • return: Absolute URL
  • access: public
string absolute_url (string $path, string $base_url)
  • string $path: Relative path
  • string $base_url: Base URL
Constructor __construct (line 32)
  • access: public
rcube_base_replacer __construct ( $base)
  • $base
callback (line 38)
  • access: public
void callback ( $matches)
  • $matches
replace (line 44)
  • access: public
void replace ( $body)
  • $body

Documentation generated on Fri, 03 May 2013 12:44:57 +0200 by phpDocumentor 1.4.4