PHP Classes

PHP Path Name: Manipulate paths of files and directories

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files Documentation   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-06-12 (10 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 138 All time: 7,709 This week: 1,338Up
Version License PHP version Categories  
path-name 1.0Public Domain5.3Files and Folders
Description Author  

This class can manipulate paths of files and directories.

It can take a file name and uses the pathinfor function parse it into its parts like the base file name, name extension, directory parts, etc..

The class defines a setter function to alter just some parts of the file name.

It also returns the reassembled path when its value is retrieved as a string.

Simplifies the modification of a pathname, e.g. by changing file extension, directory name etc. Internally uses and "wraps" the functionality of the built-in pathinfo() function and presents it in what is hoped to be more memorable and intuitive.

Picture of CPK Smithies
Name: CPK Smithies <contact>
Classes: 7 packages by
Country: United Kingdom United Kingdom
Age: 60
All time rank: 158267 in United Kingdom United Kingdom
Week rank: 705 Up26 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Files folder imagetests (1 file)
Accessible without login Plain text file LICENCE Lic. Licence text
Plain text file modifier.php Class Class demonstrating use of file\path
Plain text file path.php Class file\path class source
Accessible without login Plain text file phpdoc.dist.xml Data Configuration for phpDocumentor
Accessible without login Plain text file README Doc. Documentation text

  Files folder image Files  /  tests  
File Role Description
  Accessible without login Plain text file path_test.php Test Unit tests for file\path

 Version Control Unique User Downloads Download Rankings  
 0%Total:138All time:7,709
 This week:0This week:1,338Up