method specs documentation in bbn\Html\Builder

function($cat, $item) { if ( bbn\Str::checkName($cat, $item) ){ if ( !isset(self::$specs[$cat]) && is_dir(__DIR__.'/specs/'.$cat) ){ self::$specs[$cat] = []; } if ( isset(self::$specs[$cat]) ){ if ( !isset(self::$specs[$cat][$item]) && file_exists(__DIR__.'/specs/'.$cat.'/'.$item.'.php') ){ self::$specs[$cat][$item] = include_once(__DIR__.'/specs/'.$cat.'/'.$item.'.php'); } if ( isset(self::$specs[$cat][$item]) ){ return self::$specs[$cat][$item]; } self::$specs[$cat][$item] = false; } } return false; }

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.