protected function getUiPlugins()
    {
        $rtn = array();
        $path = APPLICATION_PATH . 'public/assets/js/build-plugins/';
        $dir = opendir($path);

        while ($item = readdir($dir)) {
            if (substr($item, 0, 1) == '.' || substr($item, -3) != '.js') {
                continue;
            }

            $rtn[] = $item;
        }

        return $rtn;
    }
protected function getUiPlugins()
    {
        $rtn = array();
        $path = APPLICATION_PATH . 'public/assets/js/build-plugins/';
        $dir = opendir($path);

        while ($item = readdir($dir)) {
            if (substr($item, 0, 1) == '.' || substr($item, -3) != '.js') {
                continue;
            }

            $rtn[] = $item;
        }

        return $rtn;
    }
protected function getUiPlugins ( ) { $ rtn = array ( ) ; $ path = APPLICATION_PATH . 'public/assets/js/build-plugins/' ; $ dir = opendir ( $ path ) ; while ( $ item = readdir ( $ dir ) ) { if ( substr ( $ item , 0 , 1 ) == '.' || substr ( $ item , - 3 ) != '.js' ) { continue ; } $ rtn [ ] = $ item ; } return $ rtn ; }
Returns an array of the JS plugins to include.
@return array
Returns an array of the JS plugins to include .