listCloneableFields()

Overview

public array function listCloneableFields(
      required string  objectName   
    ,          boolean ignoreIdField = true
)

Returns an array of fieldnames for properties that are clonable for the given object.

Arguments

NameTypeRequiredDescription
objectNamestringYesName of the object whose list of fields you wish to get
ignoreIdFieldbooleanNo (default=true)