"ת" ) { $word = "־".$word; } } return $word; } /** * Gets a number and uses the suited form of the word. * * @param integer the number of items * @param string the first form (singular) * @param string the second form (plural) * @param string the third form (2 items, plural is used if not applicable and not specified) * * @return string of the suited form of word */ public function convertPlural( $count, $w1, $w2, $w3) { if ( $count == '1' ) { return $w1; } elseif ( $count == '2' && $w3 ) { return $w3; } else { return $w2; } } } ?>