OEModule\OphCoCvi\models\Element_OphCoCvi_EventInfo::defaultScope PHP 메소드

defaultScope() 공개 메소드

Sets default scope for events such that we never pull back any rows that have deleted set to 1.
public defaultScope ( ) : array
리턴 array of mandatory conditions
    public function defaultScope()
    {
        if ($this->defaultScopeDisabled) {
            return array();
        }
        return array('with' => array('event' => array('condition' => 'event.deleted = false')));
    }