Version 1, last updated by Deivinson Tejeda at September 01, 2007 07:47 UTC
25.4.1 create
Crea un registro a partir de los valores de los atributos del objeto ActiveRecord.
Ejemplo
- $Album = new Album();
- $Album->nombre = “Take Off Your Pants and Jacket”;
- $Album->valor = 40000;
- $Album->create();
- $Album = new Album();
- $Album->create("nombre: Take Off Your Pants and Jacket",
- "valor: 40000");
- Album = new Album();
- $Album->create(array("nombre" => "Take Off Your Pants and Jacket",
- "valor" => 40000));