1384. Class

1384.1. Zend\Cache\Pattern\CaptureCache

1384.1.1. Methods

1384.1.1.1. start

start()

Start the cache

Parameters:string – Page identifier
Return type:void

1384.1.1.2. set

set()

Write content to page identity

Parameters:
  • string
  • null|string
Throws ExceptionLogicException:
 

1384.1.1.3. get

get()

Get from cache

Parameters:null|string
Return type:bool|string
Throws :ExceptionLogicException
Throws :ExceptionRuntimeException

1384.1.1.4. has

has()

Checks if a cache with given id exists

Parameters:null|string
Throws ExceptionLogicException:
 
Return type:bool

1384.1.1.5. remove

remove()

Remove from cache

Parameters:null|string
Throws ExceptionLogicException:
 
Throws ExceptionRuntimeException:
 
Return type:bool

1384.1.1.6. clearByGlob

clearByGlob()

Clear cached pages matching glob pattern

Parameters:string
Throws ExceptionLogicException:
 

1384.1.1.7. detectPageId

detectPageId()

Determine the page to save from the request

Return type:string

1384.1.1.8. pageId2Filename

pageId2Filename()

Get filename for page id

Parameters:string
Return type:string

1384.1.1.9. pageId2Path

pageId2Path()

Get path for page id

Parameters:string
Return type:string

1384.1.1.10. putFileContent

putFileContent()

Write content to a file

Parameters:
  • string – File complete path
  • string – Data to write
Return type:

void

Throws :

ExceptionRuntimeException

1384.1.1.11. createDirectoryStructure

createDirectoryStructure()

Creates directory if not already done.

Parameters:string
Return type:void
Throws :ExceptionRuntimeException