PHP 클래스 RTMediaModel, rtMedia

저자: joshua
상속: extends RTDBModel
파일 보기 프로젝트 열기: rtCamp/rtMedia 1 사용 예제들

공개 메소드들

메소드 설명
__call ( string $name, array $arguments ) : array
__construct ( )
get ( array $columns, mixed $offset = false, mixed $per_page = false, string $order_by = 'media_id desc', $count_flag = false ) : array
get_counts ( mixed $user_id = false, mixed $where_query = false ) : string
get_group_albums ( integer $group_id, mixed $offset, mixed $per_page, string $order_by = 'media_id desc' ) : array
get_media ( array $columns, mixed $offset = false, mixed $per_page = false, string $order_by = 'media_id desc', $count_flag = false ) : array
get_other_album_count ( integer $profile_id, string $context = 'profile' ) : integer
get_user_albums ( integer $author_id, mixed $offset, mixed $per_page, string $order_by = 'media_id desc' ) : array
populate_results_fallback ( string $name, array $arguments ) : array

메소드 상세

__call() 공개 메소드

public __call ( string $name, array $arguments ) : array
$name string
$arguments array
리턴 array

__construct() 공개 메소드

public __construct ( )

get() 공개 메소드

public get ( array $columns, mixed $offset = false, mixed $per_page = false, string $order_by = 'media_id desc', $count_flag = false ) : array
$columns array
$offset mixed
$per_page mixed
$order_by string
리턴 array

get_counts() 공개 메소드

public get_counts ( mixed $user_id = false, mixed $where_query = false ) : string
$user_id mixed
$where_query mixed
리턴 string $result

get_group_albums() 공개 메소드

public get_group_albums ( integer $group_id, mixed $offset, mixed $per_page, string $order_by = 'media_id desc' ) : array
$group_id integer
$offset mixed
$per_page mixed
$order_by string
리턴 array $results

get_media() 공개 메소드

public get_media ( array $columns, mixed $offset = false, mixed $per_page = false, string $order_by = 'media_id desc', $count_flag = false ) : array
$columns array
$offset mixed
$per_page mixed
$order_by string
리턴 array

get_other_album_count() 공개 메소드

public get_other_album_count ( integer $profile_id, string $context = 'profile' ) : integer
$profile_id integer
$context string
리턴 integer

get_user_albums() 공개 메소드

public get_user_albums ( integer $author_id, mixed $offset, mixed $per_page, string $order_by = 'media_id desc' ) : array
$author_id integer
$offset mixed
$per_page mixed
$order_by string
리턴 array $results

populate_results_fallback() 공개 메소드

public populate_results_fallback ( string $name, array $arguments ) : array
$name string
$arguments array
리턴 array