|
@@ 8358-8361 (lines=4) @@
|
| 8355 |
|
public function __get ( $name ) { |
| 8356 |
|
$name = (string) $name; |
| 8357 |
|
|
| 8358 |
|
if ( !isset( $this->deprecated ) ) { |
| 8359 |
|
require_once( PODS_DIR . 'deprecated/classes/PodsAPI.php' ); |
| 8360 |
|
$this->deprecated = new PodsAPI_Deprecated( $this ); |
| 8361 |
|
} |
| 8362 |
|
|
| 8363 |
|
$var = null; |
| 8364 |
|
|
|
@@ 8384-8387 (lines=4) @@
|
| 8381 |
|
public function __call ( $name, $args ) { |
| 8382 |
|
$name = (string) $name; |
| 8383 |
|
|
| 8384 |
|
if ( !isset( $this->deprecated ) ) { |
| 8385 |
|
require_once( PODS_DIR . 'deprecated/classes/PodsAPI.php' ); |
| 8386 |
|
$this->deprecated = new PodsAPI_Deprecated( $this ); |
| 8387 |
|
} |
| 8388 |
|
|
| 8389 |
|
if ( method_exists( $this->deprecated, $name ) ) |
| 8390 |
|
return call_user_func_array( array( $this->deprecated, $name ), $args ); |