Services_Ebay
[ class tree: Services_Ebay ] [ index: Services_Ebay ] [ all elements ]

Class: Services_Ebay_Model_Preferences

Source Location: /Services_Ebay-0.13.1/Services/Ebay/Model/Preferences.php

Class Overview

Services_Ebay_Model
   |
   --Services_Ebay_Model_Preferences

Model for an eBay preference


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: Services_Ebay_Model

Services_Ebay_Model::__construct()
create new model
Services_Ebay_Model::GetModifiedProperties()
get the properties that have been modified, since the item has been fetched the last time.
Services_Ebay_Model::getPrimaryKey()
get the primary key of the model
Services_Ebay_Model::isCached()
check, whether the model has been cached
Services_Ebay_Model::offsetExists()
check, whether a property exists
Services_Ebay_Model::offsetGet()
get a property
Services_Ebay_Model::offsetSet()
set a property
Services_Ebay_Model::offsetUnset()
unset a property
Services_Ebay_Model::setCache()
set the cache
Services_Ebay_Model::setSession()
set the session
Services_Ebay_Model::toArray()
return all properties of the user
Services_Ebay_Model::__get()
get a property
Services_Ebay_Model::__set()
set a property

Class Details

[line 8]
Model for an eBay preference


[ Top ]


Class Variables

$preferences = array()

[line 15]

preferences
  • Access: protected

Type:   array


[ Top ]

$preferenceSets = array()

[line 22]

set of preferences
  • Access: protected

Type:   array


[ Top ]



Method Detail

__construct (Constructor)   [line 29]

Services_Ebay_Model_Preferences __construct( $props, [ $session = null])

create new preferences
  • Access: public

Overrides Services_Ebay_Model::__construct() (create new model)

Parameters:

   $props   — 
   $session   — 

[ Top ]

AddPreference   [line 67]

void AddPreference( string|object $Name, [mixed $Value = null], [string $ValueType = null])

add a new preference or preference set
  • Access: public

Parameters:

string|object   $Name   — 
mixed   $Value   — 
string   $ValueType   — 

[ Top ]

toArray   [line 87]

array toArray( )

creates an array for serialization
  • Access: public

Overrides Services_Ebay_Model::toArray() (return all properties of the user)
[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:49:49 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.