Lines Matching refs:strValue
63 public static function unquote($strValue) { argument
65 $strValue = str_replace('\\\\', '\\', $strValue);
66 $strValue = str_replace('\\"', '"', $strValue);
67 $strValue = substr($strValue, 1, strlen($strValue) - 2);
68 return $strValue;
70 public static function isQuoted($strValue) { argument
72 return mb_strlen($strValue) > 0 && mb_substr($strValue, 0, 1) == '"';
74 return strlen($strValue) > 0 && substr($strValue, 0, 1) == '"';
78 $strValue = $elmInstance->getStringValue();
79 if (self::isQuoted($strValue)) {
80 return self::unquote($strValue);
82 return $strValue;