src/Model/Entity/Page.php
public function initializeContentAreas()
    {
        $content = $this->_getContent();

        foreach ($content as $contentAreaDefintion)
        {
            $contentArea = new ContentArea($contentAreaDefintion);

            $this->_contentAreas[$contentArea->id] = $contentArea;
        }
    }
public function initializeContentAreas()
    {
        $content = $this->_getContent();

        foreach ($content as $contentAreaDefintion)
        {
            $contentArea = new ContentArea($contentAreaDefintion);

            $this->_contentAreas[$contentArea->id] = $contentArea;
        }
    }
public function initializeContentAreas ( ) { $ content = $ this -> _getContent ( ) ; foreach ( $ content as $ contentAreaDefintion ) { $ contentArea = new ContentArea ( $ contentAreaDefintion ) ; $ this -> _contentAreas [ $ contentArea -> id ] = $ contentArea ; } }
Initialize the content areas of this page.

@return void
Initialize the content areas of this page .