PHP 클래스 FluidTYPO3\Vhs\ViewHelpers\Resource\Record\FalViewHelper

상속: extends AbstractRecordResourceViewHelper
파일 보기 프로젝트 열기: fluidtypo3/vhs 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$fileRepository TYPO3\CMS\Core\Resource\FileRepository
$resourceFactory TYPO3\CMS\Core\Resource\ResourceFactory

공개 메소드들

메소드 설명
__construct ( ) Constructor
getResource ( TYPO3\CMS\Core\Resource\FileReference $fileReference ) : array
getResources ( array $record ) : array

보호된 메소드들

메소드 설명
getDatabaseConnection ( ) : TYPO3\CMS\Core\Database\DatabaseConnection
getFileReferences ( string $table, string $field, integer $uid ) : array Fetch a fileReference from the file repository

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

getDatabaseConnection() 보호된 메소드

protected getDatabaseConnection ( ) : TYPO3\CMS\Core\Database\DatabaseConnection
리턴 TYPO3\CMS\Core\Database\DatabaseConnection

getFileReferences() 보호된 메소드

Fetch a fileReference from the file repository
protected getFileReferences ( string $table, string $field, integer $uid ) : array
$table string name of the table to get the file reference for
$field string name of the field referencing a file
$uid integer uid of the related record
리턴 array

getResource() 공개 메소드

public getResource ( TYPO3\CMS\Core\Resource\FileReference $fileReference ) : array
$fileReference TYPO3\CMS\Core\Resource\FileReference
리턴 array

getResources() 공개 메소드

public getResources ( array $record ) : array
$record array
리턴 array

프로퍼티 상세

$fileRepository 보호되어 있는 프로퍼티

protected FileRepository,TYPO3\CMS\Core\Resource $fileRepository
리턴 TYPO3\CMS\Core\Resource\FileRepository

$resourceFactory 보호되어 있는 프로퍼티

protected ResourceFactory,TYPO3\CMS\Core\Resource $resourceFactory
리턴 TYPO3\CMS\Core\Resource\ResourceFactory