WithRewriteTrait
Trait for elements with rewrite
Table of Contents
Properties
- $rewriteObj : Rewrite|null
Methods
- getRewrite() : Rewrite|null
- gets object rewrite model
- getRewritePrefix() : string
- gets rewrite prefix
- getTranslations() : array<string|int, mixed>
- returns object translations urls
Properties
$rewriteObj
protected
Rewrite|null
$rewriteObj
= null
rewrite object
Methods
getRewrite()
gets object rewrite model
public
getRewrite() : Rewrite|null
Tags
Return values
Rewrite|nullgetRewritePrefix()
gets rewrite prefix
public
abstract getRewritePrefix() : string
Return values
stringgetTranslations()
returns object translations urls
public
getTranslations() : array<string|int, mixed>