Controller Methods
What we call a “controller method”, at least, is simply a function which is
called on the web side via AJAX and returns some value back (generally either
JSON or a snippet of HTML).
When I started at my current employer, controller methods looked like this:
class MyController extends Controller {
function f() {
if (!$
(
Read more... )