[
https://issues.apache.org/jira/browse/THRIFT-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079766#comment-13079766
]
Hudson commented on THRIFT-777:
-------------------------------
Integrated in Thrift #217 (See [https://builds.apache.org/job/Thrift/217/])
THRIFT-1241 php namespace generation
realization of THRIFT-777
roger : http://svn.apache.org/viewvc/?view=rev&rev=1154045
Files :
* /thrift/trunk/compiler/cpp/src/generate/t_php_generator.cc
> PHP 5.3 namespaces
> ------------------
>
> Key: THRIFT-777
> URL: https://issues.apache.org/jira/browse/THRIFT-777
> Project: Thrift
> Issue Type: New Feature
> Components: PHP - Compiler
> Reporter: Jan Dolecek
> Priority: Minor
> Labels: compiler, namespaces, php
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> I've created patch, with which you can generated namespaces as defines in
> PHP5.3, i.e. \Thrift\SharedServiceIf etc.
> With this patch, thrift php generator will recognize two new parameters:
> - namespace53 - generate namespaces as defines in PHP 5.3. Without it, it
> generates same code as before
> - nsglobal - global namespace, default is Thrift. From tutorial, it will
> create classes \Thrift\tutorial\CalculatorIf etc.
> What can I do to make it attached to trunk? Thanks for any ideas, because
> I'm very new to Thrift and also open-source development.
> Link: http://helemik.cz/juzna/opensource/php/thrift/php53.patch
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira