Subversion-Projekte lars-tiefland.content-management

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
// +----------------------------------------------------------------------+
3
// | Copyright (c) 1997-2004 The PHP Group                                |
4
// +----------------------------------------------------------------------+
5
// | This source file is subject to version 3.0 of the PHP license,       |
6
// | that is bundled with this package in the file LICENSE, and is        |
7
// | available through the world-wide-web at the following url:           |
8
// | http://www.php.net/license/3_0.txt.                                  |
9
// | If you did not receive a copy of the PHP license and are unable to   |
10
// | obtain it through the world-wide-web, please send a note to          |
11
// | license@php.net so we can mail you a copy immediately.               |
12
// +----------------------------------------------------------------------+
13
// | Author: Carsten Harnisch <phpat@intradesys.com>                      |
14
// +----------------------------------------------------------------------+
15
 
16
// $Id: EbatNs_QueryResultInfo.php 1182 2009-03-17 12:41:24Z lautsch $:
17
require_once 'EbatNs_Defines.php';
18
require_once 'EbatNs_Result.php';
19
require_once 'EbatNs_Session.php';
20
/**
21
 * Base class to ResultInformation returned by getResultInfo in all Query objects.
22
 *
23
 * @see EbatNs_FeedbackQueryInfo
24
 * @see EbatNs_ProductQueryInfo
25
 * @see EbatNs_AccountQueryInfo
26
 * @see EbatNs_CrossPromotionQueryInfo
27
 * @see EbatNs_DescriptionTemplateQueryInfo
28
 * @see EbatNs_ItemCategoryQueryInfo
29
 * @see EbatNs_CategoryQueryInfo
30
 * @see EbatNs_DisputeQueryInfo
31
 * @see EbatNs_BidQueryInfo
32
 * @see EbatNs_CharacteristicSetQueryInfo
33
 * @see EbatNs_ItemQueryInfo
34
 * @see EbatNs_CategoryCSQueryInfo
35
 * @see EbatNs_ProductFamilyQueryInfo
36
 * @see EbatNs_ItemShippingQueryInfo
37
 * @see EbatNs_TransactionByItemQueryInfo
38
 * @see EbatNs_EventQueryInfo
39
 * @see EbatNs_TransactionQueryInfo
40
 * @see EbatNs_ItemBidderQueryInfo
41
 * @see EbatNs_ItemSellerQueryInfo
42
 * @see EbatNs_ItemWatchlistQueryInfo
43
 */
44
class EbatNs_QueryResultInfo {
45
  // this array holds all attribute data of the object
46
  var $_props = array();
47
  /**
48
   * sets a property by name and value
49
   */
50
  function _setProp($key, $value)
51
  {
52
    $this->_props[$key] = $value;
53
  }
54
  /**
55
   * gets a property by name
56
   */
57
  function _getProp($key)
58
  {
59
    return $this->_props[$key];
60
  }
61
  /**
62
   * Read accessor of ResultCount.
63
   * specifies the total number of elements with a resultset. Take care that if pagination support was used to retrieve the data, this will not always match the number of element for the current call.
64
   *
65
   * @access public
66
   * @return number Value of the ResultCount property
67
   */
68
  function getResultCount()
69
  {
70
    return $this->_props['ResultCount'];
71
  }
72
  /**
73
   * Write accessor of ResultCount.
74
   * specifies the total number of elements with a resultset. Take care that if pagination support was used to retrieve the data, this will not always match the number of element for the current call.
75
   *
76
   * @access public
77
   * @param number $value The new value for the ResultCount property
78
   * @return void
79
   */
80
  function setResultCount($value)
81
  {
82
    $this->_props['ResultCount'] = $value;
83
  }
84
  /**
85
   * Standard init function, should be called from the constructor(s)
86
   */
87
  function _init()
88
  {
89
    $this->_props['ResultCount'] = null;
90
  }
91
}
92
?>