Ejemplo n.º 1
0
 public static function create_pack($pack_name, $abbreviation, $download_link)
 {
     $attributes = array('name' => $pack_name, 'abbreviation' => $abbreviation, 'download_link' => $download_link);
     $new_pack = new Pack($attributes);
     $new_pack->save();
 }