Actions
Feature #20799
closedAdd a RANDOM cObject
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-07-31
Due date:
% Done:
100%
Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:
Description
Problem:
Sometimes you would like to have a cObject selected randomly from a list of cObjects. This feature can be used for different purposes.
Solution:
Add a new cObject "RANDOM"
Example:
page.20 = RANDOM
page.20 {
10 = TEXT
10.value = a
20 = TEXT
20.value = b
30 = TEXT
30.value = c
}
page.30 = COA_INT
page.30.10 = RANDOM
page.30.10 {
10 = TEXT
10.value = a
20 = TEXT
20.value = b
30 = TEXT
30.value = c
}
(issue imported from #M11606)
Files
Actions