public function getRedirectMap()
    {
        if ($this->_redirectMap === null) {
            $this->_redirectMap = (new DbQuery())->select(['id', 'type', 'value', 'target'])->from('cms_nav_item_redirect')->indexBy('id')->all();
        }

        return $this->_redirectMap;
    }
public function getRedirectMap()
    {
        if ($this->_redirectMap === null) {
            $this->_redirectMap = (new DbQuery())->select(['id', 'type', 'value', 'target'])->from('cms_nav_item_redirect')->indexBy('id')->all();
        }

        return $this->_redirectMap;
    }
public function getRedirectMap ( ) { if ( $ this -> _redirectMap === null ) { $ this -> _redirectMap = ( new DbQuery ( ) ) -> select ( [ 'id' , 'type' , 'value' , 'target' ] ) -> from ( 'cms_nav_item_redirect' ) -> indexBy ( 'id' ) -> all ( ) ; } return $ this -> _redirectMap ; }
Get an array containing all redirect items from the database table cms_nav_item_redirect.

@return array An array where the key is the id and the value an array containing id, type and value.
Get an array containing all redirect items from the database table cms_nav_item_redirect .