public string CreatePhpScript(StringCollection sb)
 {
     if (typeof(string).Equals(ClassType))
     {
         return("''");
     }
     if (GlobalFunctionAttribute.IsGlobalFunctionType(ClassType))
     {
         return(string.Empty);
     }
     if (typeof(DateTime).Equals(ClassType) || typeof(JsDateTime).Equals(ClassType))
     {
         return("date(\"Y-m-d H:i:s\")");
     }
     return(ClassType.Name);
 }
 //return default non-null value
 public string CreateJavaScript(StringCollection sb)
 {
     if (typeof(string).Equals(ClassType))
     {
         return("''");
     }
     if (GlobalFunctionAttribute.IsGlobalFunctionType(ClassType))
     {
         return(string.Empty);
     }
     if (ClassType.GetInterface("IJavascriptType") != null)
     {
         IJavascriptType js = Activator.CreateInstance(ClassType) as IJavascriptType;
         return(js.CreateDefaultObject());
     }
     return(ClassType.Name);
 }