PHP Class ZF\Apigility\Admin\InputFilter\RestService\PostInputFilter

Inheritance: extends Zend\InputFilter\InputFilter
显示文件 Open project: zfcampus/zf-apigility-admin Class Usage Examples

Protected Properties

Property Type Description
$isUpdate boolean
$localMessages array

Public Methods

Method Description
getMessages ( ) : array Override getMessages() to ensure our conditional logic messages can be passed upward
init ( ) Initialize input filter
isValid ( ) : boolean Override isValid to provide conditional input checking

Protected Methods

Method Description
isValidService ( ) : boolean Is the service valid?

Method Details

getMessages() public method

Override getMessages() to ensure our conditional logic messages can be passed upward
public getMessages ( ) : array
return array

init() public method

Initialize input filter
public init ( )

isValid() public method

Override isValid to provide conditional input checking
public isValid ( ) : boolean
return boolean

isValidService() protected method

Ensures that one of the following is present: - service_name OR - adapter_name AND table_name
protected isValidService ( ) : boolean
return boolean

Property Details

$isUpdate protected_oe property

protected bool $isUpdate
return boolean

$localMessages protected_oe property

protected array $localMessages
return array