UI.php.xsd 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
  3. targetNamespace="https://procesy5.pl/SE/se-lib/UI.php.xsd" vc:minVersion="1.1"
  4. xmlns:p5BS="https://procesy5.pl/bootstrap" xmlns:p5Ui="https://procesy5.pl/SE/se-lib/UI.php.xsd"
  5. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:p5Al="https://procesy5.pl/alerts">
  6. <xs:annotation>
  7. <xs:documentation>TODO przykladowe mapowanie funkcji php/xsd/xml </xs:documentation>
  8. </xs:annotation>
  9. <xs:import namespace="https://procesy5.pl/alerts" schemaLocation="../../alerts.xsd"/>
  10. <xs:import namespace="https://procesy5.pl/bootstrap" schemaLocation="bootstrap.php.xsd"/>
  11. <xs:complexType name="h.input" abstract="true">
  12. <xs:annotation>
  13. <xs:documentation>/todo model input/</xs:documentation>
  14. </xs:annotation>
  15. <xs:sequence>
  16. <xs:element name="tagName"/>
  17. <xs:element name="params">
  18. <xs:annotation>
  19. <xs:documentation>[]</xs:documentation>
  20. </xs:annotation>
  21. </xs:element>
  22. <xs:element name="childrens">
  23. <xs:annotation>
  24. <xs:documentation>[]</xs:documentation>
  25. </xs:annotation>
  26. </xs:element>
  27. </xs:sequence>
  28. </xs:complexType>
  29. <xs:complexType name="h">
  30. <xs:annotation>
  31. <xs:documentation>public static function h($tagName, $params = [], $childrens = []) {</xs:documentation>
  32. </xs:annotation>
  33. <xs:all>
  34. <xs:any/>
  35. </xs:all>
  36. </xs:complexType>
  37. <xs:complexType name="hAttributes"/>
  38. <xs:group name="hAttributes">
  39. <xs:sequence> </xs:sequence>
  40. </xs:group>
  41. <xs:complexType name="hChildrens"/>
  42. <xs:group name="hChildrens">
  43. <xs:sequence> </xs:sequence>
  44. </xs:group>
  45. <xs:simpleType name="outputHtml">
  46. <xs:restriction base="xs:boolean"/>
  47. </xs:simpleType>
  48. <xs:simpleType name="msg">
  49. <xs:restriction base="p5Al:msg"/>
  50. </xs:simpleType>
  51. <xs:group name="alert">
  52. <xs:sequence>
  53. <xs:element name="alertType" type="p5Al:alertType"/>
  54. <xs:element name="msg" type="p5Ui:msg"/>
  55. <xs:element default="true" name="outputHtml" type="p5Ui:outputHtml"/>
  56. </xs:sequence>
  57. </xs:group>
  58. <xs:complexType name="alert"/>
  59. <xs:complexType name="viewLatestAuthLogAction">
  60. <xs:annotation>
  61. <xs:documentation>public function viewLatestAuthLogAction() {</xs:documentation>
  62. </xs:annotation>
  63. <xs:choice>
  64. <xs:any notQName="name">
  65. <xs:annotation>
  66. <xs:documentation>if (!$logName) {
  67. TODO przemapowanie</xs:documentation>
  68. </xs:annotation>
  69. </xs:any>
  70. </xs:choice>
  71. </xs:complexType>
  72. </xs:schema>