PHP Class Devise\Media\Categories\CategoryPaths

Exibir arquivo Open project: devisephp/cms Class Usage Examples

Public Methods

Method Description
__construct ( null $config = null ) Create a new category path
browserPath ( $path ) : string Browser path is the url path to this root media directory
fromDot ( string $path ) : string Convert dots to slashes in the path
serverPath ( $path ) : string Server path is the real path to the root media directory
toDot ( string $path ) : string Convert slashes into dots in the path

Method Details

__construct() public method

Create a new category path
public __construct ( null $config = null )
$config null

browserPath() public method

Browser path is the url path to this root media directory
public browserPath ( $path ) : string
$path
return string

fromDot() public method

Convert dots to slashes in the path
public fromDot ( string $path ) : string
$path string
return string

serverPath() public method

Server path is the real path to the root media directory
public serverPath ( $path ) : string
$path
return string

toDot() public method

Convert slashes into dots in the path
public toDot ( string $path ) : string
$path string
return string