ClassSchema
A class schema
only to be used within Extbase, not part of TYPO3 Core API.
Table of Contents
Methods
- __construct() : mixed
- Constructs this class schema
- getDomainObjectProperties() : array<string|int, Property>
- Returns all properties that do not start with an underscore like $_localizedUid
- getMethod() : Method
- getMethods() : array<string|int, mixed>|array<string|int, Method>
- getProperties() : array<string|int, mixed>|array<string|int, Property>
- getProperty() : Property
- hasMethod() : bool
- hasProperty() : bool
- If the class schema has a certain property.
- reflectMethods() : void
- reflectProperties() : void
Methods
__construct()
Constructs this class schema
public
__construct(class-string $className) : mixed
Parameters
- $className : class-string
-
Name of the class this schema is referring to
Tags
getDomainObjectProperties()
Returns all properties that do not start with an underscore like $_localizedUid
public
getDomainObjectProperties() : array<string|int, Property>
Return values
array<string|int, Property>getMethod()
public
getMethod(string $methodName) : Method
Parameters
- $methodName : string
Tags
Return values
MethodgetMethods()
public
getMethods() : array<string|int, mixed>|array<string|int, Method>
Return values
array<string|int, mixed>|array<string|int, Method>getProperties()
public
getProperties() : array<string|int, mixed>|array<string|int, Property>
Return values
array<string|int, mixed>|array<string|int, Property>getProperty()
public
getProperty(string $propertyName) : Property
Parameters
- $propertyName : string
Tags
Return values
PropertyhasMethod()
public
hasMethod(string $methodName) : bool
Parameters
- $methodName : string
Return values
boolhasProperty()
If the class schema has a certain property.
public
hasProperty(string $propertyName) : bool
Parameters
- $propertyName : string
-
Name of the property
Return values
boolreflectMethods()
protected
reflectMethods(ReflectionClass $reflectionClass) : void
Parameters
- $reflectionClass : ReflectionClass
Tags
reflectProperties()
protected
reflectProperties(ReflectionClass $reflectionClass) : void
Parameters
- $reflectionClass : ReflectionClass