Get string value
Parameters
- $cx
- render time context
- $v
- value to be output
- $ex
- 1 to return untouched value, default is 0
Returns
array<array|string|integer>|string|integer|null
The raw value of the specified variable
Expect
true when input array('flags' => array('jstrue' => 0, 'mustlam' => 0, 'lambda' => 0)), true
'true' when input array('flags' => array('jstrue' => 1)), true
'' when input array('flags' => array('jstrue' => 0, 'mustlam' => 0, 'lambda' => 0)), false
'false' when input array('flags' => array('jstrue' => 1)), false
false when input array('flags' => array('jstrue' => 1)), false, true
'Array' when input array('flags' => array('jstrue' => 1, 'jsobj' => 0)), array('a', 'b')
'a,b' when input array('flags' => array('jstrue' => 1, 'jsobj' => 1, 'mustlam' => 0, 'lambda' => 0)), array('a', 'b')
'[object Object]' when input array('flags' => array('jstrue' => 1, 'jsobj' => 1)), array('a', 'c' => 'b')
'[object Object]' when input array('flags' => array('jstrue' => 1, 'jsobj' => 1)), array('c' => 'b')
'a,true' when input array('flags' => array('jstrue' => 1, 'jsobj' => 1, 'mustlam' => 0, 'lambda' => 0)), array('a', true)
'a,1' when input array('flags' => array('jstrue' => 0, 'jsobj' => 1, 'mustlam' => 0, 'lambda' => 0)), array('a',true)
'a,' when input array('flags' => array('jstrue' => 0, 'jsobj' => 1, 'mustlam' => 0, 'lambda' => 0)), array('a',false)
'a,false' when input array('flags' => array('jstrue' => 1, 'jsobj' => 1, 'mustlam' => 0, 'lambda' => 0)), array('a',false)