Customizer's Guide > Customizing Your Site's Profiling Configuration > Profiling API > Profile Functions
  
Profile Functions
profile_alias (attr[, doc])
Returns the alias name for the specified profile attribute.
profile_aliases (arr[, doc])
Returns the number of profile aliases defined in the current (or other) profiling configuration file.
profile_allowed (alias, oid)
Returns 1 if the specified element can be profiled using the specified profile. Returns 0 if the element cannot be profiled, or if either oid or alias is invalid.
profile_attr (alias[, doc])
Returns the name of the profile attribute for the specified profile.
profile_attrs (arr[, doc])
Returns the number of profile attributes defined in the configuration file associated with the profiling session.
profile_config ([doc])
Returns a document identifier for the current (in-memory) profiling configuration file.
profile_conflictshadingbackground([doc])
Returns the conflict shading color for the profile for the specified document.
profile_default_value(alias[, doc])
Returns the default value for the specified RADIO_PROFILE.
profile_default_value_node(alias[, doc])
Returns the default value profilenode for the specified RADIO_PROFILE.
profile_element_allowed(alias, tagname[, doc])
Returns 1 if the specified element can be profiled using the specified profile.
profile_element_attr_tests(alias, tagname, arr[, doc])
Returns the number of attribute name(s) and value(s) for the specified element that the specified profile can be applied to or not applied to.
profile_elements_list(alias, arr, not_indicator[, doc])
Returns the number of elements the specified profile could be applied to or not applied to.
profile_is_foldered (alias[, doc])
Returns 1 if the specified profile class is a FOLDERED_PROFILE.
profile_is_radiochoice(alias[, doc])
Returns 1 if the specified profile class is a RADIO_PROFILE.
profile_is_standard (alias[, doc])
Returns 1 if the specified profile class is a STANDARD_PROFILE.
profile_resolution (oid, logical_expression)
Returns 1 if the specified element would be included if the profile was resolved using the specified logical expression.
profile_rootnode (alias[, doc])
Returns the profilenode of type STANDARD_PROFILE, RADIO_PROFILE, or FOLDERED_PROFILE of a profile class.
profile_rootnodes (arr[, doc])
Returns the number of profilenodes of type STANDARD_PROFILE, RADIO_PROFILE or FOLDERED_PROFILE in the current (or other) profile configuration file.
profile_shadingbackground(alias[, doc])
Returns the shading color of the profile attribute for the specified alias..
profile_type (alias[, doc])
Returns an integer identifying the profile type of the specified alias.
profile_valid (alias[, doc])
Returns 1 if the specified alias is a valid profile.
profile_value_node (alias, value[, doc])
Returns the allowed value profilenode for the specified value in the profile class identified by the specified alias.
profile_value_nodes (alias, arr[, doc])
Returns the number of allowed value profilenodes for the profile class identified by the specified alias.
profile_value_separator(alias[, doc])
Returns the value separator for the specified profile. The default value is a semicolon.
profile_values (alias, arr[, doc])
Returns the number of allowed values for the profile class identified by the specified alias.
profile_values_shadingbackground(alias, arr[, doc[, IncludeProfileElement]])
Returns the colors for the profile attribute for the specified alias.