original_string: public function get(string $id_option, string $id_user, $simple = true){
      $cfg =& $this->class_cfg;
      // Current datetime
      $now = date('Y-m-d H:i:s');
      // Get the user's group
      $id_group = $this->db->select_one('bbn_users', 'id_group', ['id' => $id_user]);
      // Get the page's internal messages of the user
      $messages = $this->db->get_rows("
        SELECT {$cfg['table']}.*
        FROM {$cfg['tables']['users']}
          RIGHT JOIN {$cfg['table']}
  	        ON {$cfg['table']}.{$cfg['arch']['imessages']['id']} = {$cfg['tables']['users']}.{$cfg['arch']['users']['id_imessage']}
        WHERE (
          {$cfg['table']}.{$cfg['arch']['imessages']['start']} IS NULL
          OR {$cfg['table']}.{$cfg['arch']['imessages']['start']} <= ?
        )
        AND (
          {$cfg['table']}.{$cfg['arch']['imessages']['end']} IS NULL
          OR {$cfg['table']}.{$cfg['arch']['imessages']['end']} > ?
        )
        AND (
          {$cfg['table']}.{$cfg['arch']['imessages']['id_user']} = ?
          OR {$cfg['table']}.{$cfg['arch']['imessages']['id_group']} = ?
          OR (
            {$cfg['table']}.{$cfg['arch']['imessages']['id_user']} IS NULL
            AND {$cfg['table']}.{$cfg['arch']['imessages']['id_group']} IS NULL
          )
        )
        AND {$cfg['table']}.{$cfg['arch']['imessages']['id_option']} = ?
        AND (
          {$cfg['tables']['users']}.{$cfg['arch']['users']['hidden']} IS NULL
          OR {$cfg['tables']['users']}.{$cfg['arch']['users']['hidden']} = 0
        )",
        $now,
        $now,
        hex2bin($id_user),
        hex2bin($id_group),
        hex2bin($id_option)
      );
      // Get and return the imessage's content|title from notes archive
      return $this->from_notes($messages, $simple);
    }
code: public function get(string $id_option, string $id_user, $simple = true){
      $cfg =& $this->class_cfg;
      // Current datetime
      $now = date('Y-m-d H:i:s');
      // Get the user's group
      $id_group = $this->db->select_one('bbn_users', 'id_group', ['id' => $id_user]);
      // Get the page's internal messages of the user
      $messages = $this->db->get_rows("
        SELECT {$cfg['table']}.*
        FROM {$cfg['tables']['users']}
          RIGHT JOIN {$cfg['table']}
  	        ON {$cfg['table']}.{$cfg['arch']['imessages']['id']} = {$cfg['tables']['users']}.{$cfg['arch']['users']['id_imessage']}
        WHERE (
          {$cfg['table']}.{$cfg['arch']['imessages']['start']} IS NULL
          OR {$cfg['table']}.{$cfg['arch']['imessages']['start']} <= ?
        )
        AND (
          {$cfg['table']}.{$cfg['arch']['imessages']['end']} IS NULL
          OR {$cfg['table']}.{$cfg['arch']['imessages']['end']} > ?
        )
        AND (
          {$cfg['table']}.{$cfg['arch']['imessages']['id_user']} = ?
          OR {$cfg['table']}.{$cfg['arch']['imessages']['id_group']} = ?
          OR (
            {$cfg['table']}.{$cfg['arch']['imessages']['id_user']} IS NULL
            AND {$cfg['table']}.{$cfg['arch']['imessages']['id_group']} IS NULL
          )
        )
        AND {$cfg['table']}.{$cfg['arch']['imessages']['id_option']} = ?
        AND (
          {$cfg['tables']['users']}.{$cfg['arch']['users']['hidden']} IS NULL
          OR {$cfg['tables']['users']}.{$cfg['arch']['users']['hidden']} = 0
        )",
        $now,
        $now,
        hex2bin($id_user),
        hex2bin($id_group),
        hex2bin($id_option)
      );
      // Get and return the imessage's content|title from notes archive
      return $this->from_notes($messages, $simple);
    }
code_tokens: public function get ( string $ id_option , string $ id_user , $ simple = true ) { $ cfg = & $ this -> class_cfg ; // Current datetime $ now = date ( 'Y-m-d H:i:s' ) ; // Get the user's group $ id_group = $ this -> db -> select_one ( 'bbn_users' , 'id_group' , [ 'id' => $ id_user ] ) ; // Get the page's internal messages of the user $ messages = $ this -> db -> get_rows ( "
        SELECT {$cfg['table']}.*
        FROM {$cfg['tables']['users']}
          RIGHT JOIN {$cfg['table']}
  	        ON {$cfg['table']}.{$cfg['arch']['imessages']['id']} = {$cfg['tables']['users']}.{$cfg['arch']['users']['id_imessage']}
        WHERE (
          {$cfg['table']}.{$cfg['arch']['imessages']['start']} IS NULL
          OR {$cfg['table']}.{$cfg['arch']['imessages']['start']} <= ?
        )
        AND (
          {$cfg['table']}.{$cfg['arch']['imessages']['end']} IS NULL
          OR {$cfg['table']}.{$cfg['arch']['imessages']['end']} > ?
        )
        AND (
          {$cfg['table']}.{$cfg['arch']['imessages']['id_user']} = ?
          OR {$cfg['table']}.{$cfg['arch']['imessages']['id_group']} = ?
          OR (
            {$cfg['table']}.{$cfg['arch']['imessages']['id_user']} IS NULL
            AND {$cfg['table']}.{$cfg['arch']['imessages']['id_group']} IS NULL
          )
        )
        AND {$cfg['table']}.{$cfg['arch']['imessages']['id_option']} = ?
        AND (
          {$cfg['tables']['users']}.{$cfg['arch']['users']['hidden']} IS NULL
          OR {$cfg['tables']['users']}.{$cfg['arch']['users']['hidden']} = 0
        )" , $ now , $ now , hex2bin ( $ id_user ) , hex2bin ( $ id_group ) , hex2bin ( $ id_option ) ) ; // Get and return the imessage's content|title from notes archive return $ this -> from_notes ( $ messages , $ simple ) ; }
docstring: Gets the page's internal messages of an user
  
  @param string $id_option
  @param string $id_user
  @param bool $simple
  @return array
docstring_tokens: Gets the page s internal messages of an user