PHP 클래스 CrudSubject, Platform-Crud-Plugin
All Crud.* events passes this object as subject
Copyright 2010-2012, Nodes ApS. (http://www.nodesagency.com/)
Licensed under The MIT License
Redistributions of files must retain the above copyright notice.
파일 보기
프로젝트 열기: nodesagency/Platform-Crud-Plugin
1 사용 예제들
공개 메소드들
메소드 |
설명 |
|
__construct ( array $fields = [] ) : void |
Constructor |
|
set ( $fields ) |
sh
Set a list of key / values to the stdClass |
|
shouldProcess ( string $mode, mixed $actions = [] ) : boolean |
Check about they called action, is white listed or blacklisted
depending on the mode. |
|
메소드 상세
sh
Set a list of key / values to the stdClass
public set ( $fields ) |
$fields |
|
|
Modes:
only => only if in array (white list)
not => only if NOT in array (blacklist)