PDO4You\Pagination::getPaging PHP Method

getPaging() public static method

Gets the activation of pagination
See also: PDO4You::selectRecords()
public static getPaging ( ) : boolean
return 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