public function getLayout(& $content)
    {
        //$res = preg_match("/\<\!-- php__layout\((.+)\) --\>/", $str, $match);
        $res = preg_match("/\{layout\s+(.+)\}/", $content, $match);
        if ($res) {
            return str_replace(array('"', '\'', '.html'), '', $match[1]);
        }
        return null;
    }