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