@@ 61-80 (lines=20) @@ | ||
58 | * |
|
59 | * @return mixed|null |
|
60 | */ |
|
61 | function __call( $method_name, $args ) { |
|
62 | ||
63 | $value = null; |
|
64 | ||
65 | do { |
|
66 | $value = parent::__call( $method_name, $args ); |
|
67 | ||
68 | if ( $value ) { |
|
69 | break; |
|
70 | } |
|
71 | ||
72 | if ( $this->has_marker() ) { |
|
73 | $value = call_user_func_array( array( $this->marker(), $method_name ), $args ); |
|
74 | break; |
|
75 | } |
|
76 | } while ( false ); |
|
77 | ||
78 | return $value; |
|
79 | ||
80 | } |
|
81 | ||
82 | } |
|
83 |
@@ 55-74 (lines=20) @@ | ||
52 | * |
|
53 | * @return mixed|null |
|
54 | */ |
|
55 | function __call( $method_name, $args ) { |
|
56 | ||
57 | $value = null; |
|
58 | ||
59 | do { |
|
60 | $value = parent::__call( $method_name, $args ); |
|
61 | ||
62 | if ( $value ) { |
|
63 | break; |
|
64 | } |
|
65 | ||
66 | if ( $this->has_info_window() ) { |
|
67 | $value = call_user_func_array( array( $this->info_window(), $method_name ), $args ); |
|
68 | break; |
|
69 | } |
|
70 | } while ( false ); |
|
71 | ||
72 | return $value; |
|
73 | ||
74 | } |
|
75 | ||
76 | } |
|
77 |