Skip to content

Instantly share code, notes, and snippets.

View JamesSimpson's full-sized avatar

James Simpson JamesSimpson

View GitHub Profile
@JamesSimpson
JamesSimpson / perfex_hooks_list
Last active May 4, 2024 14:18
Full Perfex Hook List - For Perfex CRM Developers
File ---> application\controllers\admin\Authentication.php:
23: hooks()->do_action('admin_auth_init');
80: hooks()->do_action('after_staff_login');
107: hooks()->do_action('after_staff_login');
117: hooks()->do_action('after_staff_login');
219: hooks()->do_action('after_user_logout');
File ---> application\controllers\admin\Auto_update.php:
14: hooks()->do_action('before_perform_update', $latest_version);
@JamesSimpson
JamesSimpson / Perfex Language Cheat Sheet
Last active October 19, 2021 19:25
Guide to all Perfex CRM language functions
// Quick Reference Guide For Perfex CRM Language functions
_l('string') // Basic language conversion
_d('date') // Will output formatted date (Although seems to output datetime if datetime in DB)
_dt('datetime') // Will output formatted datetime output