original_string: public function getCommentsBefore(array $options = array()) {
  		$options['wheres'][] = "
  			e.time_created < {$this->comment->time_created}
  		";
  		$options['order_by'] = 'e.time_created ASC';
  		$comments = elgg_get_entities_from_metadata($this->getFilterOptions($options));
  		if (is_array($comments)) {
  			return array_reverse($comments);
  		}
  		return $comments;
  	}
code: public function getCommentsBefore(array $options = array()) {
  		$options['wheres'][] = "
  			e.time_created < {$this->comment->time_created}
  		";
  		$options['order_by'] = 'e.time_created ASC';
  		$comments = elgg_get_entities_from_metadata($this->getFilterOptions($options));
  		if (is_array($comments)) {
  			return array_reverse($comments);
  		}
  		return $comments;
  	}
code_tokens: public function getCommentsBefore ( array $ options = array ( ) ) { $ options [ 'wheres' ] [ ] = "
  			e.time_created < {$this->comment->time_created}
  		" ; $ options [ 'order_by' ] = 'e.time_created ASC' ; $ comments = elgg_get_entities_from_metadata ( $ this -> getFilterOptions ( $ options ) ) ; if ( is_array ( $ comments ) ) { return array_reverse ( $ comments ) ; } return $ comments ; }
docstring: Get preceding comments
  
  @param array $options Additional options
  @return mixed
docstring_tokens: Get preceding comments