PHP 클래스 HTMLPurifier_URIScheme_file, yii

상속: extends HTMLPurifier_URIScheme
파일 보기 프로젝트 열기: yiisoft/yii

공개 프로퍼티들

프로퍼티 타입 설명
$browsable Generally file:// URLs are not accessible from most machines, so placing them as an img src is incorrect.
$may_omit_host Basically the *only* URI scheme for which this is true, since accessing files on the local machine is very common. In fact, browsers on some operating systems don't understand the authority, though I hear it is used on Windows to refer to network shares.

공개 메소드들

메소드 설명
doValidate ( HTMLPurifier_URI &$uri, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean

메소드 상세

doValidate() 공개 메소드

public doValidate ( HTMLPurifier_URI &$uri, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean
$uri HTMLPurifier_URI
$config HTMLPurifier_Config
$context HTMLPurifier_Context
리턴 boolean

프로퍼티 상세

$browsable 공개적으로 프로퍼티

Generally file:// URLs are not accessible from most machines, so placing them as an img src is incorrect.
public $browsable

$may_omit_host 공개적으로 프로퍼티

Basically the *only* URI scheme for which this is true, since accessing files on the local machine is very common. In fact, browsers on some operating systems don't understand the authority, though I hear it is used on Windows to refer to network shares.
public $may_omit_host