/** * Create a new model object of a request * * @param array $attributes The attributes to save against the model * * @return model returns Placid_RequestsModel object * */ public function newRequest($attributes = array()) { // Create the new Placid_RequestsModel // ----------------------------------------------------------------------------- $model = new Placid_RequestsModel(); // Set the attributes from the array $model->setAttributes($attributes); // Return the Placid_RequestsModel model return $model; }