PHP 클래스 Geo_Multimedia

상속: extends DatabaseObject, implements IGeoMultimedia
파일 보기 프로젝트 열기: sourcefabric/newscoop 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$m_columnNames array
$m_dbTableName string
$m_keyColumnNames array

공개 메소드들

메소드 설명
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

메소드 상세

FindMedia() 공개 정적인 메소드

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
리턴 integer

GetByMapLocation() 공개 정적인 메소드

Get multimedia for map location
public static GetByMapLocation ( IGeoMapLocation $p_mapLocation ) : array
$p_mapLocation IGeoMapLocation
리턴 array of IGeoMultimedia

InsertMultimedia() 공개 정적인 메소드

Inserts multimedia of a point
public static InsertMultimedia ( integer $ml_id, array $poi ) : void
$ml_id integer
$poi array
리턴 void

UpdateMedia() 공개 정적인 메소드

Updates media associated to a point
public static UpdateMedia ( string $poi, string $mm_type ) : void
$poi string
$mm_type string
리턴 void

__construct() 공개 메소드

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

getHeight() 공개 메소드

Get height
public getHeight ( ) : integer
리턴 integer

getSpec() 공개 메소드

Get spec
public getSpec ( ) : string
리턴 string

getSrc() 공개 메소드

Get src
public getSrc ( ) : string
리턴 string

getType() 공개 메소드

Get type
public getType ( ) : string
리턴 string

getWidth() 공개 메소드

Get width
public getWidth ( ) : integer
리턴 integer

프로퍼티 상세

$m_columnNames 공개적으로 프로퍼티

public array $m_columnNames
리턴 array

$m_dbTableName 공개적으로 프로퍼티

public string $m_dbTableName
리턴 string

$m_keyColumnNames 공개적으로 프로퍼티

public array $m_keyColumnNames
리턴 array