public function getAllLinks($pageNumber)
    {

        $iTotalLinks = $this->GetLinksCount($pageNumber);
        $listLinks = array();
        for ($index = 1; $index <= $iTotalLinks; $index++) {
            array_push($listLinks, $this->GetLink($pageNumber, $index));
        }
        return $listLinks;
    }
public function getAllLinks($pageNumber)
    {

        $iTotalLinks = $this->GetLinksCount($pageNumber);
        $listLinks = array();
        for ($index = 1; $index <= $iTotalLinks; $index++) {
            array_push($listLinks, $this->GetLink($pageNumber, $index));
        }
        return $listLinks;
    }
public function getAllLinks ( $ pageNumber ) { $ iTotalLinks = $ this -> GetLinksCount ( $ pageNumber ) ; $ listLinks = array ( ) ; for ( $ index = 1 ; $ index <= $ iTotalLinks ; $ index ++ ) { array_push ( $ listLinks , $ this -> GetLink ( $ pageNumber , $ index ) ) ; } return $ listLinks ; }
Gets list of all the links on a specified document page.

@param integer $pageNumber Number of the page.

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