public function getPage($intPage = 1)
    {
        $intPage--; // Convert page no. to index no.
        if ($intPage < 0) {
            $intPage = 0;
        }

        $this->__elements->seek($intPage);

        $objReturn = $this->__elements->current();
        if ($objReturn === false || get_class($objReturn) !== "ValidFormBuilder\\Page") {
            $objReturn = null;
        }

        return $objReturn;
    }
public function getPage($intPage = 1)
    {
        $intPage--; // Convert page no. to index no.
        if ($intPage < 0) {
            $intPage = 0;
        }

        $this->__elements->seek($intPage);

        $objReturn = $this->__elements->current();
        if ($objReturn === false || get_class($objReturn) !== "ValidFormBuilder\\Page") {
            $objReturn = null;
        }

        return $objReturn;
    }
public function getPage ( $ intPage = 1 ) { $ intPage -- ; // Convert page no. to index no. if ( $ intPage < 0 ) { $ intPage = 0 ; } $ this -> __elements -> seek ( $ intPage ) ; $ objReturn = $ this -> __elements -> current ( ) ; if ( $ objReturn === false || get_class ( $ objReturn ) !== "ValidFormBuilder\\Page" ) { $ objReturn = null ; } return $ objReturn ; }
Get a page from the collection based on it's zero-based position in the elements collection

@param Integer $intPage The page number, starting at 1.
@return \ValidFormBuilder\Page Page element, if found.
Get a page from the collection based on it s zero - based position in the elements collection