No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #
  2. # This file is part of Lodel 2 (https://github.com/OpenEdition)
  3. #
  4. # Copyright (C) 2015-2017 Cléo UMS-3287
  5. #
  6. # This program is free software: you can redistribute it and/or modify
  7. # it under the terms of the GNU Affero General Public License as published
  8. # by the Free Software Foundation, either version 3 of the License, or
  9. # (at your option) any later version.
  10. #
  11. # This program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. # GNU Affero General Public License for more details.
  15. #
  16. # You should have received a copy of the GNU Affero General Public License
  17. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  18. #
  19. ##@defgroup lodel2_em Editorial Model
  20. #@brief Data organisation description
  21. ##@package lodel.editorial_model
  22. #@brief Editorial model package
  23. #
  24. #The editorial model defines objects with fields. This objects will be later
  25. #manipulated via @ref lodel.leapi "LeAPI"
  26. ##@page lodel2_em_page Editorial Model
  27. #@ingroup lodel2_em
  28. #
  29. #@section lodel2_em_what What is an editorial model ?
  30. #
  31. #The editorial model is a kind of entity-relationship model describing
  32. #editorial objects.
  33. #
  34. #@warning The lodel.editorial_model package does not contains code executed by
  35. #instances. The editorial model is used to generate python code named
  36. #@ref lodel2_leapi "LeAPI" and the package contains Classes that made easy
  37. #the Em manipulation
  38. #
  39. # @subsection lodel2_em_class EmClass
  40. #
  41. #An editorial object is named @ref components.EmClass "EmClass" for "Editorial
  42. # Model Class". A class is characterized by a uniq name a
  43. #@ref lodel2_datasources "Datasource", a group, an optionnal parent EmClass and
  44. #the @ref components.EmField "EmFields" it contains.
  45. #
  46. #@par Example
  47. #<code>An "Article" is an EmClass with "article" as name, the EmClass "Text" as
  48. #parent etc...</code>
  49. #
  50. # @subsection lodel2_em_field EmField
  51. #
  52. #@ref components.EmClass "EmClasses" contains
  53. #@ref components.EmField "EmFields". An EmField as a name (uniq in the EmClass)
  54. # and is associated to a @ref lodel2_datahandlers "DataHandler" specification.
  55. #
  56. # @subsection lodel2_em_group EmGroup
  57. #
  58. #@ref components.EmClass "EmClasses" and @ref components.EmField "EmFields"
  59. #are in @ref components.EmGroup "EmGroups". EmGroups represent a consistent
  60. #EditorialModel part that can be activated or deactivated.
  61. #
  62. #@par Example
  63. #<pre>EmGroup "authors" contains the EmClass authors and all its EmField
  64. # + "written_by" EmField (a reference field on "Author" EmClass) in the EmClass
  65. #"Text"</pre>
  66. #