PHP Class Neos\Fusion\TypoScriptObjects\ResourceUriImplementation

The following TS properties are evaluated: * path * package * resource * localize See respective getters for descriptions
Inheritance: extends AbstractTypoScriptObject
Afficher le fichier Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$i18nService Neos\Flow\I18n\Service
$resourceManager Neos\Flow\ResourceManagement\ResourceManager

Méthodes publiques

Méthode Description
evaluate ( ) : string Returns the absolute URL of a resource
getPackage ( ) : string Target package key (only required for relative paths)
getPath ( ) : string The location of the resource, can be either a path relative to the Public resource directory of the package or a resource://.
getResource ( ) : PersistentResource If specified, this resource object is used instead of the path and package information
isLocalize ( ) : boolean Whether resource localization should be attempted or not, defaults to TRUE

Method Details

evaluate() public méthode

Returns the absolute URL of a resource
public evaluate ( ) : string
Résultat string

getPackage() public méthode

Target package key (only required for relative paths)
public getPackage ( ) : string
Résultat string

getPath() public méthode

.. URI
public getPath ( ) : string
Résultat string

getResource() public méthode

If specified, this resource object is used instead of the path and package information
public getResource ( ) : PersistentResource
Résultat Neos\Flow\ResourceManagement\PersistentResource

isLocalize() public méthode

Whether resource localization should be attempted or not, defaults to TRUE
public isLocalize ( ) : boolean
Résultat boolean

Property Details

$i18nService protected_oe property

protected Service,Neos\Flow\I18n $i18nService
Résultat Neos\Flow\I18n\Service

$resourceManager protected_oe property

protected ResourceManager,Neos\Flow\ResourceManagement $resourceManager
Résultat Neos\Flow\ResourceManagement\ResourceManager