PHP 클래스 ArticleList

파일 보기 프로젝트 열기: sourcefabric/newscoop 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$filters array
$issue integer
$language integer
$lastId string
$orderBy array
$publication integer
$renderActions boolean
$renderFilters boolean
$section integer
$type string
$workflow_status string

공개 메소드들

메소드 설명
__construct ( boolean $randomId = false )
doAction ( string $f_action, array $f_items, array $f_params = [] ) : void Handle action
doData ( ) Handle data
doOrder ( array $f_order, integer $f_language ) : void Handle order
getColumnKeys ( ) : array Get column keys
getFilterIssues ( )
getFilterSections ( )
processItem ( Article $article ) : array Process item
render ( ) : ArticleList Render table.
renderActions ( ) : ArticleList Render actions.
renderFilters ( ) : ArticleList Render filters.
setFilter ( string $name, mixed $value ) : ArticleList Set filter.
setIssue ( integer $issue ) : ArticleList Set issue.
setLanguage ( integer $language ) : ArticleList Set language.
setOrderBy ( string $column, string $direction = 'asc' ) : ArticleList Set column to order by.
setPublication ( integer $publication ) : ArticleList Set publication.
setSection ( integer $section ) : ArticleList Set section.
setType ( string $type ) : ArticleList Set type
setWorkflowStatus ( string $status ) : ArticleList Set status.

메소드 상세

__construct() 공개 메소드

public __construct ( boolean $randomId = false )
$randomId boolean

doAction() 공개 정적인 메소드

Handle action
public static doAction ( string $f_action, array $f_items, array $f_params = [] ) : void
$f_action string
$f_items array
$f_params array
리턴 void

doData() 공개 메소드

Handle data
public doData ( )

doOrder() 공개 정적인 메소드

Handle order
public static doOrder ( array $f_order, integer $f_language ) : void
$f_order array
$f_language integer
리턴 void

getColumnKeys() 공개 메소드

Get column keys
public getColumnKeys ( ) : array
리턴 array

getFilterIssues() 공개 메소드

public getFilterIssues ( )

getFilterSections() 공개 메소드

public getFilterSections ( )

processItem() 공개 메소드

Process item
public processItem ( Article $article ) : array
$article Article
리턴 array

render() 공개 메소드

Render table.
public render ( ) : ArticleList
리턴 ArticleList

renderActions() 공개 메소드

Render actions.
public renderActions ( ) : ArticleList
리턴 ArticleList

renderFilters() 공개 메소드

Render filters.
public renderFilters ( ) : ArticleList
리턴 ArticleList

setFilter() 공개 메소드

Set filter.
public setFilter ( string $name, mixed $value ) : ArticleList
$name string
$value mixed
리턴 ArticleList

setIssue() 공개 메소드

Set issue.
public setIssue ( integer $issue ) : ArticleList
$issue integer
리턴 ArticleList

setLanguage() 공개 메소드

Set language.
public setLanguage ( integer $language ) : ArticleList
$language integer
리턴 ArticleList

setOrderBy() 공개 메소드

Set column to order by.
public setOrderBy ( string $column, string $direction = 'asc' ) : ArticleList
$column string
$direction string
리턴 ArticleList

setPublication() 공개 메소드

Set publication.
public setPublication ( integer $publication ) : ArticleList
$publication integer
리턴 ArticleList

setSection() 공개 메소드

Set section.
public setSection ( integer $section ) : ArticleList
$section integer
리턴 ArticleList

setType() 공개 메소드

Set type
public setType ( string $type ) : ArticleList
$type string
리턴 ArticleList

setWorkflowStatus() 공개 메소드

Set status.
public setWorkflowStatus ( string $status ) : ArticleList
$status string
리턴 ArticleList

프로퍼티 상세

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

protected array $filters
리턴 array

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

protected int $issue
리턴 integer

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

protected int $language
리턴 integer

$lastId 보호되어 있는 정적으로 프로퍼티

protected static string $lastId
리턴 string

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

protected array $orderBy
리턴 array

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

protected int $publication
리턴 integer

$renderActions 보호되어 있는 정적으로 프로퍼티

protected static bool $renderActions
리턴 boolean

$renderFilters 보호되어 있는 정적으로 프로퍼티

protected static bool $renderFilters
리턴 boolean

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

protected int $section
리턴 integer

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

protected string $type
리턴 string

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

protected string $workflow_status
리턴 string