Make the PHP generator use non-hardcoded namespaces.
authorDavid Reiss <dreiss@apache.org>
Tue, 17 Feb 2009 20:28:37 +0000 (20:28 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 17 Feb 2009 20:28:37 +0000 (20:28 +0000)
commit554ea6f936c3ad2c3317e6ba94356c65b088536f
tree35b0bd685146e7c8d35840ab2f2014fb144c0f4e
parent32272d9bd81f3d05b2dbfd3f504b29aeb9289964
Make the PHP generator use non-hardcoded namespaces.

- Make the PHP generator use program->get_namespace("php")
  instead of program->get_php_namespace()
- Eliminate the explicit "php_namespace" in t_program.
- Deprecate the php_namespace token.
- Update example .thrift files and syntax files.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@745241 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_php_generator.cc
compiler/cpp/src/parse/t_program.h
compiler/cpp/src/thrifty.yy
contrib/thrift.el
contrib/thrift.vim
tutorial/tutorial.thrift