public function getElement($name)
{
// init
$doc = Model\Document\Page::getById($this->getDocumentId());
$list = [];
foreach ($this->getData() as $index => $item) {
if ($item['type'] == $name) {
$list[$index] = new Areablock\Item($doc, $this->getName(), $item['key']);
}
}
return $list;
}