650. Class

650.1. Zend\Filter\File\Encrypt

Encrypts a given file and stores the encrypted file content

650.1.1. Methods

650.1.1.1. getFilename

getFilename()

Returns the new filename where the content will be stored

Return type:string

650.1.1.2. setFilename

setFilename()

Sets the new filename where the content will be stored

Parameters:string – (Optional) New filename to set
Return type:Encrypt

650.1.1.3. filter

filter()

Defined by ZendFilterFilter

Encrypts the file $value with the defined settings

Parameters:string|array – Full path of file to change or $_FILES data array
Return type:string|array The filename which has been set, or false when there were errors
Throws :ExceptionInvalidArgumentException
Throws :ExceptionRuntimeException

Project Versions

Table Of Contents

Previous topic

649. Class

Next topic

651. Class

This Page