Search in sources :

Example 1 with UDFPropertiesBase

use of lucee.runtime.type.UDFPropertiesBase in project Lucee by lucee.

the class ComponentImpl method getUDFs.

private static void getUDFs(PageContext pc, Iterator<UDF> it, ComponentImpl comp, int access, ArrayImpl arr) throws PageException {
    UDF udf;
    while (it.hasNext()) {
        udf = it.next();
        if (udf instanceof UDFGSProperty)
            continue;
        if (udf.getAccess() > access)
            continue;
        if (!udf.getPageSource().equals(comp._getPageSource()))
            continue;
        arr.append(ComponentUtil.getMetaData(pc, (UDFPropertiesBase) ((UDFImpl) udf).properties));
    }
}
Also used : UDFPropertiesBase(lucee.runtime.type.UDFPropertiesBase) UDF(lucee.runtime.type.UDF) UDFGSProperty(lucee.runtime.type.UDFGSProperty)

Aggregations

UDF (lucee.runtime.type.UDF)1 UDFGSProperty (lucee.runtime.type.UDFGSProperty)1 UDFPropertiesBase (lucee.runtime.type.UDFPropertiesBase)1