Skip to content

필드 타입 - Bool

bool은 참/거짓 값을 체크박스로 입력하는 필드입니다. 데이터베이스에서는 일반적으로 boolean 또는 tinyint(1) 컬럼을 사용합니다.

php
'is_active' => array(
    'type' => 'bool',
    'title' => '활성',
);

필터로 사용하면 전체, 참, 거짓 중 하나를 선택해 목록을 좁힐 수 있습니다.

Released under the MIT License.