eZpedia : The Free eZ Publish CMS Documentation Encyclopedia

Project: PHP5 port: class constants

The following constants where replaced by class constants in the PHP5 port:

Old constant(s)

New class constant

EZ_NODE_TYPE_ELEMENT
EZ_XML_NODE_ELEMENT

eZDOMNode::TYPE_ELEMENT

EZ_NODE_TYPE_ATTRIBUTE
EZ_XML_NODE_ATTRIBUTE

eZDOMNode::TYPE_ATTRIBUTE

EZ_NODE_TYPE_TEXT
EZ_XML_NODE_TEXT

eZDOMNode::TYPE_TEXT

EZ_NODE_TYPE_CDATASECTION
EZ_XML_NODE_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 6.0.2stable

Hosted by USA eZ Publish Community Partner : Brookins Consulting