call_user_method_array("format", {object}, Array
(
    [0] => SELECT h.*,u.id uid,u.login ulogin,s.id sid,s.name sname,h.com_public,CONCAT(t.fullpath,h.path,'.html') as path,
t.fullpath as fullpath,(CASE WHEN cmn.cm>0 THEN cmn.cm ELSE 0 END) cm,t.title as parent FROM htdocs as h
INNER JOIN httree as t ON (t.id=h.id_node) LEFT JOIN section as s ON (h.section=s.id)
LEFT JOIN users as u ON (h.author=u.id)
LEFT JOIN (SELECT h.id hid, count(c.id) cm FROM comments c
INNER JOIN htdocs h ON (h.id=c.htdoc_id) WHERE c.public=1 GROUP BY h.id) as cmn ON (cmn.hid=h.id)
 INNER JOIN htdocs_tags ht ON (h.id=ht.id_htdoc)
  INNER JOIN tags tg ON (tg.id=ht.id_tag)
WHERE  tg.name='5%' AND NOT h.hidden AND  h.path<>'index' AND 1=1 ORDER BY weight DESC, %s LIMIT %s
    [1] => h.pos,h.published DESC,h.created DESC,h.id DESC
    [2] => 0,10
)
);