Class ProductMediaContentController

Class ProductMediaContentController

HttpViewController implements HttpViewControllerInterface
ProductMediaContentController
Package: HttpViewControllers
Category: System
Extends: HttpViewController
Located at Controllers/HttpView/Shop/ProductMediaContentController.inc.php

Methods summary

public actionDefault( void ) : HttpControllerResponse

Renders a content resource by the query parameter "pcdId".

protected _getProductContentDescriptionData( void ) : array

Returns the product content description data by the query argument "pcdID". The field product_content_descriptions.hits will be incremented by the value "1".

protected _isImageFile( string $fileName ) : boolean

Checks if the given file has an image file extension. Detected image extensions are "gif", "jpg", "png", "tif" and "bmp".

protected _include( string $fileName ) : string

Includes a file by the given file name and returns their data. If the given file do not exists, and empty string will be returned.

Methods inherited from HttpViewController

__construct(), _callActionMethod(), _getPostData(), _getPostDataCollection(), _getQueryParameter(), _getQueryParametersCollection(), _getServerData(), _render(), _validatePageToken(), getTemplateFile(), proceed()

Properties summary

Properties inherited from HttpViewController

$assets, $contentView, $httpContextReader, $httpResponseProcessor, $postDataArray, $queryParametersArray, $serverDataArray