ElementPosition

Implements \ContentPositionInterface

Class ElementPosition

This class represents the position of an element

category

System

package

Content

Methods

ElementPosition constructor

__construct(string $position) 

Arguments

$position

string

Element position

Create instance for boxes position

createForBoxes() : \ElementPosition
static

Response

\ElementPosition

Create instance for footer position

createForFooter() : \ElementPosition
static

Response

\ElementPosition

Create instance for header position

createForHeader() : \ElementPosition
static

Response

\ElementPosition

Create instance for other position

createForOther() : \ElementPosition
static

Response

\ElementPosition

Create instance for start position

createForStart() : \ElementPosition
static

Response

\ElementPosition

createForStyleEdit

createForStyleEdit() : \ElementPosition
static

Response

\ElementPosition

Create instance for withdrawal position

createForWithdrawal() : \ElementPosition
static

Response

\ElementPosition

Create instance from a position string

createFromString(string $position) : \ElementPosition
static

Arguments

$position

string

Position as string

Response

\ElementPosition

Return the position

position() : string

Response

string

Constants

Start position

START

Header position

HEADER

Boxes position

BOXES

Withdrawal position

WITHDRAWAL

Other position

OTHER

Stlyeedit position

STYLEEDIT

Properties

Element position

position : string
var

Type(s)

string