Bitrix API

TabletCommand extends Command

FinalYes

Command for generate ORM tablet.

Example (run from DOCUMENT_ROOT/bitrix folder):

php bitrix.php make:tablet my_table partner.module

Example custom namespace:

php bitrix.php make:tablet my_table --namespace My\Custom\Namespace

Example generate to custom folder (default generate to document root):

php bitrix.php make:tablet my_table partner.module --root ./my/folder

Example generate to custom file:

php bitrix.php make:tablet my_table partner.module --show > ./my/folder/my-custom-file.php

Table of Contents


        
On this page
  • Table Of Contents

Search results