<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.cubrid.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ru',
  ),
  'this' => 
  array (
    0 => 'function.cubrid-lob2-new.php',
    1 => 'cubrid_lob2_new',
    2 => 'Создаёт объект LOB',
  ),
  'up' => 
  array (
    0 => 'ref.cubrid.php',
    1 => 'Функции CUBRID',
  ),
  'prev' => 
  array (
    0 => 'function.cubrid-lob2-import.php',
    1 => 'cubrid_lob2_import',
  ),
  'next' => 
  array (
    0 => 'function.cubrid-lob2-read.php',
    1 => 'cubrid_lob2_read',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/cubrid/functions/cubrid-lob2-new.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.cubrid-lob2-new" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">cubrid_lob2_new</h1>
  <p class="verinfo">(PECL CUBRID &gt;= 8.4.1)</p><p class="refpurpose"><span class="refname">cubrid_lob2_new</span> &mdash; <span class="dc-title">Создаёт объект LOB</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.cubrid-lob2-new-description">
  <h3 class="title">Описание</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>cubrid_lob2_new</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$conn_identifier</code><span class="initializer"> = ?</span></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$type</code><span class="initializer"> = &quot;BLOB&quot;</span></span>): <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span></div>

  <p class="simpara">
   Функция <span class="function"><strong>cubrid_lob2_new()</strong></span> используется для создания
   объекта LOB (как BLOB, так и CLOB). Её следует использовать перед привязкой
   объекта LOB.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.cubrid-lob2-new-parameters">
 <h3 class="title">Список параметров</h3>
 <dl>
  
   <dt><code class="parameter">conn_identifier</code></dt>
   <dd>
    <span class="simpara">
     Идентификатор подключения. Если идентификатор соединения не указан,
     предполагается последнее подключение, открытое с помощью
     <span class="function"><a href="function.cubrid-connect.php" class="function">cubrid_connect()</a></span> или
     <span class="function"><a href="function.cubrid-connect-with-url.php" class="function">cubrid_connect_with_url()</a></span>.
    </span>
   </dd>
  
  
   <dt><code class="parameter">type</code></dt>
   <dd>
    <span class="simpara">
     Значение должно быть равно &quot;BLOB&quot; или &quot;CLOB&quot;, регистр не учитывается.
     По умолчанию используется значение &quot;BLOB&quot;.
    </span>
   </dd>
  
 </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.cubrid-lob2-new-returnvalues">
  <h3 class="title">Возвращаемые значения</h3>
  <p class="simpara">
   Идентификатор LOB в случае успешного выполнения или <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>, если возникла ошибка.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.cubrid-lob2-new-seealso">
  <h3 class="title">Смотрите также</h3>
  <ul class="simplelist">
  <li><span class="function"><a href="function.cubrid-lob2-close.php" class="function" rel="rdfs-seeAlso">cubrid_lob2_close()</a> - Закрывает объект LOB</span></li>
  </ul>
 </div>

</div><?php manual_footer($setup); ?>