Add email notifications

This commit is contained in:
Frédéric Guillot
2014-08-15 17:23:41 -07:00
parent c539bdc8ab
commit 9eeded33f6
240 changed files with 23410 additions and 308 deletions

View File

@@ -31,4 +31,11 @@ class Tool
fclose($fp);
}
}
public static function loadModel(Registry $registry, $name)
{
$class = '\Model\\'.ucfirst($name);
$registry->$name = new $class($registry);
return $registry->shared($name);
}
}