<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Predefined Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="svn.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.svn.html">SVN Functions</a></div> <div class="up"><a href="book.svn.html">SVN</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="svn.constants" class="appendix"> <h1>Predefined Constants</h1> <p class="simpara"> The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. </p> <dl> <dt id="constant.svn-revision-head"> <span class="term"> <strong><code>SVN_REVISION_HEAD</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Magic number (-1) specifying the HEAD revision </span> </dd> </dt> </dl> <dl> <strong class="title">Constants usable with <span class="function"><a href="function.svn-auth-set-parameter.html" class="function">svn_auth_set_parameter()</a></span></strong> <dt id="constant.svn-auth-param-default-username"> <span class="term"> <strong><code>SVN_AUTH_PARAM_DEFAULT_USERNAME</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"> Property for default username to use when performing basic authentication </span> </dd> </dt> <dt id="constant.svn-auth-param-default-password"> <span class="term"> <strong><code>SVN_AUTH_PARAM_DEFAULT_PASSWORD</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"> Property for default password to use when performing basic authentication </span> </dd> </dt> <dt id="constant.svn-auth-param-non-interactive"> <span class="term"> <strong><code>SVN_AUTH_PARAM_NON_INTERACTIVE</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"/></dd> </dt> <dt id="constant.svn-auth-param-dont-store-passwords"> <span class="term"> <strong><code>SVN_AUTH_PARAM_DONT_STORE_PASSWORDS</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"/></dd> </dt> <dt id="constant.svn-auth-param-no-auth-cache"> <span class="term"> <strong><code>SVN_AUTH_PARAM_NO_AUTH_CACHE</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"/></dd> </dt> <dt id="constant.svn-auth-param-ssl-server-failures"> <span class="term"> <strong><code>SVN_AUTH_PARAM_SSL_SERVER_FAILURES</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"/></dd> </dt> <dt id="constant.svn-auth-param-ssl-server-cert-info"> <span class="term"> <strong><code>SVN_AUTH_PARAM_SSL_SERVER_CERT_INFO</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"/></dd> </dt> <dt id="constant.svn-auth-param-config"> <span class="term"> <strong><code>SVN_AUTH_PARAM_CONFIG</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"/></dd> </dt> <dt id="constant.svn-auth-param-server-group"> <span class="term"> <strong><code>SVN_AUTH_PARAM_SERVER_GROUP</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"/></dd> </dt> <dt id="constant.svn-auth-param-config-dir"> <span class="term"> <strong><code>SVN_AUTH_PARAM_CONFIG_DIR</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"/></dd> </dt> <dt id="constant.php-svn-auth-param-ignore-ssl-verify-errors"> <span class="term"> <strong><code>PHP_SVN_AUTH_PARAM_IGNORE_SSL_VERIFY_ERRORS</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"> Custom property for ignoring SSL cert verification errors </span> </dd> </dt> </dl> <dl> <strong class="title">Filesystem constants</strong> <dt id="constant.svn-fs-config-fs-type"> <span class="term"> <strong><code>SVN_FS_CONFIG_FS_TYPE</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"> Configuration key that determines filesystem type </span> </dd> </dt> <dt id="constant.svn-fs-type-bdb"> <span class="term"> <strong><code>SVN_FS_TYPE_BDB</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"> Filesystem is Berkeley-DB implementation </span> </dd> </dt> <dt id="constant.svn-fs-type-fsfs"> <span class="term"> <strong><code>SVN_FS_TYPE_FSFS</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"> Filesystem is native-filesystem implementation </span> </dd> </dt> </dl> <dl> <strong class="title">Reserved property constants</strong> <dt id="constant.svn-prop-revision-date"> <span class="term"> <strong><code>SVN_PROP_REVISION_DATE</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"> svn:date </span> </dd> </dt> <dt id="constant.svn-prop-revision-orig-date"> <span class="term"> <strong><code>SVN_PROP_REVISION_ORIG_DATE</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"> svn:original-date </span> </dd> </dt> <dt id="constant.svn-prop-revision-author"> <span class="term"> <strong><code>SVN_PROP_REVISION_AUTHOR</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"> svn:author </span> </dd> </dt> <dt id="constant.svn-prop-revision-log"> <span class="term"> <strong><code>SVN_PROP_REVISION_LOG</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"> svn:log </span> </dd> </dt> </dl> <dl> <strong class="title">Working copy status constants</strong> <dt id="constant.svn-wc-status-none"> <span class="term"> <strong><code>SVN_WC_STATUS_NONE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Status does not exist </span> </dd> </dt> <dt id="constant.svn-wc-status-unversioned"> <span class="term"> <strong><code>SVN_WC_STATUS_UNVERSIONED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Item is not versioned in working copy </span> </dd> </dt> <dt id="constant.svn-wc-status-normal"> <span class="term"> <strong><code>SVN_WC_STATUS_NORMAL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Item exists, nothing else is happening </span> </dd> </dt> <dt id="constant.svn-wc-status-added"> <span class="term"> <strong><code>SVN_WC_STATUS_ADDED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Item is scheduled for addition </span> </dd> </dt> <dt id="constant.svn-wc-status-missing"> <span class="term"> <strong><code>SVN_WC_STATUS_MISSING</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Item is versioned but missing from the working copy </span> </dd> </dt> <dt id="constant.svn-wc-status-deleted"> <span class="term"> <strong><code>SVN_WC_STATUS_DELETED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Item is scheduled for deletion </span> </dd> </dt> <dt id="constant.svn-wc-status-replaced"> <span class="term"> <strong><code>SVN_WC_STATUS_REPLACED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Item was deleted and then re-added </span> </dd> </dt> <dt id="constant.svn-wc-status-modified"> <span class="term"> <strong><code>SVN_WC_STATUS_MODIFIED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Item (text or properties) was modified </span> </dd> </dt> <dt id="constant.svn-wc-status-merged"> <span class="term"> <strong><code>SVN_WC_STATUS_MERGED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Item's local modifications were merged with repository modifications </span> </dd> </dt> <dt id="constant.svn-wc-status-conflicted"> <span class="term"> <strong><code>SVN_WC_STATUS_CONFLICTED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Item's local modifications conflicted with repository modifications </span> </dd> </dt> <dt id="constant.svn-wc-status-ignored"> <span class="term"> <strong><code>SVN_WC_STATUS_IGNORED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Item is unversioned but configured to be ignored </span> </dd> </dt> <dt id="constant.svn-wc-status-obstructed"> <span class="term"> <strong><code>SVN_WC_STATUS_OBSTRUCTED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Unversioned item is in the way of a versioned resource </span> </dd> </dt> <dt id="constant.svn-wc-status-external"> <span class="term"> <strong><code>SVN_WC_STATUS_EXTERNAL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Unversioned path that is populated using svn:externals </span> </dd> </dt> <dt id="constant.svn-wc-status-incomplete"> <span class="term"> <strong><code>SVN_WC_STATUS_INCOMPLETE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Directory does not contain complete entries list </span> </dd> </dt> </dl> <dl> <strong class="title">Node type constants</strong> <dt id="constant.svn-node-none"> <span class="term"> <strong><code>SVN_NODE_NONE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Absent </span> </dd> </dt> <dt id="constant.svn-node-file"> <span class="term"> <strong><code>SVN_NODE_FILE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> File </span> </dd> </dt> <dt id="constant.svn-node-dir"> <span class="term"> <strong><code>SVN_NODE_DIR</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Directory </span> </dd> </dt> <dt id="constant.svn-node-unknown"> <span class="term"> <strong><code>SVN_NODE_UNKNOWN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>) </span> <dd> <span class="simpara"> Something Subversion cannot identify </span> </dd> </dt> </dl> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="svn.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.svn.html">SVN Functions</a></div> <div class="up"><a href="book.svn.html">SVN</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>