original_string: public function getLayoutForUser($login, $idDashboard)
      {
          $return = $this->getModel()->getLayoutForUser($login, $idDashboard);
  
          if (count($return) == 0) {
              return false;
          }
  
          return $return[0]['layout'];
      }
code: public function getLayoutForUser($login, $idDashboard)
      {
          $return = $this->getModel()->getLayoutForUser($login, $idDashboard);
  
          if (count($return) == 0) {
              return false;
          }
  
          return $return[0]['layout'];
      }
code_tokens: public function getLayoutForUser ( $ login , $ idDashboard ) { $ return = $ this -> getModel ( ) -> getLayoutForUser ( $ login , $ idDashboard ) ; if ( count ( $ return ) == 0 ) { return false ; } return $ return [ 0 ] [ 'layout' ] ; }
docstring: Returns the layout in the DB for the given user, or false if the layout has not been set yet.
  Parameters must be checked BEFORE this function call
  
  @param string $login
  @param int $idDashboard
  
  @return bool|string
docstring_tokens: Returns the layout in the DB for the given user or false if the layout has not been set yet . Parameters must be checked BEFORE this function call