Lines Matching refs:value
60 public static function toString($value)
67 if (is_string($value)) {
68 return $value;
71 if (is_array($value)) {
72 $string = var_export($value, true);
74 // An array value gets command in var_export
82 if (is_object($value)) {
83 if (method_exists($value, "__toString")) {
84 return strval($value);
86 return get_class($value);
90 if (is_numeric($value)) {
91 return strval($value);
94 if (is_bool($value)) {
95 return var_export($value, true);
98 $string = var_export($value, true);
99 LogUtility::msg("The type of the value ($string) is unknown and could not be properly cast to string", LogUtility::LVL_MSG_WARNING);
161 * Therefore the node <node> and attribute name=value are not taken in the count