Created
April 26, 2020 13:18
-
-
Save sukhikh18/31c9f609a511e4b39d64030b0d208e99 to your computer and use it in GitHub Desktop.
Склонения в битрикс #Bitrix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Bitrix\Main\Grid\Declension; | |
$year = 1; | |
$yearDeclension = new Declension('год', 'года', 'лет'); | |
echo "$year " . $yearDeclension->get($year); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment