phpDocumentor GloryLands
Common
[ class tree: GloryLands ] [ index: GloryLands ] [ all elements ]

Class: GLDynamicPath

Source Location: /engine/lib/common/glconfig.php

Class GLDynamicPath

Class Overview

Dynamic URL This class provides a simple way to store and covert absolute disk paths into relative URLs and vice-versa.

Dynamic URL This class provides a simple way to store and covert absolute disk paths into relative URLs and vice-versa. If you want to create a dynamic path, that can be quicly translated into URL, path, or anything else, you can use this class. For a sample usage, see the example.

Located in /engine/lib/common/glconfig.php [line 47]



		
				Author(s):
		
API Tags:
Example:  How to use Dynamic Path

Information Tags:
Version:  1.0

Methods

[ Top ]
Method Summary
GLDynamicPath   __construct()   Dynamic URL Constructor
void   file()  
void   path()  
void   proxy()  
void   url()  
void   __toString()  

[ Top ]
Methods
Constructor __construct  [line 57]

  GLDynamicPath __construct( string $dir_file  )

Dynamic URL Constructor

Dynamic URL Constructor

Parameters:
string   $dir_file:  The absolute or relative (to the site root) location of the file on disk

API Tags:
Access:  public


[ Top ]
file  [line 70]

  void file( [ $sub = '']  )

Parameters:
   $sub: 

API Tags:
Access:  public


[ Top ]
path  [line 75]

  void path( [ $sub = '']  )

Parameters:
   $sub: 

API Tags:
Access:  public


[ Top ]
proxy  [line 81]

  void proxy( [ $sub = '']  )

Parameters:
   $sub: 

API Tags:
Access:  public


[ Top ]
url  [line 63]

  void url( [ $sub = '']  )

Parameters:
   $sub: 

API Tags:
Access:  public


[ Top ]
__toString  [line 85]

  void __toString( )


API Tags:
Access:  public


[ Top ]

Documentation generated on Tue, 13 Oct 2009 23:48:59 +0300 by phpDocumentor 1.4.1