public function maxChildren($conditionType)
    {
        if (!isset($GLOBALS['METAMODELS']['inputscreen_conditions'][$conditionType]['maxChildren'])) {
            return null;
        }

        // @codingStandardsIgnoreStart Silencing errors is discouraged
        @trigger_error('Configuring input screen conditions via global array is deprecated. ' .
            'Please implement/configure a valid condition factory.', E_USER_DEPRECATED);
        // @codingStandardsIgnoreEnd

        return $GLOBALS['METAMODELS']['inputscreen_conditions'][$conditionType]['maxChildren'];
    }
public function maxChildren($conditionType)
    {
        if (!isset($GLOBALS['METAMODELS']['inputscreen_conditions'][$conditionType]['maxChildren'])) {
            return null;
        }

        // @codingStandardsIgnoreStart Silencing errors is discouraged
        @trigger_error('Configuring input screen conditions via global array is deprecated. ' .
            'Please implement/configure a valid condition factory.', E_USER_DEPRECATED);
        // @codingStandardsIgnoreEnd

        return $GLOBALS['METAMODELS']['inputscreen_conditions'][$conditionType]['maxChildren'];
    }
public function maxChildren ( $ conditionType ) { if ( ! isset ( $ GLOBALS [ 'METAMODELS' ] [ 'inputscreen_conditions' ] [ $ conditionType ] [ 'maxChildren' ] ) ) { return null ; } // @codingStandardsIgnoreStart Silencing errors is discouraged @ trigger_error ( 'Configuring input screen conditions via global array is deprecated. ' . 'Please implement/configure a valid condition factory.' , E_USER_DEPRECATED ) ; // @codingStandardsIgnoreEnd return $ GLOBALS [ 'METAMODELS' ] [ 'inputscreen_conditions' ] [ $ conditionType ] [ 'maxChildren' ] ; }
Get the amount of children this type supports - for undefined returns null.

@param string $conditionType The type name.

@return int|null

@SuppressWarnings(PHPMD.Superglobals)
@SuppressWarnings(PHPMD.CamelCaseVariableName)
Get the amount of children this type supports - for undefined returns null .