By default there is always private
member access because it was recommended by Doctrine2 developers.
In latest version (3.2.5.1278) we prepared a way how to customize this value. It's in test mode so there is no way how to configure it from application or from configuration files and it's necessary to update export scripts.
In case more users will be interested in this option we will add it to configuration files.Here is how to configure it:
It's necessary to edit file Doctrine2.export.osc
.
This file is located in InstallationDirector\Configurations\Frameworks
directory on windows/linux or inside Skipper.app\Contents\Resources\Configurations\Frameworks
on OS X
In function Doctrine2ExportPhpFile
on line 126 there is following line:
var xslParams = new Array();
//xslParams["variable-access-rights"] = "protected";
MLTools.XslTransformation(fileName, .....
Uncomment line `xslParams["variable-access-rights"] = "protected" and it's done
Note: Please keep in mind that this file will be updated after each application update. Currently it's not possible to store this settings in user-settings. As wrote before, this is experimental feature only