Prado\Data\ActiveRecord\TActiveRecordGateway::getPrimaryKeyValues PHP 메소드

getPrimaryKeyValues() 보호된 메소드

protected getPrimaryKeyValues ( TActiveRecord $record )
$record TActiveRecord
    protected function getPrimaryKeyValues(TActiveRecord $record)
    {
        $tableInfo = $this->getCommand($record)->getTableInfo();
        $primary = array();
        foreach ($tableInfo->getColumns() as $name => $column) {
            if ($column->getIsPrimaryKey()) {
                $primary[$name] = $record->getColumnValue($name);
            }
        }
        return $primary;
    }