public function create($start = NULL, Array $settings = []) : String
    {
        # The configuration arrays are merge.
        $settings = array_merge($this->config, $this->settings, $settings);

        # If the configuration is present, it is rearranged.
        if( ! empty($settings) )
        {
            $this->settings($settings);
        }

        # Gets information about which recording to start the paging process.
        $startRowNumber = $this->getStartRowNumber($start);

        # If the limit is set to 0, 1 is accepted.
        $this->limit = $this->limit === 0 ? 1 : $this->limit;
        
        # Generate pagination bar.
        if( $this->isPaginationBar() )
        {
            return $this->isBasicPaginationBar() ? $this->createBasicPaginationBar($startRowNumber) : $this->createAdvancedPaginationBar($startRowNumber);
        }

        return false;
    }
public function create($start = NULL, Array $settings = []) : String
    {
        # The configuration arrays are merge.
        $settings = array_merge($this->config, $this->settings, $settings);

        # If the configuration is present, it is rearranged.
        if( ! empty($settings) )
        {
            $this->settings($settings);
        }

        # Gets information about which recording to start the paging process.
        $startRowNumber = $this->getStartRowNumber($start);

        # If the limit is set to 0, 1 is accepted.
        $this->limit = $this->limit === 0 ? 1 : $this->limit;
        
        # Generate pagination bar.
        if( $this->isPaginationBar() )
        {
            return $this->isBasicPaginationBar() ? $this->createBasicPaginationBar($startRowNumber) : $this->createAdvancedPaginationBar($startRowNumber);
        }

        return false;
    }
public function create ( $ start = NULL , Array $ settings = [ ] ) : String { # The configuration arrays are merge. $ settings = array_merge ( $ this -> config , $ this -> settings , $ settings ) ; # If the configuration is present, it is rearranged. if ( ! empty ( $ settings ) ) { $ this -> settings ( $ settings ) ; } # Gets information about which recording to start the paging process. $ startRowNumber = $ this -> getStartRowNumber ( $ start ) ; # If the limit is set to 0, 1 is accepted. $ this -> limit = $ this -> limit === 0 ? 1 : $ this -> limit ; # Generate pagination bar. if ( $ this -> isPaginationBar ( ) ) { return $ this -> isBasicPaginationBar ( ) ? $ this -> createBasicPaginationBar ( $ startRowNumber ) : $ this -> createAdvancedPaginationBar ( $ startRowNumber ) ; } return false ; }
Creates the pagination.

@param mixed $start
@param array $settings = []

@return string
Creates the pagination .