| Source for file Translation.phpDocumentation is available at Translation.php 
require_once 'index.php';echo '<h3>Translation</h3>' ;$groups = $admin-> perm-> getGroups(        'fields' => array('group_id'),    echo 'Run the <strong>Group</strong> test first<br />' ;$admin->perm-> removeTranslation( array('section_type' => LIVEUSER_SECTION_GROUP)) ;foreach ($groups as $group_id) {        'section_id' => $group_id,        'section_type' => LIVEUSER_SECTION_GROUP,        'description' => 'Description of ' .$group_id .'is ' .md5(uniqid(rand())),    $translation_id = $admin-> perm-> addTranslation($data) ;    if ($translation_id === false) {        echo '<strong>Error on line: ' .__LINE__.'</strong><br />' ;        echo 'added translation for group <strong>' . $group_id . '</strong> with              the translation id <strong>'. $translation_id .'</strong><br />' ;echo 'All the groups with translation:<br />' ;$groups = $admin-> perm-> getGroups( array('fields' => array('group_id', 'name', 'description'))) ;    echo '<strong>Error on line: ' .__LINE__.'</strong><br />' ;} elseif ( empty($groups)) {    echo 'No groups were found<br />' ;    Var_Dump:: display($groups) ;
		    
 
		    Documentation generated on Mon, 11 Mar 2019 14:16:45 -0400 by phpDocumentor 1.4.4 . PEAR Logo Copyright ©  PHP Group 2004.
	       |