public function getAllAnnotations($pageNumber)
    {

        $iTotalAnnotation = $this->GetAnnotationsCount($pageNumber);
        $listAnnotations = array();
        for ($index = 1; $index <= $iTotalAnnotation; $index++) {
            array_push($listAnnotations, $this->GetAnnotation($pageNumber, $index));
        }
        return $listAnnotations;
    }
public function getAllAnnotations($pageNumber)
    {

        $iTotalAnnotation = $this->GetAnnotationsCount($pageNumber);
        $listAnnotations = array();
        for ($index = 1; $index <= $iTotalAnnotation; $index++) {
            array_push($listAnnotations, $this->GetAnnotation($pageNumber, $index));
        }
        return $listAnnotations;
    }
public function getAllAnnotations ( $ pageNumber ) { $ iTotalAnnotation = $ this -> GetAnnotationsCount ( $ pageNumber ) ; $ listAnnotations = array ( ) ; for ( $ index = 1 ; $ index <= $ iTotalAnnotation ; $ index ++ ) { array_push ( $ listAnnotations , $ this -> GetAnnotation ( $ pageNumber , $ index ) ) ; } return $ listAnnotations ; }
Gets list of all the annotations on a specified document page.

@param integer $pageNumber Number of the page.

@return array
@throws Exception
Gets list of all the annotations on a specified document page .