Public Member Functions | Public Attributes

GeoTag Class Reference

Geographic tag object - geographical identification metadata. More...

Inheritance diagram for GeoTag:
BEAppModel AppModel

List of all members.

Public Member Functions

 beforeValidate ()
 beforeSave ()
 afterFind ($results, $primary=false)
 decodeLookat ($gmapsLookat)
 try to decode json gmaps_lookat field
 apiTransformer (array $options=array())
 Return an array of column types to transform (cast) Used to build consistent REST APIs.

Public Attributes

 $recursive = 0

Detailed Description

Geographic tag object - geographical identification metadata.

Version:
$Revision$ $LastChangedBy$ $LastChangedDate$

$Id$

Definition at line 31 of file geo_tag.php.


Member Function Documentation

GeoTag::apiTransformer ( array $  options = array()  ) 

Return an array of column types to transform (cast) Used to build consistent REST APIs.

Add to table fields type the serialized gmaps_lookat field types

Possible options are:

  • 'castable' an array of fields that the rest api would be cast to
See also:
AppModel::apiTransformer()
Parameters:
array $options
Returns:
array

Definition at line 126 of file geo_tag.php.

GeoTag::decodeLookat ( gmapsLookat  ) 

try to decode json gmaps_lookat field

Parameters:
string $gmapsLookat json format
Returns:
mixed string if decode fails, array otherwise

Definition at line 99 of file geo_tag.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:47 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus