PHP 클래스 DiscussionsModule, vanilla

상속: extends Gdn_Module
파일 보기 프로젝트 열기: vanilla/vanilla 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$Limit Display limit.
$Prefix string

보호된 프로퍼티들

프로퍼티 타입 설명
$categoryIDs Limit the discussions to just this list of categories, checked for view permission.

공개 메소드들

메소드 설명
__construct ( )
assetTarget ( )
getCategoryIDs ( ) : array Get a list of category IDs to limit.
getData ( integer | boolean $limit = false ) Get the data for the module.
getShowPhotos ( ) : boolean
setCategoryIDs ( array $categoryIDs ) Set a list of category IDs to limit.
setShowPhotos ( $showPhotos ) : DiscussionsModule
toString ( )

메소드 상세

__construct() 공개 메소드

public __construct ( )

assetTarget() 공개 메소드

public assetTarget ( )

getCategoryIDs() 공개 메소드

Get a list of category IDs to limit.
public getCategoryIDs ( ) : array
리턴 array

getData() 공개 메소드

Get the data for the module.
public getData ( integer | boolean $limit = false )
$limit integer | boolean Override the number of discussions to display.

getShowPhotos() 공개 메소드

public getShowPhotos ( ) : boolean
리턴 boolean Whether to show the discussion author avatar.

setCategoryIDs() 공개 메소드

Set a list of category IDs to limit.
public setCategoryIDs ( array $categoryIDs )
$categoryIDs array

setShowPhotos() 공개 메소드

public setShowPhotos ( $showPhotos ) : DiscussionsModule
$showPhotos Whether to show the discussion author avatar.
리턴 DiscussionsModule

toString() 공개 메소드

public toString ( )

프로퍼티 상세

$Limit 공개적으로 프로퍼티

Display limit.
public $Limit

$Prefix 공개적으로 프로퍼티

public string $Prefix
리턴 string

$categoryIDs 보호되어 있는 프로퍼티

Limit the discussions to just this list of categories, checked for view permission.
protected $categoryIDs