When I went through some code of lampcms, I saw the following line of code
$this->usersHtml = '<div class="users_wrap">'.\tplU3::loop($this->Cursor, true, $func).$this->pagerLinks.'</div>';
In above line 'loop method' is predefined method or user defined method? If it is user defined method,in which page,definition for that method is I can see.That method is not in tplU3 file.
loop is a function of the Template class, it just takes in array or Iteratable object, like Mongo Cursor and iterates (loops) through results and one by one passes each result to parse() method, concatenating the result.
It's not user defined method, you should never modify it yourself.