function _insight_contentanalysis in Insight 7
2 calls to _insight_contentanalysis()
File
- ./
insight.module, line 811
Code
function _insight_contentanalysis($name, $action = 'get', $analysis = NULL) {
static $analysises = array();
if ($action == 'set') {
$analysises[$name] = $analysis;
}
elseif ($action == 'reset') {
unset($analysises[$name]);
}
if (isset($analysises[$name])) {
return $analysises[$name];
}
else {
return FALSE;
}
}