/** * Get whether this should be displayed in LTR mode. * * Try to guess from the PARAM type unless specifically set. */ public function get_force_ltr() { $forceltr = parent::get_force_ltr(); if ($forceltr === null) { return !is_rtl_compatible($this->paramtype); } return $forceltr; }