PHP 클래스 yupe\helpers\YFile

상속: extends CFileHelpe\CFileHelper
파일 보기 프로젝트 열기: yupe/yupe 1 사용 예제들

공개 메소드들

메소드 설명
checkPath ( $path, integer $rights = 511, boolean $recursive = true ) : boolean
cpFile ( $from, $to ) : boolean
getTranslatedName ( $word ) : mixed | string
pathIsWritable ( $name, $ext, $path ) : boolean | string
rmDir ( $path ) : boolean Рекрусивное удаление директорий.
rmFile ( $file ) : boolean
rmIfExists ( $file ) : boolean

메소드 상세

checkPath() 공개 정적인 메소드

public static checkPath ( $path, integer $rights = 511, boolean $recursive = true ) : boolean
$path
$rights integer
$recursive boolean
리턴 boolean

cpFile() 공개 정적인 메소드

부터: 0.8
public static cpFile ( $from, $to ) : boolean
$from
$to
리턴 boolean

getTranslatedName() 공개 정적인 메소드

public static getTranslatedName ( $word ) : mixed | string
$word
리턴 mixed | string

pathIsWritable() 공개 정적인 메소드

public static pathIsWritable ( $name, $ext, $path ) : boolean | string
$name
$ext
$path
리턴 boolean | string

rmDir() 공개 정적인 메소드

Рекрусивное удаление директорий.
부터: 0.5
public static rmDir ( $path ) : boolean
$path Если $path оканчивается на *, то удаляется только содержимое директории.
리턴 boolean

rmFile() 공개 정적인 메소드

부터: 0.8
public static rmFile ( $file ) : boolean
$file
리턴 boolean

rmIfExists() 공개 정적인 메소드

public static rmIfExists ( $file ) : boolean
$file
리턴 boolean