function _views_skinr_sidinfo in Skinr 6.2
Related topics
1 call to _views_skinr_sidinfo()
- views_skinr_preprocess_hook_callback in modules/
views.skinr.inc - Skinr form preprocess_hook callback.
File
- modules/
views.skinr.inc, line 331 - Provide skinr handling for node.module
Code
function _views_skinr_sidinfo($sid) {
// view-[view_name]-display-[display_name]
$pos = strpos($sid, '-display-');
if ($pos !== FALSE) {
$sidinfo = array();
$sidinfo['view'] = substr($sid, strlen('view-'), $pos - strlen('view-'));
$sidinfo['display'] = substr($sid, $pos + strlen('-display-'));
return $sidinfo;
}
return FALSE;
}