Class awLocationExtension

Description

Location based ad extension.

Located in /classes/cm/LocationExtension.php

awComplexObject
   |
   --awAdExtension
      |
      --awLocationExtension
Variable Summary
Method Summary
 void getRow ()
Variables
awAddress $address

Address of the location (as is populated in GeoLocation by GeoLocationService).

<span class="constraint Selectable">This field can be selected using the value "Address".</span>

string $companyName

The name of the company located at the given address

<span class="constraint Selectable">This field can be selected using the value "CompanyName".</span> <span class="constraint StringLength">The length of this string should be between 1 and 80, inclusive.</span>

base64Binary $encodedLocation

Byte data encoding address and geo point (as is populated in GeoLocation by GeoLocationService).

Input only. Required on location extension creation. <span class="constraint Selectable">This field can be selected using the value "EncodedLocation".</span>

awGeoPoint $geoPoint

The lat/long point of the location (as is populated in GeoLocation by GeoLocationService).

<span class="constraint Selectable">This field can be selected using the value "GeoPoint".</span>

long $iconMediaId

The business icon to use with the extension

<span class="constraint Selectable">This field can be selected using the value "IconMediaId".</span>

long $imageMediaId

The store front image to use with the extension

<span class="constraint Selectable">This field can be selected using the value "ImageMediaId".</span>

string $phoneNumber

The phone number for the location

<span class="constraint Selectable">This field can be selected using the value "PhoneNumber".</span>

string $source

The source which generated the extension

<span class="constraint Selectable">This field can be selected using the value "LocationExtensionSource".</span><span class="constraint Filterable">This field can be filtered on.</span>

  • var: awLocationExtension.Source
mixed $_checkFields = array(
'address' => array(
'objName' => 'awAddress',
'type' => 'obj'
),'geoPoint'=>array('objName'=>'awGeoPoint','type'=>'obj'),)
  • access: public

Redefinition of:
awComplexObject::$_checkFields

Inherited Variables

Inherited from awAdExtension

awAdExtension::$id

Inherited from awComplexObject

awComplexObject::$_cachedCheckFields
awComplexObject::$_row
Methods

Documentation generated on Fri, 23 Mar 2012 13:44:03 +0200 by phpDocumentor 1.4.3