PHP Class Geo_Multimedia

Inheritance: extends DatabaseObject, implements IGeoMultimedia
Afficher le fichier Open project: sourcefabric/newscoop Class Usage Examples

Méthodes publiques

Свойство Type Description
$m_columnNames array
$m_dbTableName string
$m_keyColumnNames array

Méthodes publiques

Méthode Description
FindMedia ( string $p_type, string $p_spec, string $p_src, integer $p_width, integer $p_height, string $p_options ) : integer Looks whether a media are already in the database, for the COW work
GetByMapLocation ( IGeoMapLocation $p_mapLocation ) : array Get multimedia for map location
InsertMultimedia ( integer $ml_id, array $poi ) : void Inserts multimedia of a point
UpdateMedia ( string $poi, string $mm_type ) : void Updates media associated to a point
__construct ( mixed $arg = NULL )
getHeight ( ) : integer Get height
getSpec ( ) : string Get spec
getSrc ( ) : string Get src
getType ( ) : string Get type
getWidth ( ) : integer Get width

Method Details

FindMedia() public static méthode

Looks whether a media are already in the database, for the COW work
public static FindMedia ( string $p_type, string $p_spec, string $p_src, integer $p_width, integer $p_height, string $p_options ) : integer
$p_type string
$p_spec string
$p_src string
$p_width integer
$p_height integer
$p_options string
Résultat integer

GetByMapLocation() public static méthode

Get multimedia for map location
public static GetByMapLocation ( IGeoMapLocation $p_mapLocation ) : array
$p_mapLocation IGeoMapLocation
Résultat array of IGeoMultimedia

InsertMultimedia() public static méthode

Inserts multimedia of a point
public static InsertMultimedia ( integer $ml_id, array $poi ) : void
$ml_id integer
$poi array
Résultat void

UpdateMedia() public static méthode

Updates media associated to a point
public static UpdateMedia ( string $poi, string $mm_type ) : void
$poi string
$mm_type string
Résultat void

__construct() public méthode

public __construct ( mixed $arg = NULL )
$arg mixed

getHeight() public méthode

Get height
public getHeight ( ) : integer
Résultat integer

getSpec() public méthode

Get spec
public getSpec ( ) : string
Résultat string

getSrc() public méthode

Get src
public getSrc ( ) : string
Résultat string

getType() public méthode

Get type
public getType ( ) : string
Résultat string

getWidth() public méthode

Get width
public getWidth ( ) : integer
Résultat integer

Property Details

$m_columnNames public_oe property

public array $m_columnNames
Résultat array

$m_dbTableName public_oe property

public string $m_dbTableName
Résultat string

$m_keyColumnNames public_oe property

public array $m_keyColumnNames
Résultat array