Skip to content

Instantly share code, notes, and snippets.

<?php
class Order extends AppModel {
private $__Email = null;
public function afterSave($created, $options = array()) {
if ($created) {
$this->__notifyClient();
$this->__notifyAdmin();
}