src/Loops/Service/WebCore.php
public static function getParameterCount($pageclass) {
        if(is_object($pageclass)) {
            $pageclass = get_class($pageclass);
        }
        $count = array_count_values(explode("\\", $pageclass));
        return array_key_exists("_", $count) ? $count["_"] : 0;
    }
public static function getParameterCount($pageclass) {
        if(is_object($pageclass)) {
            $pageclass = get_class($pageclass);
        }
        $count = array_count_values(explode("\\", $pageclass));
        return array_key_exists("_", $count) ? $count["_"] : 0;
    }
public static function getParameterCount ( $ pageclass ) { if ( is_object ( $ pageclass ) ) { $ pageclass = get_class ( $ pageclass ) ; } $ count = array_count_values ( explode ( "\\" , $ pageclass ) ) ; return array_key_exists ( "_" , $ count ) ? $ count [ "_" ] : 0 ; }
Counts the number of the needed page parameter given the classname or an object

See method resolvePage for details

@param string $pageclass
@return integer The number of needed page parameter.
Counts the number of the needed page parameter given the classname or an object