lib/db/cortex.php
public function afind($filter = NULL, array $options = NULL, $ttl = 0, $rel_depths = 1) {
		$result = $this->find($filter, $options, $ttl);
		return $result ? $result->castAll($rel_depths): NULL;
	}
public function afind($filter = NULL, array $options = NULL, $ttl = 0, $rel_depths = 1) {
		$result = $this->find($filter, $options, $ttl);
		return $result ? $result->castAll($rel_depths): NULL;
	}
public function afind ( $ filter = NULL , array $ options = NULL , $ ttl = 0 , $ rel_depths = 1 ) { $ result = $ this -> find ( $ filter , $ options , $ ttl ) ; return $ result ? $ result -> castAll ( $ rel_depths ) : NULL ; }
Return an array of result arrays matching criteria
@param null $filter
@param array $options
@param int $ttl
@param int $rel_depths
@return array
Return an array of result arrays matching criteria