src/bbn/mvc/controller.php
public function get_content($file_name){
    if ( $this->check_path($file_name) &&
      \defined('BBN_DATA_PATH') &&
      is_file(BBN_DATA_PATH.$file_name)
    ){
      return file_get_contents(BBN_DATA_PATH.$file_name);
    }
    return false;
  }
public function get_content($file_name){
    if ( $this->check_path($file_name) &&
      \defined('BBN_DATA_PATH') &&
      is_file(BBN_DATA_PATH.$file_name)
    ){
      return file_get_contents(BBN_DATA_PATH.$file_name);
    }
    return false;
  }
public function get_content ( $ file_name ) { if ( $ this -> check_path ( $ file_name ) && \ defined ( 'BBN_DATA_PATH' ) && is_file ( BBN_DATA_PATH . $ file_name ) ) { return file_get_contents ( BBN_DATA_PATH . $ file_name ) ; } return false ; }
This will get a the content of a file located within the data path

@param string $file_name
@return string|false
This will get a the content of a file located within the data path