class views_php_plugin_wrapper in Views PHP 7.2
Same name and namespace in other branches
- 7 plugins/views/views_php_plugin_wrapper.inc \views_php_plugin_wrapper
A helper class that wraps around the actual views plugin.
Hierarchy
- class \views_php_plugin_wrapper
Expanded class hierarchy of views_php_plugin_wrapper
See also
views_php_plugin_query
views_php_plugin_pager
File
- plugins/
views/ views_php_plugin_wrapper.inc, line 9
View source
class views_php_plugin_wrapper {
protected $wrapped;
protected $wrapped_link;
public function php_wrap(&$link) {
$this->wrapped_link =& $link;
$this->wrapped = $link;
$link = $this;
}
public function php_unwrap() {
$this->wrapped_link = $this->wrapped;
unset($this->wrapped);
unset($this->wrapped_link);
}
public function &__get($name) {
return $this->wrapped->{$name};
}
public function __set($name, $value) {
return $this->wrapped->{$name} = $value;
}
public function __isset($name) {
return isset($this->wrapped->{$name});
}
public function __unset($name) {
unset($this->wrapped->{$name});
}
public function __call($name, $arguments) {
return call_user_func_array(array(
$this->wrapped,
$name,
), $arguments);
}
/** As of PHP 5.3.0 */
public static function __callStatic($name, $arguments) {
return call_user_func_array(array(
get_class($this->wrapped),
$name,
), $arguments);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
views_php_plugin_wrapper:: |
protected | property | ||
views_php_plugin_wrapper:: |
protected | property | ||
views_php_plugin_wrapper:: |
public | function | ||
views_php_plugin_wrapper:: |
public | function | ||
views_php_plugin_wrapper:: |
public | function | ||
views_php_plugin_wrapper:: |
public static | function | As of PHP 5.3.0 | |
views_php_plugin_wrapper:: |
public | function | ||
views_php_plugin_wrapper:: |
public | function | ||
views_php_plugin_wrapper:: |
public | function | ||
views_php_plugin_wrapper:: |
public | function |