TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Resource\Service\UserStorageCapabilityService Class Reference

Public Member Functions

 renderIsPublic (array $propertyArray, \TYPO3\CMS\Backend\Form\FormEngine $tceformsObj)
 

Protected Member Functions

 renderFileInformationContent (array $fileRecord, $isPublic)
 

Detailed Description

Utility class to render capabilities of the storage.

Definition at line 22 of file UserStorageCapabilityService.php.

Member Function Documentation

◆ renderFileInformationContent()

TYPO3\CMS\Core\Resource\Service\UserStorageCapabilityService::renderFileInformationContent ( array  $fileRecord,
  $isPublic 
)
protected

Renders a HTML block containing the checkbox for field "is_public".

Parameters
array$fileRecord
bool$isPublic
Returns
string

Definition at line 67 of file UserStorageCapabilityService.php.

Referenced by TYPO3\CMS\Core\Resource\Service\UserStorageCapabilityService\renderIsPublic().

◆ renderIsPublic()

TYPO3\CMS\Core\Resource\Service\UserStorageCapabilityService::renderIsPublic ( array  $propertyArray,
\TYPO3\CMS\Backend\Form\FormEngine  $tceformsObj 
)

UserFunc function for rendering field "is_public". There are some edge cases where "is_public" can never be marked as true in the BE, for instance for storage located outside the document root or for storages driven by special driver such as Flickr, ...

Parameters
array$propertyArraythe array with additional configuration options.
\TYPO3\CMS\Backend\Form\FormEngine$tceformsObjthe TCEforms parent object
Returns
string

Definition at line 34 of file UserStorageCapabilityService.php.

References $GLOBALS, TYPO3\CMS\Core\Resource\ResourceFactory\getInstance(), TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Core\Resource\Service\UserStorageCapabilityService\renderFileInformationContent(), and TYPO3\CMS\Core\Messaging\AbstractMessage\WARNING.