This project is read-only.
To use .NET resources in the App_GlobalResources under Phalanger, you'll need to do the following:
  • Add a reference to the following assembly under <classLibrary>:
<add assembly="App_GlobalResources" />
  • After adding the assembly, you'll be able to access resources in a similar way as you do so under ASP.NET, modified slightly to be PHP-compatible.

For example, if there was a file called "strings.resx", you'll access the ResourceManager with:

And a resource named "NAMESUFIX" with:

Last edited Apr 23, 2012 at 9:35 PM by jakub, version 10


No comments yet.