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')));
    }