public function limit($cnt, $shift = null)
    {
        // This is for pre- 12c version
        $this->template_select = $this->template_select_limit;

        return parent::limit($cnt, $shift);
    }
public function limit($cnt, $shift = null)
    {
        // This is for pre- 12c version
        $this->template_select = $this->template_select_limit;

        return parent::limit($cnt, $shift);
    }
public function limit ( $ cnt , $ shift = null ) { // This is for pre- 12c version $ this -> template_select = $ this -> template_select_limit ; return parent :: limit ( $ cnt , $ shift ) ; }
Limit how many rows will be returned.

@param int $cnt   Number of rows to return
@param int $shift Offset, how many rows to skip

@return $this
Limit how many rows will be returned .