protected function setDashboard($active)
    {
        $dashboard = $this->dashboard->getList(array('user_id' => $this->uid, 'active' => $active));
        $this->data_dashboard = $this->prepareDashboard($dashboard);
    }
protected function setDashboard($active)
    {
        $dashboard = $this->dashboard->getList(array('user_id' => $this->uid, 'active' => $active));
        $this->data_dashboard = $this->prepareDashboard($dashboard);
    }
protected function setDashboard ( $ active ) { $ dashboard = $ this -> dashboard -> getList ( array ( 'user_id' => $ this -> uid , 'active' => $ active ) ) ; $ this -> data_dashboard = $ this -> prepareDashboard ( $ dashboard ) ; }
Sets an array of dashboard items
@param bool $active
Sets an array of dashboard items