method getContent documentation in bbn\Mvc\Controller

This will get a the content of a file located within the data path

function($file_name) { if ( $this->checkPath($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 BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.