PHP 클래스 Tdt\Core\Validators\CustomValidator

저자: Jan Vansteenlandt ([email protected])
상속: extends Illuminate\Validation\Validator
파일 보기 프로젝트 열기: tdt/core

공개 메소드들

메소드 설명
validateCollectionuri ( $attribute, $value, $parameters ) Check if the collection uri doesn't contain preserved namespaces
validateFile ( $attribute, $value, $parameters ) Check if the given value is a proper file that can be opened with fopen().
validateInstalled ( $attribute, $value, $parameters ) Check if the given file is located in the installed folder and the
validateJson ( $attribute, $value, $parameters ) Check if the given file contains a JSON body.
validateMysqlquery ( $attribute, $value, $parameters ) Check if the MySQL query is legitimate
validateSparqlquery ( $attribute, $value, $parameters ) Check if the SPARQL query is legitimate
validateUri ( $attribute, $value, $parameters ) Check if the URI can be resolved externally or locally

비공개 메소드들

메소드 설명
getHeadInfo ( $uri )
getRemoteData ( $url )

메소드 상세

validateCollectionuri() 공개 메소드

Check if the collection uri doesn't contain preserved namespaces
public validateCollectionuri ( $attribute, $value, $parameters )

validateFile() 공개 메소드

Check if the given value is a proper file that can be opened with fopen().
public validateFile ( $attribute, $value, $parameters )

validateInstalled() 공개 메소드

Check if the given file is located in the installed folder and the
public validateInstalled ( $attribute, $value, $parameters )

validateJson() 공개 메소드

Check if the given file contains a JSON body.
public validateJson ( $attribute, $value, $parameters )

validateMysqlquery() 공개 메소드

Check if the MySQL query is legitimate
public validateMysqlquery ( $attribute, $value, $parameters )

validateSparqlquery() 공개 메소드

Check if the SPARQL query is legitimate
public validateSparqlquery ( $attribute, $value, $parameters )

validateUri() 공개 메소드

Check if the URI can be resolved externally or locally
public validateUri ( $attribute, $value, $parameters )