File::read() 

\nn\t3::File()->read($src = NULL); 

Retrieves the content of a file

\nn\t3::File()->read('fileadmin/text.txt');
Copied!

| @return string|boolean

Source Code 

public function read($src = null)
{
	if (!$src || !$this->exists($src)) return '';
	$absPath = $this->absPath($src);
	if (!$absPath) return '';
	return file_get_contents($absPath);
}
Copied!