Text_Diff_Renderer::__construct()publicWP 1.0

Constructor.

Method of the class: Text_Diff_Renderer{}

No Hooks.

Return

null. Nothing (null).

Usage

$Text_Diff_Renderer = new Text_Diff_Renderer();
$Text_Diff_Renderer->__construct( $params );
$params **
-
Default: array()

Text_Diff_Renderer::__construct() code WP 6.6.2

function __construct( $params = array() )
{
    foreach ($params as $param => $value) {
        $v = '_' . $param;
        if (isset($this->$v)) {
            $this->$v = $value;
        }
    }
}