Delicious      Technorati      Blinklist      Furl      Reddit

TimeTrex Time and Attendance

TimeTrex Time and Attendance


* FAQ    * Search
* Login   * Register

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun May 22, 2016 11:21 pm 
Offline

Joined: Sun Feb 14, 2016 6:09 pm
Posts: 51
Hi,

Can u tell me how (via php or javascript code) to get the user object of the person currently logged in in TimeTrex?
Thanks

J.


Top
 Profile  
 
PostPosted: Tue May 24, 2016 9:07 pm 
Offline

Joined: Sun Feb 14, 2016 6:09 pm
Posts: 51
i found the answer

LocalCacheData.getLoginUser().id
LocalCacheData.getLoginUser().user_name

etc

in javascript


Top
 Profile  
 
PostPosted: Wed May 25, 2016 11:27 pm 
Offline

Joined: Sun Feb 14, 2016 6:09 pm
Posts: 51
can anyone tell me if there is a php class in TimeTrex that could accomplish the same task as the js code above?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: RogerBot (MOZ) and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Time and Attendance




Powered by phpBB® Forum Software © phpBB Group