original_string: public static function GetAndStoreUsersInSession($caller) {
          $users = array();
          if (!$caller->app()->user()->getAttribute(\Puzzlout\Framework\Enums\SessionKeys::AllUsers)) {
              $manager = $caller->managers()->getDalInstance($caller->module());
              $users = $manager->selectAllUsers();
  
              $caller->app()->user->setAttribute(
                      \Puzzlout\Framework\Enums\SessionKeys::AllUsers, $users
              );
          } else {
              $users = $caller->app()->user->getAttribute(\Puzzlout\Framework\Enums\SessionKeys::AllUsers);
          }
          return $users;
      }
code: public static function GetAndStoreUsersInSession($caller) {
          $users = array();
          if (!$caller->app()->user()->getAttribute(\Puzzlout\Framework\Enums\SessionKeys::AllUsers)) {
              $manager = $caller->managers()->getDalInstance($caller->module());
              $users = $manager->selectAllUsers();
  
              $caller->app()->user->setAttribute(
                      \Puzzlout\Framework\Enums\SessionKeys::AllUsers, $users
              );
          } else {
              $users = $caller->app()->user->getAttribute(\Puzzlout\Framework\Enums\SessionKeys::AllUsers);
          }
          return $users;
      }
code_tokens: public static function GetAndStoreUsersInSession ( $ caller ) { $ users = array ( ) ; if ( ! $ caller -> app ( ) -> user ( ) -> getAttribute ( \ Puzzlout \ Framework \ Enums \ SessionKeys :: AllUsers ) ) { $ manager = $ caller -> managers ( ) -> getDalInstance ( $ caller -> module ( ) ) ; $ users = $ manager -> selectAllUsers ( ) ; $ caller -> app ( ) -> user -> setAttribute ( \ Puzzlout \ Framework \ Enums \ SessionKeys :: AllUsers , $ users ) ; } else { $ users = $ caller -> app ( ) -> user -> getAttribute ( \ Puzzlout \ Framework \ Enums \ SessionKeys :: AllUsers ) ; } return $ users ; }
docstring: Checks if the users  are not stored in Session.
  Stores the users
  Set the data into the session for later use.
  
  @param /Library/Request $rq
  @return array $lists : the lists of objects if any
docstring_tokens: Checks if the users are not stored in Session . Stores the users Set the data into the session for later use .