_WP_Dependency

Class _WP_Dependency.

Defined (1)

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

/bp-forums/bbpress/bb-includes/backpress/class.wp-dependencies.php  
  1. class _WP_Dependency { 
  2. var $handle; 
  3. var $src; 
  4. var $deps = array(); 
  5. var $ver = false; 
  6. var $args = null; 
  7.  
  8. var $extra = array(); 
  9.  
  10. function __construct() { 
  11. @list($this->handle, $this->src, $this->deps, $this->ver, $this->args) = func_get_args(); 
  12. if ( !is_array($this->deps) ) 
  13. $this->deps = array(); 
  14.  
  15. function _WP_Dependency() { 
  16. $this->__construct(); 
  17.  
  18. function add_data( $name, $data ) { 
  19. if ( !is_scalar($name) ) 
  20. return false; 
  21. $this->extra[$name] = $data; 
  22. return true;