Menu

Commit [r222]  Maximize  Restore  History

[UPDATE] behaviour and php doc enhancements

Update WsdlToPhpGenerator::manageWsdlNodeDocumentation() method in order to improve, again, documentation tags detection. Update WsdlToPhpGenerator php doc comment.

Update WsdlToPhpModel::getCleanName() method behaviour in order to allow to keep muliple consecutive undescores in the generated name. So the struct attributes are detected as having a clean name even if they contain multiple consecutive underscores. Update WsdlToPhpModel::cleanString() method in order to take account of this new parameter. By default, multiple consecutive underscores are kept. Update WsdlToPhpModel php doc comments.

Update WsdlToPhpStruct::getAttributes() calls in WsdlToPhpFunction::getComment() and WsdlToPhpFunction::getBody() methods in order to take advantage of the new WsdlToPhpStruct::getAttributes() method behaviour.

Update WsdlToPhpStruct::getAttributes() behaviour by adding a second parameter allowing to get attributes ordered as required attributes are positionned as first attributes. So, the generated class __construct() method will be easier to call as the required parameters are placed as first parameters. Improve WsdlToPhpStruct::isArray() method in order to take account the number of attributes the struct owns by calling new WsdlToPhpStruct::countOwnAttributes() method. Improve generated array containing parameters passed to the parent class in order to take account of the parameter type when parameter is a generated array type class. Update WsdlToPhpStruct php doc comment.

Update WsdlToPhpStructAttribute::getSetterDeclaration() method in order to generate better php doc comment for the current attribute setter method when struct is an array type class. Update WsdlToPhpStructAttribute php doc comment.

Update WsdlToPhpStructValue::getCleanName() method according to the new behaviour of WsdlToPhpModel::getCleanName() method. Update WsdlToPhpStructValue::getDeclaration() to remove useless parameters passed to the WsdlToPhpStructValue::getCleanName() method call. Update WsdlToPhpStructValue php doc comment.

Update WsdlToPhpService php doc comment.

mikaelcom 2013-02-16

changed /trunk/WsdlToPhpFunction.php
changed /trunk/WsdlToPhpGenerator.php
changed /trunk/WsdlToPhpModel.php
changed /trunk/WsdlToPhpService.php
changed /trunk/WsdlToPhpStruct.php
changed /trunk/WsdlToPhpStructAttribute.php
changed /trunk/WsdlToPhpStructValue.php
/trunk/WsdlToPhpFunction.php Diff Switch to side-by-side view
Loading...
/trunk/WsdlToPhpGenerator.php Diff Switch to side-by-side view
Loading...
/trunk/WsdlToPhpModel.php Diff Switch to side-by-side view
Loading...
/trunk/WsdlToPhpService.php Diff Switch to side-by-side view
Loading...
/trunk/WsdlToPhpStruct.php Diff Switch to side-by-side view
Loading...
/trunk/WsdlToPhpStructAttribute.php Diff Switch to side-by-side view
Loading...
/trunk/WsdlToPhpStructValue.php Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.