Package org.eclipse.php.internal.debug.core.zend.model

Examples of org.eclipse.php.internal.debug.core.zend.model.PHPVariable


   * returns the PHPValue.getValue() instead of getValueString()).
   */
  public Object getValue(Object element, String property) {
    if (VariableColumnPresentation.COLUMN_VARIABLE_VALUE.equals(property)) {
      if (element instanceof PHPVariable) {
        PHPVariable variable = (PHPVariable) element;
        try {
          if (variable.getValue() instanceof PHPValue) {
            return ((PHPValue) variable.getValue()).getValue();
          }
          return variable.getValue().getValueString();
        } catch (DebugException e) {
          PHPDebugUIPlugin.log(e);
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.debug.core.zend.model.PHPVariable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.