require_once('tiki-setup.php'); $pages = TikiLib::lib('pagerenderer')->getAllPages(); foreach ($pages as $page) { echo $page . "\n"; }
require_once('tiki-setup.php'); $userData = array( 'login' => 'new_user', 'password' => 'password123', 'email' => 'new_user@example.com', 'realName' => 'New User', ); TikiLib::lib('user')->createUser($userData);In summary, PHP TikiLib is a package library that provides functions and classes for managing and accessing TikiWiki content through PHP code. The examples above demonstrate how to get a list of all wiki pages and create a new user account using TikiLib functions.