PHP 클래스 Forum\Model\TopicsModel

상속: extends Phoenix\Model\ListModel
파일 보기 프로젝트 열기: asika32764/natika 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$allowFields array Property allowFields.
$fieldMapping array Property fieldMapping.
$name string Property name.

보호된 메소드들

메소드 설명
configureFilters ( Phoenix\Model\Filter\FilterHelperInterface $filterHelper ) : void Configure the filter handlers.
configureSearches ( Phoenix\Model\Filter\FilterHelperInterface $searchHelper ) : void Configure the search handlers.
configureTables ( ) : void configureTables
postGetQuery ( Windwalker\Query\Query $query ) : void The post getQuery object.
prepareGetQuery ( Windwalker\Query\Query $query ) : void The prepare getQuery hook

메소드 상세

configureFilters() 보호된 메소드

Example: php $filterHelper->setHandler( 'category.date', function($query, $field, $value) { $query->where($field . ' >= ' . $value); } );
protected configureFilters ( Phoenix\Model\Filter\FilterHelperInterface $filterHelper ) : void
$filterHelper Phoenix\Model\Filter\FilterHelperInterface The filter helper object.
리턴 void

configureSearches() 보호된 메소드

Example: php $searchHelper->setHandler( 'category.title', function($query, $field, $value) { return $query->quoteName($field) . ' LIKE ' . $query->quote('%' . $value . '%'); } );
protected configureSearches ( Phoenix\Model\Filter\FilterHelperInterface $searchHelper ) : void
$searchHelper Phoenix\Model\Filter\FilterHelperInterface The search helper object.
리턴 void

configureTables() 보호된 메소드

configureTables
protected configureTables ( ) : void
리턴 void

postGetQuery() 보호된 메소드

The post getQuery object.
protected postGetQuery ( Windwalker\Query\Query $query ) : void
$query Windwalker\Query\Query The db query object.
리턴 void

prepareGetQuery() 보호된 메소드

The prepare getQuery hook
protected prepareGetQuery ( Windwalker\Query\Query $query ) : void
$query Windwalker\Query\Query The db query object.
리턴 void

프로퍼티 상세

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

Property allowFields.
protected array $allowFields
리턴 array

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

Property fieldMapping.
protected array $fieldMapping
리턴 array

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

Property name.
protected string $name
리턴 string