r1317@opsdev009 (orig r70384): mcslee | 2007-11-16 16:32:36 -0800
commit9c7bc450ba531bce9f149f15f7415c73b8c251f3
author(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Sat, 17 Nov 2007 00:32:46 +0000 (17 00:32 +0000)
committer(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Sat, 17 Nov 2007 00:32:46 +0000 (17 00:32 +0000)
treef738e85f88a874e5ec26620a67ae0b7245437026
parent1383a536c0106dac49faba93f6a44aae0a26eda7
 r1317@opsdev009 (orig r70384):  mcslee | 2007-11-16 16:32:36 -0800
 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: http://svn.facebook.com/svnroot/thrift/trunk@677 41a61cd8-c433-0410-bb1c-e256eeef9e11
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]