Prado\Data\DataGateway\TTableGateway::insert PHP Метод

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

Inserts a new record into the table. Each array key must correspond to a column name in the table unless a null value is permitted.
public insert ( $data ) : mixed
Результат mixed last insert id if one column contains a serial or sequence, otherwise true if command executes successfully and affected 1 or more rows.
    public function insert($data)
    {
        return $this->getCommand()->insert($data);
    }