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

Class: Services_Facebook_MarketPlace_Listing

Source Location: /Services_Facebook-0.1.2/Services/Facebook/MarketPlace/Listing.php

Class Overview


Facebook Marketplace listing


Author(s):

Version:

  • Release: 0.1.2

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 33]
Facebook Marketplace listing


[ Top ]


Class Variables

$data = array()

[line 56]

Listing parameters

Type:   mixed


[ Top ]

$id =  0

[line 40]

Listing ID (listing_id)
  • Access: public

Type:   integer


[ Top ]

$showInProfile =  true

[line 47]

Show listing in profile?
  • Access: public

Type:   boolean


[ Top ]



Method Detail

validate   [line 93]

void validate( )

Validate listing before posting it
  • Throws: Services_Facebook_Exception
  • Access: public

[ Top ]

validateCondition   [line 123]

void validateCondition( string $val)

Validate condition value
  • Throws: Services_Facebook_Exception
  • Access: public

Parameters:

string   $val   —  The condition to validate against

[ Top ]

__get   [line 78]

mixed __get( string $var)

Get listing data
  • Return: Null if value is not set
  • Access: public

Parameters:

string   $var   —  (e.g. price, condition, etc.)

[ Top ]

__set   [line 66]

void __set( string $var, string $val)

Set listing data
  • Access: public

Parameters:

string   $var   —  (e.g. price, condition, etc.)
string   $val   —  Value of attribute

[ Top ]


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