Gpf_Data_RecordSet::getRecord PHP Метод

getRecord() публичный Метод

public getRecord ( $keyValue = null )
        public function getRecord($keyValue = null)
        {
            if (!array_key_exists($keyValue, $this->_array)) {
                return $this->createRecord();
            }
            return $this->_array[$keyValue];
        }

Usage Example

Пример #1
0
 protected function isColumnRequired($columnName) {
     if ($this->_requiredColumns == null) {
         return false;
     }
     try {
         $column = $this->_requiredColumns->getRecord($columnName);            
         return true;
     } catch (Gpf_Data_RecordSetNoRowException $e) {
         return false;
     }
 }
All Usage Examples Of Gpf_Data_RecordSet::getRecord