Source for file Preferences.php
Documentation is available at Preferences.php
* Model for an eBay preference
* @author Stephan Schmidt <schst@php.net>
if (isset ($props['Name'])) {
if (isset ($props['PreferenceRole'])) {
$this->properties['PreferenceRole'] = $props['PreferenceRole'];
if (isset ($props['Preference'])) {
if (isset ($props['Preference'][0 ])) {
if (isset ($props['Preferences'])) {
if (isset ($props['Preferences'][0 ])) {
$tmp = $props['Preferences'];
$tmp = array ($props['Preferences']);
* add a new preference or preference set
public function AddPreference($Name, $Value = null , $ValueType = null )
'ValueType' => $ValueType
* creates an array for serialization
$array['Preferences'] = array ();
array_push($array['Preferences'], $set->toArray ());
Documentation generated on Mon, 11 Mar 2019 15:49:49 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|