PDO4You\Pagination::getPaging PHP 메소드

getPaging() 공개 정적인 메소드

Gets the activation of pagination
또한 보기: PDO4You::selectRecords()
public static getPaging ( ) : boolean
리턴 boolean
    public static function getPaging()
    {
        return self::$paging;
    }

Usage Example

예제 #1
0
 /**
  * Displays the total number of records
  * 
  * */
 public function getTotalOfRecords()
 {
     // Returns the total number of records in paging
     if (Pagination::getPaging() == TRUE) {
         return Pagination::getTotalOfRecords();
     } else {
         return count(self::$hasRecords);
     }
 }
All Usage Examples Of PDO4You\Pagination::getPaging