Custom Events and Modules

Permalink
I am trying to create a block on a separate page when a certain page type is created using the on_page_add event built into C5, pulling information from the posted page to add into the block.
I have created the event in my site_events.php file and added the on_page_add function to the controller for the specific page type, pulling the information from the page and sending it in an array to the block type on the page using
$bt = 'Blog Entry';
$a = 'Main';
$data = array([elements in array]);
$visitor->addBlock($bt, $a, $data);

Now I know that array gets passed to the save($args) function for the block but I'm not entirely sure what I need to put in the save($args) function for the block to make it work...

rhuffman8