Adds a new row to the entity table
public insertRow ( stdClas\stdClass $row, array $attributes = [] ) : integer | false | ||
$row | stdClas\stdClass | Entity base information |
$attributes | array | All primary and secondary table attributes Used by database mock services to allow mocking entities that were instantiated using new keyword and calling ElggEntity::save() |
Résultat | integer | false |