Semantic MediaWiki and related extensions
Public Member Functions | Static Public Member Functions | List of all members
SMW\Utils\File Class Reference
Inheritance diagram for SMW\Utils\File:
Inheritance graph
[legend]

Public Member Functions

 write ( $file, $contents, $flags=0)
 
 exists ( $file)
 
 read ( $file, $checkSum=null)
 
 delete ( $file)
 
 getCheckSum ( $file)
 

Static Public Member Functions

static dir ( $file)
 

Detailed Description

GNU GPL v2+

Since
3.0
Author
mwjames

Member Function Documentation

◆ delete()

SMW\Utils\File::delete (   $file)
Since
3.0
Parameters
string$file

◆ dir()

static SMW\Utils\File::dir (   $file)
static
Since
3.1
Parameters
string$file
Returns
string

◆ exists()

SMW\Utils\File::exists (   $file)
Since
3.0
Parameters
string$file
Returns
boolean

◆ getCheckSum()

SMW\Utils\File::getCheckSum (   $file)
Since
3.0
Parameters
string$file
Returns
integer

◆ read()

SMW\Utils\File::read (   $file,
  $checkSum = null 
)
Since
3.0
Parameters
string$file
integer | null$checkSum
Returns
string
Exceptions
RuntimeException

◆ write()

SMW\Utils\File::write (   $file,
  $contents,
  $flags = 0 
)
Since
3.0
Parameters
string$file
string$content
integer$flags

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy