|
@@ 8144-8147 (lines=4) @@
|
| 8141 |
|
public function __get ( $name ) { |
| 8142 |
|
$name = (string) $name; |
| 8143 |
|
|
| 8144 |
|
if ( !isset( $this->deprecated ) ) { |
| 8145 |
|
require_once( PODS_DIR . 'deprecated/classes/PodsAPI.php' ); |
| 8146 |
|
$this->deprecated = new PodsAPI_Deprecated( $this ); |
| 8147 |
|
} |
| 8148 |
|
|
| 8149 |
|
$var = null; |
| 8150 |
|
|
|
@@ 8170-8173 (lines=4) @@
|
| 8167 |
|
public function __call ( $name, $args ) { |
| 8168 |
|
$name = (string) $name; |
| 8169 |
|
|
| 8170 |
|
if ( !isset( $this->deprecated ) ) { |
| 8171 |
|
require_once( PODS_DIR . 'deprecated/classes/PodsAPI.php' ); |
| 8172 |
|
$this->deprecated = new PodsAPI_Deprecated( $this ); |
| 8173 |
|
} |
| 8174 |
|
|
| 8175 |
|
if ( method_exists( $this->deprecated, $name ) ) |
| 8176 |
|
return call_user_func_array( array( $this->deprecated, $name ), $args ); |