classAct 6.x-1.x-dev
| Download | Size | md5 hash |
|---|---|---|
| classAct-6.x-1.x-dev.tar.gz | 14.59 KB | f98c39b3e4f32a6832095eded8dffb3a |
Nightly development snapshot from CVS branch: DRUPAL-6--1
Last updated: April 25, 2009 - 00:04
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.
<?php
function myFunc () {
$admin = FALSE;
if (ca::$user->uid == 1) {
$admin = TRUE;
}
}
?>