當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。