PHP Class Pimcore\Model\Asset\Document

Inheritance: extends Pimcore\Model\Asset
Show file Open project: pimcore/pimcore

Public Properties

Property Type Description
$type string

Public Methods

Method Description
clearThumbnails ( $force = false ) : void
getImageThumbnail ( $thumbnailName, integer $page = 1, boolean $deferred = false ) : mixed | string
getPageCount ( )
getText ( $page = null )

Protected Methods

Method Description
readPageCount ( $path = null )
update ( )

Method Details

clearThumbnails() public method

public clearThumbnails ( $force = false ) : void
return void

getImageThumbnail() public method

public getImageThumbnail ( $thumbnailName, integer $page = 1, boolean $deferred = false ) : mixed | string
$thumbnailName
$page integer
$deferred boolean $deferred deferred means that the image will be generated on-the-fly (details see below)
return mixed | string

getPageCount() public method

public getPageCount ( )

getText() public method

public getText ( $page = null )

readPageCount() protected method

protected readPageCount ( $path = null )

update() protected method

protected update ( )

Property Details

$type public property

public string $type
return string