[eluser]Majd Taby[/eluser]
1) Yes, look at the controllers/example.php file. It includes an example of a custom validation callback.
2) As the "temporary docs" outline, there are two ways to generate a page in CodeExtinguisher. Either using the CRUD controller (which automates basic tasks), or by writing your own controller (like the Example controller). If you use your own controller, then you can overload the execute_add or execute_edit functions to something like this:
IN YOUR CONTROLLER:
Code:
function execute_add(){
CodexController::execute_add();
/* DO SOMETHING HERE */
}
You can do this because in CodeExtinguisher, your controllers extend CodexController, not Controller, and execute_add/execute_edit do the inserting/updating.