PHP Class Geo_MapLocationContent

Inheritance: extends DatabaseObject, implements IGeoMapLocationContent
Show file Open project: sourcefabric/newscoop Class Usage Examples

Public Properties

Property Type Description
$m_columnNames array
$m_dbTableName string
$m_keyColumnNames array

Public Methods

Method Description
InsertContent ( array $poi ) : integer Inserts text content of the poi
UpdateState ( array $poi ) : void Updates visibility state of the poi
UpdateText ( array $poi ) : void Updates text content of the poi
__construct ( IGeoMapLocation $mapLocation = NULL, IGeoMapLocationLanguage $locationLanguage = NULL, array $p_contentSource = NULL, $p_forceExists = false )
getContent ( ) : string Get content
getName ( ) : string Get name
getText ( ) : string Get text

Method Details

InsertContent() public static method

Inserts text content of the poi
public static InsertContent ( array $poi ) : integer
$poi array
return integer

UpdateState() public static method

Updates visibility state of the poi
public static UpdateState ( array $poi ) : void
$poi array
return void

UpdateText() public static method

Updates text content of the poi
public static UpdateText ( array $poi ) : void
$poi array
return void

__construct() public method

public __construct ( IGeoMapLocation $mapLocation = NULL, IGeoMapLocationLanguage $locationLanguage = NULL, array $p_contentSource = NULL, $p_forceExists = false )
$mapLocation IGeoMapLocation
$locationLanguage IGeoMapLocationLanguage
$p_contentSource array

getContent() public method

Get content
public getContent ( ) : string
return string

getName() public method

Get name
public getName ( ) : string
return string

getText() public method

Get text
public getText ( ) : string
return string

Property Details

$m_columnNames public property

public array $m_columnNames
return array

$m_dbTableName public property

public string $m_dbTableName
return string

$m_keyColumnNames public property

public array $m_keyColumnNames
return array