PHP 클래스 Nabble\SemaltBlocker\Updater

파일 보기 프로젝트 열기: nabble/semalt-blocker 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$ttl
$updateUrl = 60 * 60 * 24 * 7 = 7 days

공개 메소드들

메소드 설명
getBlocklistFilename ( ) : string
getNewDomainList ( ) : string
update ( boolean $force = false ) Try to update the blocked domains list.

비공개 메소드들

메소드 설명
doUpdate ( )
isOutdated ( ) : boolean
isWritable ( ) : boolean

메소드 상세

getBlocklistFilename() 공개 정적인 메소드

public static getBlocklistFilename ( ) : string
리턴 string

getNewDomainList() 공개 정적인 메소드

public static getNewDomainList ( ) : string
리턴 string

update() 공개 정적인 메소드

Try to update the blocked domains list.
public static update ( boolean $force = false )
$force boolean

프로퍼티 상세

$ttl 공개적으로 정적으로 프로퍼티

public static $ttl

$updateUrl 공개적으로 정적으로 프로퍼티

= 60 * 60 * 24 * 7 = 7 days
public static $updateUrl