src/OpenTok/ArchiveList.php
public function getItems()
    {
        if (!$this->items) {
            $items = array();
            foreach($this->data['items'] as $archiveData) {
                $items[] = new Archive($archiveData, array( 'client' => $this->client ));
            }
            $this->items = $items;
        }
        return $this->items;
    }
public function getItems()
    {
        if (!$this->items) {
            $items = array();
            foreach($this->data['items'] as $archiveData) {
                $items[] = new Archive($archiveData, array( 'client' => $this->client ));
            }
            $this->items = $items;
        }
        return $this->items;
    }
public function getItems ( ) { if ( ! $ this -> items ) { $ items = array ( ) ; foreach ( $ this -> data [ 'items' ] as $ archiveData ) { $ items [ ] = new Archive ( $ archiveData , array ( 'client' => $ this -> client ) ) ; } $ this -> items = $ items ; } return $ this -> items ; }
Returns an array of Archive objects.
Returns an array of Archive objects .