当前位置: 首页>>代码示例>>PHP>>正文


PHP ocicolumnsize函数代码示例

本文整理汇总了PHP中ocicolumnsize函数的典型用法代码示例。如果您正苦于以下问题:PHP ocicolumnsize函数的具体用法?PHP ocicolumnsize怎么用?PHP ocicolumnsize使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了ocicolumnsize函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: field_data

 /**
  * Field data
  *
  * Generates an array of objects containing field meta-data
  *
  * @access  public
  * @return  array
  */
 function field_data()
 {
     $retval = array();
     $fieldCount = $this->num_fields();
     for ($c = 1; $c <= $fieldCount; $c++) {
         $F = new stdClass();
         $F->name = ocicolumnname($this->stmt_id, $c);
         $F->type = ocicolumntype($this->stmt_id, $c);
         $F->max_length = ocicolumnsize($this->stmt_id, $c);
         $retval[] = $F;
     }
     return $retval;
 }
开发者ID:nigelpeters,项目名称:css-recruitment-ee,代码行数:21,代码来源:oci8_result.php

示例2: fetch_field

 /**
  * Get column information
  * @param  int
  * @return object
  */
 protected function fetch_field($intOffset)
 {
     // Oracle starts row counting at 1
     ++$intOffset;
     $arrData['name'] = @ocicolumnname($this->resResult, $intOffset);
     $arrData['max_length'] = @ocicolumnsize($this->resResult, $intOffset);
     $arrData['not_null'] = @ocicolumnisnull($this->resResult, $intOffset);
     $arrData['type'] = @ocicolumntype($this->resResult, $intOffset);
     return $arrData;
 }
开发者ID:Juuro,项目名称:Dreamapp-Website,代码行数:15,代码来源:DB_Oracle.php

示例3: fetch_field

 /**
  * Get the column information
  * @param integer
  * @return object
  */
 protected function fetch_field($intOffset)
 {
     ++$intOffset;
     // Oracle starts row counting at 1
     $objData = new stdClass();
     $objData->name = @ocicolumnname($this->resResult, $intOffset);
     $objData->max_length = @ocicolumnsize($this->resResult, $intOffset);
     $objData->not_null = @ocicolumnisnull($this->resResult, $intOffset);
     $objData->type = @ocicolumntype($this->resResult, $intOffset);
     return $objData;
 }
开发者ID:jens-wetzel,项目名称:use2,代码行数:16,代码来源:DB_Oracle.php

示例4: field_data

 /**
  * Field data
  *
  * Generates an array of objects containing field meta-data
  *
  * @access  public
  * @return  array
  */
 function field_data()
 {
     $retval = array();
     $fieldCount = $this->num_fields();
     for ($c = 1; $c <= $fieldCount; $c++) {
         $F = new stdClass();
         $F->name = ocicolumnname($this->stmt_id, $c);
         $F->type = ocicolumntype($this->stmt_id, $c);
         $F->max_length = ocicolumnsize($this->stmt_id, $c);
         $F->length = $this->getColumnLength($c);
         $F->longest = $this->getColumnLongest($c);
         $F->primary_key = $this->isColumnPrimaryKey($c);
         $F->unique = $this->isColumnUnique($c);
         $F->part_of_key = $this->isColumnPartOfKey($c);
         $F->autoIncrement = $this->isColumnAutoIncrement($c);
         $retval[] = $F;
     }
     return $retval;
 }
开发者ID:rotac,项目名称:ci_package-abstraction,代码行数:27,代码来源:oci10_result.php

示例5: mcrypt_ofb

mcrypt_ofb();
ocibindbyname();
ocicancel();
ocicloselob();
ocicollappend();
ocicollassign();
ocicollassignelem();
ocicollgetelem();
ocicollmax();
ocicollsize();
ocicolltrim();
ocicolumnisnull();
ocicolumnname();
ocicolumnprecision();
ocicolumnscale();
ocicolumnsize();
ocicolumntype();
ocicolumntyperaw();
ocicommit();
ocidefinebyname();
ocierror();
ociexecute();
ocifetch();
ocifetchinto();
ocifetchstatement();
ocifreecollection();
ocifreecursor();
ocifreedesc();
ocifreestatement();
ociinternaldebug();
ociloadlob();
开发者ID:christopheg,项目名称:PHPCompatibility,代码行数:31,代码来源:deprecated_functions.php


注:本文中的ocicolumnsize函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。