- Microsoft REST API Guidelines
- Learn REST: A RESTful Tutorial и книга по мотивам сайта
- How to design a REST API
- Best Practices for Designing a Pragmatic RESTful API
- White House Web API Standards
- 10 Best Practices for Better RESTful API
- API design best practices
- Создание RESTful API
- Шпаргалка по созданию RESTful API
This file contains hidden or 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 | |
| // disable DOMPDF's internal autoloader if you are using Composer | |
| define('DOMPDF_ENABLE_AUTOLOAD', false); | |
| // include DOMPDF's default configuration | |
| require_once $app->basePath() . '/vendor/dompdf/dompdf/dompdf_config.inc.php'; | |
This file contains hidden or 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 | |
| /** | |
| * Склоняет существительное в зависимости от числительного идущего перед ним. | |
| * Пример использования: | |
| * 1. pluralForm($n, "письмо", "письма", "писем", 'письма отсутствуют') | |
| * 2. pluralForm($n, array("письмо", "письма", "писем", 'письма отсутствуют')); | |
| * @param $n int|float число | |
| * @param $normative string|array Именительный падеж слова ИЛИ массив | |
| * @param $singular string Родительный падеж ед. число |
NewerOlder