PHP Class Newscoop\Services\FilesystemService

Afficher le fichier Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Свойство Type Description
$em Doctrine\ORM\EntityManager

Méthodes publiques

Méthode Description
__construct ( EntityManager $em ) Constructor
isReadable ( string $fileName, boolean $message = true ) : boolean Check if file is isReadable
sanitizeFileName ( string $fileName ) : string Makes a file name safe to use.

Method Details

__construct() public méthode

Constructor
public __construct ( EntityManager $em )
$em Doctrine\ORM\EntityManager

isReadable() public static méthode

Check if file is isReadable
public static isReadable ( string $fileName, boolean $message = true ) : boolean
$fileName string
$message boolean Show message
Résultat boolean

sanitizeFileName() public méthode

Makes a file name safe to use.
public sanitizeFileName ( string $fileName ) : string
$fileName string
Résultat string

Property Details

$em protected_oe property

protected EntityManager,Doctrine\ORM $em
Résultat Doctrine\ORM\EntityManager