Make the PHP generator dynamic.
authorDavid Reiss <dreiss@apache.org>
Tue, 17 Feb 2009 20:28:24 +0000 (20:28 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 17 Feb 2009 20:28:24 +0000 (20:28 +0000)
commita9ea68b907fe5fc2f5f06ba742e9fc1d849c7775
treedae28bf0f35f3226d45aa1bdbb20e552f8b3fd52
parent92e10d829778b21cfa9d1b38242704ca1392b7ab
Make the PHP generator dynamic.

- Modify the PHP generator constructor to fit the new generic interface.
- Register the PHP genrator with the central registry.
- Deprecate the old way of invoking the PHP generator.
- main.cc no longer includes t_php_generator.h.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@745238 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_php_generator.cc
compiler/cpp/src/generate/t_php_generator.h
compiler/cpp/src/main.cc
lib/php/src/autoload.php