Opening Composer programmatically: is there a more elegant solution?

Permalink
I've been putting together an "Add News" button to appear on the Dashboard. The first part creates a new news page and grabs the ID (as $cID). Then I want to invoke Composer to edit this page; at the moment all I can think of to do this is;
$whereto=BASE_URL.DIR_REL ."/index.php/dashboard/composer/write/-/edit/".$cID;
header('Location:' . $whereto);


But I can't help feeling there's a more elegant and concrete5-esque way of doing it?

 

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.