The following constants where replaced by class constants in the PHP5 port:
Old constant(s) | New class constant |
---|---|
EZ_NODE_TYPE_ELEMENT | eZDOMNode::TYPE_ELEMENT |
EZ_NODE_TYPE_ATTRIBUTE | eZDOMNode::TYPE_ATTRIBUTE |
EZ_NODE_TYPE_TEXT | eZDOMNode::TYPE_TEXT |
EZ_NODE_TYPE_CDATASECTION | eZDOMNode::TYPE_CDATASECTION |
EZ_SDK_VERSION_MAJOR | eZPublishSDK::VERSION_MAJOR |
EZ_SDK_VERSION_MINOR | eZPublishSDK::VERSION_MINOR |
EZ_SDK_VERSION_RELEASE | eZPublishSDK::VERSION_RELEASE |
EZ_SDK_VERSION_STATE | eZPublishSDK::VERSION_STATE |
EZ_SDK_VERSION_DEVELOPMENT | eZPublishSDK::VERSION_DEVELOPMENT |
EZ_SDK_VERSION_REVISION_STRING | eZPublishSDK::VERSION_REVISION_STRING |
EZ_SDK_VERSION_ALIAS | eZPublishSDK::VERSION_ALIAS |
EZ_SDK_VERSION_REVISION | eZPublishSDK::VERSION_REVISION |
There are still other constants that should be replaced. You can easily find them with grep.
Article provided by eZpedia
All text is available under the terms of the GNU Free Documentation License
Powered by eZ Publish Community Project 4.2011
Hosted by Swiss eZ Publish partner YMC