Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建一个小部件,显示 PyroCMS 中的最后 3 个用户注册。我实际上需要更具体的是如何获取最后 3 个注册用户 ID,显示用户数据不会有问题。
设法让它以这种方式工作:
$this->load->driver('Streams'); $params = array( 'stream' => 'profiles', 'namespace' => 'users', 'limit' => '3' ); $entries = $this->streams->entries->get_entries($params);