ChainElementInterface
interface ChainElementInterface (View source)
A class implementing the ChainElementInterface can be attached to a single chain of ChainElementInterface
Methods
Unlink the instance from its currently attached chain.
Change the link to the element before the instance.
Change the link to the element after the instance.
No description
No description
Details
at line 22
insertBefor(ChainElementInterface $after)
Insert the instance before the given chain link
at line 29
insertAfter(ChainElementInterface $before)
Insert the instance after the given chain link.
at line 36
detachElement()
Unlink the instance from its currently attached chain.
Elements before and after the instance are linked together.
at line 46
setPreviousElement(ChainElementInterface $previousElement = null)
Change the link to the element before the instance.
The previously attached link "next" element is set to NULL.
at line 57
setNextElement(ChainElementInterface $nextElement = null)
Change the link to the element after the instance.
The previously attached link "previous" element is set to NULL.