Skip to content

Address::getPreposition

James Cobban edited this page Nov 14, 2019 · 2 revisions

$address->getPreposition()

Up: class Address

This method returns the preposition to be used when displaying the instance of Address as part of text. This method exists for symmetry with class Location.

The return value is an string. At the moment there is no field in the Address record to store this value so the value is 'at'.

$address['preposition'] is a synonym for this method.

Next: $address->get($fieldname)

Clone this wiki locally