PHP 클래스 Devise\Support\Sortable\Link

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

공개 메소드들

메소드 설명
__construct ( Framework $Framework, null $field = null, null $label = null, array $options = [], array $defaultOrderBy = [] ) Construct a new link
getClearSortLink ( $text, $options ) : string
getLink ( $cookie ) : string

보호된 메소드들

메소드 설명
bustUpField ( $field ) : array
getBaseClasses ( $options ) : array
getDirection ( $field, $relationship, $classes, $currentlySorted ) : array
getLinkParameters ( $field, $options, $currentDirection, $relationship = null ) : mixed

비공개 메소드들

메소드 설명
findIfCurrentSorted ( $cookie, $relationship, $field ) : boolean
getMultiSortOrder ( $currentlySorted, $cookie ) : null | string

메소드 상세

__construct() 공개 메소드

Construct a new link
public __construct ( Framework $Framework, null $field = null, null $label = null, array $options = [], array $defaultOrderBy = [] )
$Framework Devise\Support\Framework
$field null
$label null
$options array
$defaultOrderBy array

bustUpField() 보호된 메소드

protected bustUpField ( $field ) : array
$field
리턴 array

getBaseClasses() 보호된 메소드

protected getBaseClasses ( $options ) : array
$options
리턴 array

getDirection() 보호된 메소드

protected getDirection ( $field, $relationship, $classes, $currentlySorted ) : array
$field
$classes
리턴 array

getLinkParameters() 보호된 메소드

protected getLinkParameters ( $field, $options, $currentDirection, $relationship = null ) : mixed
$field
$options
$currentDirection
$relationship
리턴 mixed