Prado\Data\SqlMap\Statements\TMappedStatement::getPostSelectKeys PHP Метод

getPostSelectKeys() защищенный Метод

Finds in the post select property the SQL statement primary selection keys.
protected getPostSelectKeys ( $resultMap, $property, $row ) : array
Результат array list of primary key values.
    protected function getPostSelectKeys($resultMap, $property, $row)
    {
        $value = $property->getColumn();
        if (is_int(strpos($value . ',', 0)) || is_int(strpos($value, '=', 0))) {
            $keys = array();
            foreach (explode(',', $value) as $entry) {
                $pair = explode('=', $entry);
                $keys[trim($pair[0])] = $row[trim($pair[1])];
            }
            return $keys;
        } else {
            $registry = $this->getManager()->getTypeHandlers();
            return $property->getPropertyValue($registry, $row);
        }
    }