This piece of code is copied from a formal php pack - I changed class names:
class MyBase extends MyTop {	
	public function searching() 
		$this->data['boxes'] = array();
		if (isset($this->request->post['real_box'])) {
			$this->data['boxes'] = $this->request->post['real_box'];
		} elseif ($this->config->get('real_box')) { 
			$this->data['boxes'] = $this->config->get('real_box');
I don't understand this 2 line:


request and config are neither function or variable of this class or parent class.

Are they global function or variable?
Or they are fix php methods?
what are they possibly?

I am a C++ programmer and know little php, I can't get answer from google.