classAct 5.x-1.x-dev

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;
  }
}

classAct 6.x-1.x-dev

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;
  }
}

classAct 7.x-1.x-dev

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;
  }
}
Subscribe with RSS Subscribe to Releases for Class Act