Ajax::add_res( string $key, mixed $val )

Description #

Add response key => value pair.

Parameters #

  • $key
    string (Required) Key.
  • $val
    mixed (Required) Value.

Source #

File: classes/ajax.php

	public function add_res( $key, $val ) {
		$this->res[ $key ] = $val;
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment