PHP 클래스 BaseList

This class has been auto-generated by the Doctrine ORM Framework
저자: Pierre Boitel, Bastien Libersa, Paul Périé
상속: extends sfDoctrineRecord
파일 보기 프로젝트 열기: sourcefabric/newscoop 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$admin string
$beforeRender boolean
$clickable boolean
$colVis boolean
$cols array
$defaultSorting string
$defaultSortingDir string
$filters array
$hidden array
$id string
$ignoredCols array
$inUseColumn integer
$items array
$model mixed
$notSortable array
$order boolean
$renderTable boolean
$search boolean
$searchCols array
$web string

공개 메소드들

메소드 설명
FormatFileSize ( integer $size ) : string Get human readable filesize
__construct ( )
addSDom ( string $id ) : void Add sDom element
beforeRender ( ) : void Renders list id
doApprove ( array $ids ) : boolean Handle approve
doData ( ) : array Data provider
doDelete ( array $ids ) : boolean Handle delete
doDisapprove ( array $ids ) : boolean Handle disapprove
getContextSDom ( ) : string Get Context Box sDom property.
getCount ( string $from = NULL ) : integer Get db rows count
getId ( ) : string Get list id
getSDom ( ) : string Get sDom property.
getSorting ( ) : string Get default sorting
processItem ( mixed $item ) : mixed Process item
processRow ( array $row ) : array Process db row
render ( ) : ArticleList Render table.
setClickable ( boolean $clickable = TRUE ) : BaseList Set links clickable
setColVis ( boolean $colVis = FALSE ) : ArticleList Set ColVis.
setHidden ( integer | string $key ) : ArticleList Set column to be hidden.
setItems ( array $items ) : ArticleList Set items.
setOrder ( boolean $order = FALSE ) : ArticleList Set order.
setSearch ( boolean $search = FALSE ) : ArticleList Set search.

보호된 메소드들

메소드 설명
getArgs ( ) : array Get function arguments
getPath ( string $filename ) : string | null Get path for file - try in subclass folder, fallback in baseclass folder

메소드 상세

FormatFileSize() 공개 정적인 메소드

Get human readable filesize
public static FormatFileSize ( integer $size ) : string
$size integer
리턴 string

__construct() 공개 메소드

public __construct ( )

addSDom() 공개 메소드

Add sDom element
public addSDom ( string $id ) : void
$id string
리턴 void

beforeRender() 공개 메소드

Renders list id
public beforeRender ( ) : void
리턴 void

doApprove() 공개 메소드

Handle approve
public doApprove ( array $ids ) : boolean
$ids array
리턴 boolean

doData() 공개 메소드

Data provider
public doData ( ) : array
리턴 array

doDelete() 공개 메소드

Handle delete
public doDelete ( array $ids ) : boolean
$ids array
리턴 boolean

doDisapprove() 공개 메소드

Handle disapprove
public doDisapprove ( array $ids ) : boolean
$ids array
리턴 boolean

getArgs() 최종 보호된 메소드

Get function arguments
final protected getArgs ( ) : array
리턴 array

getContextSDom() 공개 메소드

Get Context Box sDom property.
public getContextSDom ( ) : string
리턴 string

getCount() 공개 메소드

Get db rows count
public getCount ( string $from = NULL ) : integer
$from string
리턴 integer

getId() 공개 메소드

Get list id
public getId ( ) : string
리턴 string

getPath() 최종 보호된 메소드

Get path for file - try in subclass folder, fallback in baseclass folder
final protected getPath ( string $filename ) : string | null
$filename string
리턴 string | null

getSDom() 공개 메소드

Get sDom property.
public getSDom ( ) : string
리턴 string

getSorting() 공개 메소드

Get default sorting
public getSorting ( ) : string
리턴 string

processItem() 공개 메소드

Process item
public processItem ( mixed $item ) : mixed
$item mixed
리턴 mixed

processRow() 공개 메소드

Process db row
public processRow ( array $row ) : array
$row array
리턴 array

render() 공개 메소드

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

setClickable() 공개 메소드

Set links clickable
public setClickable ( boolean $clickable = TRUE ) : BaseList
$clickable boolean
리턴 BaseList

setColVis() 공개 메소드

Set ColVis.
public setColVis ( boolean $colVis = FALSE ) : ArticleList
$colVis boolean
리턴 ArticleList

setHidden() 공개 메소드

Set column to be hidden.
public setHidden ( integer | string $key ) : ArticleList
$key integer | string
리턴 ArticleList

setItems() 공개 메소드

Set items.
public setItems ( array $items ) : ArticleList
$items array
리턴 ArticleList

setOrder() 공개 메소드

Set order.
public setOrder ( boolean $order = FALSE ) : ArticleList
$order boolean
리턴 ArticleList

setSearch() 공개 메소드

Set search.
public setSearch ( boolean $search = FALSE ) : ArticleList
$search boolean
리턴 ArticleList

프로퍼티 상세

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

protected string $admin
리턴 string

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

protected bool $beforeRender
리턴 boolean

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

protected bool $clickable
리턴 boolean

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

protected bool $colVis
리턴 boolean

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

protected array $cols
리턴 array

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

protected string $defaultSorting
리턴 string

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

protected string $defaultSortingDir
리턴 string

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

protected array $filters
리턴 array

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

protected array $hidden
리턴 array

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

protected string $id
리턴 string

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

protected array $ignoredCols
리턴 array

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

protected int $inUseColumn
리턴 integer

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

protected array $items
리턴 array

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

protected mixed $model
리턴 mixed

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

protected array $notSortable
리턴 array

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

protected bool $order
리턴 boolean

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

protected static bool $renderTable
리턴 boolean

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

protected array $searchCols
리턴 array

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

protected string $web
리턴 string