~chroot64bit/zivios/gentoo-experimental

« back to all changes in this revision

Viewing changes to application/library/Zend/Paginator/Adapter/Interface.php

  • Committer: Mustafa A. Hashmi
  • Date: 2008-12-04 13:32:21 UTC
  • Revision ID: mhashmi@zivios.org-20081204133221-0nd1trunwevijj38
Inclusion of new installation framework with ties to zend layout and dojo layout

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Zend Framework
 
4
 *
 
5
 * LICENSE
 
6
 *
 
7
 * This source file is subject to the new BSD license that is bundled
 
8
 * with this package in the file LICENSE.txt.
 
9
 * It is also available through the world-wide-web at this URL:
 
10
 * http://framework.zend.com/license/new-bsd
 
11
 * If you did not receive a copy of the license and are unable to
 
12
 * obtain it through the world-wide-web, please send an email
 
13
 * to license@zend.com so we can send you a copy immediately.
 
14
 *
 
15
 * @category   Zend
 
16
 * @package    Zend_Paginator
 
17
 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
 
18
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 
19
 * @version    $Id: Interface.php 12519 2008-11-10 18:41:24Z alexander $
 
20
 */
 
21
 
 
22
/**
 
23
 * Interface for pagination adapters.
 
24
 *
 
25
 * @category   Zend
 
26
 * @package    Zend_Paginator
 
27
 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
 
28
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 
29
 */
 
30
interface Zend_Paginator_Adapter_Interface extends Countable
 
31
{
 
32
    /**
 
33
     * Returns the total number of rows in the collection.
 
34
     *
 
35
     * @return integer
 
36
     */
 
37
    //public function count();
 
38
    
 
39
    /**
 
40
     * Returns an collection of items for a page.
 
41
     *
 
42
     * @param  integer $offset Page offset
 
43
     * @param  integer $itemCountPerPage Number of items per page
 
44
     * @return array
 
45
     */
 
46
    public function getItems($offset, $itemCountPerPage);
 
47
}
 
 
b'\\ No newline at end of file'