Advertisement
DrupalCustom

Algousermapping

Jan 12th, 2012
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. freeway_mode table just has one row and will always have the one row
  2.  
  3. If the result of SELECT mode_id FROM {freeway_mode} == zero/empty:
  4.  
  5. " Welcome to Freeway user mapping .You have probably visited this page for the first time. To use the user mapping
  6. you can do either of the below 2 options."
  7.  
  8. >>>> View/Edit Global User -- Using this i.e. setting the Global user will Update 'mode_id' = 1
  9. >>>> View/Edit Non- Global Users. -- Using this i.e. setting the Non Global user will Update 'mode_id' = 2
  10.  
  11.  
  12.  
  13. If the result of SELECT mode_id FROM {freeway_mode} == 1:
  14. "Your current option of mapping is set as 'Global user' ". You may View or Edit the Global User.
  15. (Updating the global user makes changes to the table freeway_global_user.This table to will have only one row always )
  16.  
  17.  
  18.  
  19. If the result of SELECT mode_id FROM {freeway_mode} == 2:
  20. "Your current option of mapping is set as 'NON Global user' ". You may View or Edit the NON Global User.
  21. (Updating the non global user makes changes to the table freeway_users. This table can have many rows.)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement