TYPO3 CMS  TYPO3_6-2
ContextMenuActionCollection.php
Go to the documentation of this file.
1 <?php
3 
22 class ContextMenuActionCollection extends \ArrayObject {
23 
29  public function toArray() {
30  $iterator = $this->getIterator();
31  $arrayRepresentation = array();
32  while ($iterator->valid()) {
33  $arrayRepresentation[] = $iterator->current()->toArray();
34  $iterator->next();
35  }
36  return $arrayRepresentation;
37  }
38 
39 }