Skip to content

Latest commit

 

History

History
158 lines (83 loc) · 3.5 KB

zend-restcontroller.md

File metadata and controls

158 lines (83 loc) · 3.5 KB

Zend Rest Controller Configuration

Auto generated at 2023-04-28T09:14:39+0700.

Global Configuration

  • language

    Language detemines which language used to transform singular and plural words used in certains other schema like Doctrine.

    Valid values: none, english, french, norwegian-bokmal, portuguese, spanish, turkish

    Default value: none

  • useTab (alias: useTabs)

    Use tab as blank instead of space in generated files.

    Default value: false

  • indentation

    Number of spaces used as blank in generated files.

    Default value: 4

  • eolDelimiter (alias: eolDelimeter)

    End of line (EOL) delimiter detemines the end of line in generated files.

    Valid values: win, unix

    Default value: win

  • filename

    The output filename format, use the following tag %schema%, %table%, %entity%, and %extension% to allow the filename to be replaced with contextual data.

    Default value: %entity%.%extension%

  • backupExistingFile

    Perform backup existing file before writing generated file.

    Backup file will have an extension of *.bak.

    Default value: true

  • headerFile

    Include file as header in the generated files. It will be wrapped as a comment by choosen formatter. This configuration useful as for example to include notice to generated files such as license file.

    Default value: blank

  • addGeneratorInfoAsComment

    Include generated information as a comment in generated files.

    Default value: true

  • namingStrategy

    Naming strategy detemines how objects, variables, and methods name will be generated.

    Valid values: as-is, camel-case, pascal-case

    Default value: as-is

  • identifierStrategy

    Determines how identifier like table name will be treated for generated entity/model name. Supported identifier strategies are fix-underscore which will fix for double underscore to single underscore, and none which will do nothing.

    Valid values: none, fix-underscore

    Default value: none

  • cleanUserDatatypePrefix (alias: asIsUserDatatypePrefix)

    Clean user datatype matched the prefix specified.

    Default value: blank

  • enhanceManyToManyDetection

    Allows generate additional model for many to many relations.

    Default value: true

  • sortTableAndView (alias: sortTablesAndViews)

    Perform table name and view name sorting before generating files.

    Default value: true

  • skipManyToManyTables

    Skip many to many table generation.

    Default value: true

  • skipPluralNameChecking

    Skip checking the plural name of model and leave as is, useful for non English table names.

    Default value: false

  • exportOnlyInCategory (alias: exportOnlyTableCategorized)

    Some models may have category defined in comment, process only if it is matched.

    Default value: blank

  • logToConsole

    Activate logging to console.

    Default value: false

  • logFile

    Activate logging to filename.

    Default value: blank

  • useLoggedStorage

    Useful to use the generated files content for further processing.

    Default value: false

Zend Global Configuration

  • tablePrefix

    Table prefix for generated class.

    Default value: blank

  • parentTable

    Ancestor class, the class to extend for generated class.

    Default value: Zend_Rest_Controller

Zend Rest Controller Configuration

  • No configuration available