public function setPerPage($perpage)
    {
        if ($perpage > 0) {
            $this->perpage = (int) $perpage;
            $this->page = 1;
        }
        
        return $this;
    }
public function setPerPage($perpage)
    {
        if ($perpage > 0) {
            $this->perpage = (int) $perpage;
            $this->page = 1;
        }
        
        return $this;
    }
public function setPerPage ( $ perpage ) { if ( $ perpage > 0 ) { $ this -> perpage = ( int ) $ perpage ; $ this -> page = 1 ; } return $ this ; }
Set per page value, reset page value to 1
@param integer $perpage
@return \Arrowsphere\Client\xAC\Cursor
Set per page value reset page value to 1