Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 2 of 2) sorted by relevance

/web-bugs/src/Horde/Text/Diff/Engine/
H A DString.php32 * @param string $mode The diff mode of the content in $diff. One of
38 public function diff($diff, $mode = 'autodetect') argument
53 if ($mode != 'autodetect' && $mode != 'context' && $mode != 'unified') {
57 if ($mode == 'autodetect') {
63 $mode = $context !== false ? 'context' : 'unified';
65 $mode = $context < $unified ? 'context' : 'unified';
71 if (($mode == 'context' && strpos($diff[0], '***') === 0) ||
72 ($mode == 'unified' && strpos($diff[0], '---') === 0)) {
77 if ($mode == 'context') {
/web-bugs/include/
H A Dfunctions.php543 foreach($state_types as $type => $mode) {
548 if ($mode >= $user_mode) {

Completed in 11 milliseconds