zZzzZ.
home2
/
zrzvbdry
/
wiredsave.click
/
wp-content
/
uploads
/
redux
/
extension_compatibility
New Folder
Editing: ReduxFramework_extension_slides_v2_extended.php
Save
Cancel
<?php class ReduxFramework_extension_slides_v2_extended extends Redux_Extension_Abstract { private $c; public function __construct( $parent, $path, $ext_class ) { $this->c = $parent->extensions['slides_v2']; // Add all the params of the Abstract to this instance. foreach( get_object_vars( $this->c ) as $key => $value ) { $this->$key = $value; } parent::__construct( $parent, $path ); } // fake "extends Redux_Extension_Abstract\" using magic function public function __call( $method, $args ) { return call_user_func_array( array( $this->c, $method ), $args ); } }