Example #1
0
 /**
  * Save a particular model
  *
  * @param ActiveRecord $model the model being saved
  * @param bool $runValidation whether or not to run validation
  *
  * @return bool true if save was successful, otherwise false.
  */
 protected function save(ActiveRecord $model, $runValidation = true)
 {
     return $model->save($runValidation);
 }