Class Socialveo\Core\behaviors\LocationBehavior

InheritanceSocialveo\Core\behaviors\LocationBehavior » Phalcon\Mvc\Model\Behavior
ImplementsPhalcon\Mvc\Model\BehaviorInterface

Class LocationBehavior

Method Details

getLocationAddress() public method

Location address depending on current request

public string getLocationAddress ( $model )
$model Socialveo\Core\models\SocialveoModel|Socialveo\Core\behaviors\LocationBehavior
getLocationLat() public method

Location latitude

public float getLocationLat ( $model )
$model Socialveo\Core\models\SocialveoModel|Socialveo\Core\behaviors\LocationBehavior
getLocationLng() public method

Location longitude

public float getLocationLng ( $model )
$model Socialveo\Core\models\SocialveoModel|Socialveo\Core\behaviors\LocationBehavior
getLocationPlaceId() public method

Location google place id

public string getLocationPlaceId ( $model )
$model Socialveo\Core\models\SocialveoModel|Socialveo\Core\behaviors\LocationBehavior
missingMethod() public method

Acts as fallback when a missing method is called on the model

public null|void missingMethod ( Phalcon\Mvc\ModelInterface $model, $method, $arguments null )
$model Phalcon\Mvc\ModelInterface|Socialveo\Core\models\SocialveoModel
$method string
$arguments array

[optional]

modelOnConstruct() public method

Initialize

public void modelOnConstruct ( $model )
$model Socialveo\Core\models\SocialveoModel|Socialveo\Core\behaviors\LocationBehavior
notify() public method

Delegates events

public mixed|void notify ( $eventType, Phalcon\Mvc\ModelInterface $model )
$eventType string
$model Phalcon\Mvc\ModelInterface|Socialveo\Core\models\SocialveoModel
setLocationPlaceId() public method

Set location place id

public void setLocationPlaceId ( Phalcon\Mvc\ModelInterface $model, $location_place_id )
$model Phalcon\Mvc\ModelInterface|Socialveo\Core\models\Network
$location_place_id string