src/Phossa/Query/Clause/LimitTrait.php
protected function buildLimit()/*# : array */
    {
        $result = [];
        if (!empty($this->clause_limit)) {
            $res = [];

            if ($this->clause_limit[0]) {
                $res[] = 'LIMIT ' . $this->clause_limit[0];
            }

            if ($this->clause_limit[1]) {
                $res[] = 'OFFSET ' . $this->clause_limit[1];
            }

            if (!empty($res)) {
                $result[] = join(' ', $res);
            }
        }
        return $result;
    }
protected function buildLimit()/*# : array */
    {
        $result = [];
        if (!empty($this->clause_limit)) {
            $res = [];

            if ($this->clause_limit[0]) {
                $res[] = 'LIMIT ' . $this->clause_limit[0];
            }

            if ($this->clause_limit[1]) {
                $res[] = 'OFFSET ' . $this->clause_limit[1];
            }

            if (!empty($res)) {
                $result[] = join(' ', $res);
            }
        }
        return $result;
    }
protected function buildLimit ( ) /*# : array */ { $ result = [ ] ; if ( ! empty ( $ this -> clause_limit ) ) { $ res = [ ] ; if ( $ this -> clause_limit [ 0 ] ) { $ res [ ] = 'LIMIT ' . $ this -> clause_limit [ 0 ] ; } if ( $ this -> clause_limit [ 1 ] ) { $ res [ ] = 'OFFSET ' . $ this -> clause_limit [ 1 ] ; } if ( ! empty ( $ res ) ) { $ result [ ] = join ( ' ' , $ res ) ; } } return $ result ; }
Build LIMIT

@return array
@access protected
Build LIMIT