protected function prepareListUser(array &$list)
    {
        $stores = $this->store->getList();

        foreach ($list as &$item) {

            $item['url'] = '';

            if (isset($stores[$item['store_id']])) {
                $item['url'] = $this->store->getUrl($stores[$item['store_id']]) . "/account/{$item['user_id']}";
            }
        }
    }
protected function prepareListUser(array &$list)
    {
        $stores = $this->store->getList();

        foreach ($list as &$item) {

            $item['url'] = '';

            if (isset($stores[$item['store_id']])) {
                $item['url'] = $this->store->getUrl($stores[$item['store_id']]) . "/account/{$item['user_id']}";
            }
        }
    }
protected function prepareListUser ( array & $ list ) { $ stores = $ this -> store -> getList ( ) ; foreach ( $ list as & $ item ) { $ item [ 'url' ] = '' ; if ( isset ( $ stores [ $ item [ 'store_id' ] ] ) ) { $ item [ 'url' ] = $ this -> store -> getUrl ( $ stores [ $ item [ 'store_id' ] ] ) . "/account/{$item['user_id']}" ; } } }
Prepare an array of users
@param array $list
Prepare an array of users