Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Timereg getByResource: Difference between revisions

From Catglobe Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:Timereg_Functions]]
{{HelpFiles}}
==== Timereg_getByResource<br/> ====
==== Timereg_getByResource<br/> ====


Line 24: Line 27:


//{"738918": {"345465": &#x7B;&#x7B;38,97850,1,738918,24191,{2015,9,14,0,0,0,0,38},0&#x7D;&#x7D;}}
//{"738918": {"345465": &#x7B;&#x7B;38,97850,1,738918,24191,{2015,9,14,0,0,0,0,38},0&#x7D;&#x7D;}}
[[Category:Functions]]
 
__NOTOC__

Latest revision as of 02:29, 15 April 2016


Timereg_getByResource

Returns a dictionary where keys are resource ids and value is a dictionary where the key is the userid and the value is a list of timereg arrays ordered by the date.

Syntax

Timereg_getByResource(ResourceId [, dateStart[, dateEnd]])

Arguments

  • ResourceId: is a number expression. It is the task or project resource id
  • dateStart: is a array datetime
  • dateEnd: is a array datetime

Return type

Dictionary

Example

Dictionary a = Timereg_getByResource(738918);

print(a);

//{"738918": {"345465": {{38,97850,1,738918,24191,{2015,9,14,0,0,0,0,38},0}}}}