protected function _initScopes()
    {
        foreach ((array)$this->config('queryScope') as $className) {
            if (!empty($this->_queryScopes[$className])) {
                continue;
            }

            if (class_exists($className)) {
                $instance = new $className($this->_table);
                if ($instance instanceof QueryScopeInterface) {
                    $this->_queryScopes[$className] = $instance;
                }
            }
        }
    }
protected function _initScopes()
    {
        foreach ((array)$this->config('queryScope') as $className) {
            if (!empty($this->_queryScopes[$className])) {
                continue;
            }

            if (class_exists($className)) {
                $instance = new $className($this->_table);
                if ($instance instanceof QueryScopeInterface) {
                    $this->_queryScopes[$className] = $instance;
                }
            }
        }
    }
protected function _initScopes ( ) { foreach ( ( array ) $ this -> config ( 'queryScope' ) as $ className ) { if ( ! empty ( $ this -> _queryScopes [ $ className ] ) ) { continue ; } if ( class_exists ( $ className ) ) { $ instance = new $ className ( $ this -> _table ) ; if ( $ instance instanceof QueryScopeInterface ) { $ this -> _queryScopes [ $ className ] = $ instance ; } } } }
Initializes the scope objects

@return void
Initializes the scope objects