diff options
author | Bernard Normier <bernard@zeroc.com> | 2014-06-26 20:54:48 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2014-06-26 20:54:48 +0000 |
commit | 005998b0fe3bcc3fb4e4a850b49164c4e19eb441 (patch) | |
tree | f221c20c1065ec13c81d7b5aa8d7bf056aef1e65 /cpp/src/slice2php/Main.cpp | |
parent | Fixed ICE-5546: Python Ice/converter demo (diff) | |
download | ice-005998b0fe3bcc3fb4e4a850b49164c4e19eb441.tar.bz2 ice-005998b0fe3bcc3fb4e4a850b49164c4e19eb441.tar.xz ice-005998b0fe3bcc3fb4e4a850b49164c4e19eb441.zip |
Fix for ICE-5515 (ice_staticId on proxies) in Java, C#, Python, Ruby and PHP (not complete in Python, Ruby and PHP)
Diffstat (limited to 'cpp/src/slice2php/Main.cpp')
-rw-r--r-- | cpp/src/slice2php/Main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/slice2php/Main.cpp b/cpp/src/slice2php/Main.cpp index 0abc9a3f25a..5cd4afc6a5c 100644 --- a/cpp/src/slice2php/Main.cpp +++ b/cpp/src/slice2php/Main.cpp @@ -373,6 +373,11 @@ CodeVisitor::visitClassDefStart(const ClassDefPtr& p) _out << nl << "return $proxy->ice_uncheckedCast('" << scoped << "', $facet);"; _out << eb; + _out << sp << nl << "public static function ice_staticId()"; + _out << sb; + _out << nl << "return '" << scoped << "';"; + _out << eb; + _out << eb; } |