Add __autoload() support to Thrift-generated PHP code
authorMark Slee <mcslee@apache.org>
Sat, 17 Nov 2007 00:32:36 +0000 (00:32 +0000)
committerMark Slee <mcslee@apache.org>
Sat, 17 Nov 2007 00:32:36 +0000 (00:32 +0000)
commit09f69e052452e973949bc143d0f34c28c51ff15e
treef738e85f88a874e5ec26620a67ae0b7245437026
parentf5a6b0c10939a2c0dd33fa88b8ce4e3f44a33186
Add __autoload() support to Thrift-generated PHP code

Summary: Include thrift/autoload.php and use -phpa flag to generated code that works with autoload. Good for services with lots of methods that are typically not all invoked.

Reviewed By: dreiss

Test Plan: Falcon, baby, falcon.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665349 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 [new file with mode: 0644]