private function getGrpSettings($file, $tmaskgrp)
    {
        $matched = false;

        foreach ($tmaskgrp as $maskgrp) {
            $preg_maskgrp = "/" . $maskgrp["mask"] . "/";
            if (preg_match($preg_maskgrp, $file)) {
                $matched = $maskgrp;
            }
            if ($matched) {
                break;
            }
        }

        return $matched;
    }
private function getGrpSettings($file, $tmaskgrp)
    {
        $matched = false;

        foreach ($tmaskgrp as $maskgrp) {
            $preg_maskgrp = "/" . $maskgrp["mask"] . "/";
            if (preg_match($preg_maskgrp, $file)) {
                $matched = $maskgrp;
            }
            if ($matched) {
                break;
            }
        }

        return $matched;
    }
private function getGrpSettings ( $ file , $ tmaskgrp ) { $ matched = false ; foreach ( $ tmaskgrp as $ maskgrp ) { $ preg_maskgrp = "/" . $ maskgrp [ "mask" ] . "/" ; if ( preg_match ( $ preg_maskgrp , $ file ) ) { $ matched = $ maskgrp ; } if ( $ matched ) { break ; } } return $ matched ; }
Return the story settings

@param  string $file
@return array
Return the story settings