001 /** 002 * Implements the Cold Fusion Function structkeylist 003 */ 004 package railo.runtime.functions.struct; 005 006 import railo.runtime.PageContext; 007 import railo.runtime.ext.function.Function; 008 import railo.runtime.type.KeyImpl; 009 import railo.runtime.type.Struct; 010 011 public final class StructKeyList implements Function { 012 public static String call(PageContext pc , Struct struct) { 013 return call(pc,struct,",");//KeyImpl.toUpperCaseList(struct.keys(), ","); 014 } 015 public static String call(PageContext pc , Struct struct, String delimeter) { 016 return KeyImpl.toList(struct.keys(), delimeter); 017 018 } 019 }