Install
Using dev releases is not recommended, except for testing.
Using Composer to manage Drupal site dependencies
Downloads
Download tar.gz
8.16 KB
MD5: 364bc60d184cb158f804992d9511f821
SHA-1: 4addafba0e33b3592dd56b871c8eae8cd9be6447
SHA-256: 52658364b5d768dc905d55a3d5bfecac4ed410950470a8c73f540cdb9c4d8a90
Download zip
8.71 KB
MD5: a245c3daada20e2f4ca5a07d7ca1af50
SHA-1: e31c7fbd89009ddd24691ff44f41a5f20d0a1cea
SHA-256: a9d4701013f5f25c443cbaf2314d62942201ea76148713f1813c0332ce6ebd81
Release notes
Class Act
Now you don't have to worry with declaring the globals, they're already available using the ca class of the classAct module.
function myFunc () {
$admin = FALSE;
if (ca::$user->uid == 1) {
$admin = TRUE;
}
}