Пример #1
0
 /**
  * Preloads messages, saves SQL queries
  *
  * @param $msgs Messages in form of array ('1'=>'subject', ...))
  */
 function loadMessages($msglist)
 {
     if (!is_array($msglist)) {
         return;
     }
     self::$msgidcache = self::$msgidcache + $msglist;
 }