svn: /phpdoc/en/trunk/reference/mongo/mongoid/ isvalid.xml

From: Date: Mon, 22 Feb 2016 12:36:45 +0000
Subject: svn: /phpdoc/en/trunk/reference/mongo/mongoid/ isvalid.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-14033@lists.php.net to get a copy of this message
derick Mon, 22 Feb 2016 12:36:45 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=338646 Log: Convert DOS to Unix line endings Changed paths: U phpdoc/en/trunk/reference/mongo/mongoid/isvalid.xml Modified: phpdoc/en/trunk/reference/mongo/mongoid/isvalid.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/mongoid/isvalid.xml 2016-02-22 12:36:13 UTC (rev 338645) +++ phpdoc/en/trunk/reference/mongo/mongoid/isvalid.xml 2016-02-22 12:36:45 UTC (rev 338646) @@ -1,75 +1,75 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- $Revision$ --> - -<refentry xml:id="mongoid.isvalid" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>MongoId::isValid</refname> - <refpurpose>Check if a value is a valid ObjectId</refpurpose> - </refnamediv> - - <refsynopsisdiv role="soft-deprecation-notice"> - <sidebar> - &mongo.noalternative.method.note; - </sidebar> - </refsynopsisdiv> - - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <modifier>public</modifier> <modifier>static</modifier> <type>bool</type><methodname>MongoId::isValid</methodname> - <methodparam><type>mixed</type><parameter>value</parameter></methodparam> - </methodsynopsis> - <para> - This method may be used to check a variable before passing it as an argument - to <function>MongoId::__construct</function>. - </para> - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> - <varlistentry> - <term> - <parameter>value</parameter> - </term> - <listitem> - <para> - The value to check for validity. - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - Returns &true; if <parameter>value</parameter> is a - <classname>MongoId</classname> instance or a string consisting of exactly 24 - hexadecimal characters; otherwise, &false; is returned. - </para> - </refsect1> -</refentry> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"~/.phpdoc/manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> + +<refentry xml:id="mongoid.isvalid" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>MongoId::isValid</refname> + <refpurpose>Check if a value is a valid ObjectId</refpurpose> + </refnamediv> + + <refsynopsisdiv role="soft-deprecation-notice"> + <sidebar> + &mongo.noalternative.method.note; + </sidebar> + </refsynopsisdiv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <modifier>public</modifier> <modifier>static</modifier> <type>bool</type><methodname>MongoId::isValid</methodname> + <methodparam><type>mixed</type><parameter>value</parameter></methodparam> + </methodsynopsis> + <para> + This method may be used to check a variable before passing it as an argument + to <function>MongoId::__construct</function>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term> + <parameter>value</parameter> + </term> + <listitem> + <para> + The value to check for validity. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if <parameter>value</parameter> is a + <classname>MongoId</classname> instance or a string consisting of exactly 24 + hexadecimal characters; otherwise, &false; is returned. + </para> + </refsect1> +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +-->

« previous php.doc.cvs (#14033) next »