Skip to content

Element "file" is missing under the tag "php_parent" #63

@xtophe38

Description

@xtophe38

Under the php_parent node, you may use the tag to specify where the file hosting the php parent class is defined. This element is missing in the 3.2/itop_design.xsd file.

  <php_parent>
    <name>namespace\MyPhpClass</name>
    <file>file_path_in_the_extension/file.php</file>
  </php_parent>

For instance, I have create, in TeemIp Cable Management, the PHP _NetworkSocket.php file to store all the methods that are related to the NetworkSocket class defined in XML:

  <php_parent>
    <name>TeemIp\TeemIp\Extension\CableManagement\Model\_NetworkSocket</name>
    <file>src/Model/_NetworkSocket.php</file>
  </php_parent>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions