cfile Commonly used functions for filesystem objects manipulation

This extension offers commonly used functions for filesystem objects (files and directories) manipulation. Can be used separately from Yii.

Please use CFile project repository at GitHub for your reports.

Documentation is available at CFile repository.

CFile exposes:

Properties
  • exists
  • isdir
  • isfile
  • isempty
  • isuploaded
  • readable
  • writeable
  • realpath
  • basename (setter available)
  • filename (setter available)
  • dirname
  • extension (setter available)
  • mimeType
  • timeModified
  • size
  • owner (setter available)
  • group (setter available)
  • permissions (setter available)
Methods
  • Create
  • CreateDir
  • Purge
  • Contents (get; set for files, append possible; contents filters for directories)
  • Copy
  • Rename/Move
  • Send/Download ('x-sendfile' header support)
  • Delete
57 0
77 followers
9 974 downloads
Yii Version: 1.1
License: MIT
Category: File System
Developed by: idle sign
Created on: Oct 25, 2009
Last updated: 4 years ago

Downloads

show all

Related Extensions