Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

class_parents()

3 tags 1 category

class_parents() — Return the parent classes of the given class.

class_parents() — This function returns an array with the name of the parent classes of the given object_or_class.

Inputs: object_or_class: An object (class instance) or a string (class name). autoload: Whether to autoload if not already loaded.

Returns: An array on success, or false when the given class doesn’t exist.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…