public function export(array $params = array()) {
		$result = array(
			'type' => 'list',
			'count' => $this->getCount(),
			'limit' => elgg_extract('limit', $this->options, elgg_get_config('default_limit')),
			'offset' => elgg_extract('offset', $this->options, 0),
			'items' => array(),
		);

		$batch = $this->getBatch();
		foreach ($batch as $entity) {
			$result['items'][] = hypeApps()->graph->export($entity, $params);
		}

		return $result;
	}
public function export(array $params = array()) {
		$result = array(
			'type' => 'list',
			'count' => $this->getCount(),
			'limit' => elgg_extract('limit', $this->options, elgg_get_config('default_limit')),
			'offset' => elgg_extract('offset', $this->options, 0),
			'items' => array(),
		);

		$batch = $this->getBatch();
		foreach ($batch as $entity) {
			$result['items'][] = hypeApps()->graph->export($entity, $params);
		}

		return $result;
	}
public function export ( array $ params = array ( ) ) { $ result = array ( 'type' => 'list' , 'count' => $ this -> getCount ( ) , 'limit' => elgg_extract ( 'limit' , $ this -> options , elgg_get_config ( 'default_limit' ) ) , 'offset' => elgg_extract ( 'offset' , $ this -> options , 0 ) , 'items' => array ( ) , ) ; $ batch = $ this -> getBatch ( ) ; foreach ( $ batch as $ entity ) { $ result [ 'items' ] [ ] = hypeApps ( ) -> graph -> export ( $ entity , $ params ) ; } return $ result ; }
Export batch into an array

@param array $params Export params
@return array
Export batch into an array