protected function fillViewBagArray()
    {
        $viewBag = $this->getViewBag();
        foreach ($viewBag->getProperties() as $name => $value) {
            $this->viewBag[$name] = $value;
        }

        $this->fireEvent('cmsObject.fillViewBagArray');
    }
protected function fillViewBagArray()
    {
        $viewBag = $this->getViewBag();
        foreach ($viewBag->getProperties() as $name => $value) {
            $this->viewBag[$name] = $value;
        }

        $this->fireEvent('cmsObject.fillViewBagArray');
    }
protected function fillViewBagArray ( ) { $ viewBag = $ this -> getViewBag ( ) ; foreach ( $ viewBag -> getProperties ( ) as $ name => $ value ) { $ this -> viewBag [ $ name ] = $ value ; } $ this -> fireEvent ( 'cmsObject.fillViewBagArray' ) ; }
Copies view bag properties to the view bag array.
This is required for the back-end editors.
@return void
Copies view bag properties to the view bag array . This is required for the back - end editors .