本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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();