Searched refs:mode (Results 1 – 2 of 2) sorted by relevance
32 * @param string $mode The diff mode of the content in $diff. One of38 public function diff($diff, $mode = 'autodetect') argument53 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') {
543 foreach($state_types as $type => $mode) {548 if ($mode >= $user_mode) {
Completed in 7 milliseconds