fs_get_object_public_vars

Get object's public variables.

Description

(array) fs_get_object_public_vars( (object) $object ); 

Returns (array)

Parameters (1)

0. $object (object)
The object.

Usage

  1. if ( !function_exists( 'fs_get_object_public_vars' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'nextgen-gallery/freemius/includes/entities/class-fs-entity.php'; 
  3.  
  4. // The object. 
  5. $object = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = fs_get_object_public_vars($object); 
  9.  

Defined (1)

The function is defined in the following location(s).

/freemius/includes/entities/class-fs-entity.php  
  1. function fs_get_object_public_vars( $object ) { 
  2. return get_object_vars( $object );