You are here

CustomAttribute.inc.php in GlobalLink Connect for Drupal 7.7

File

gl_ws/glc/model/CustomAttribute.inc.php
View source
<?php

class PDCustomAttribute {

  /**
   * Is attribute required. Boolean
   */
  public $mandatory;

  /**
   * Attribute name
   */
  public $name;

  /**
   * Attribute type
   */
  public $type;

  /**
   * Attribute value
   */
  public $values;
  function __construct($customAttribute = NULL) {
    if (isset($customAttribute)) {
      $this->mandatory = $customAttribute->mandatory;
      $this->name = $customAttribute->name;
      $this->type = $customAttribute->type;
      $this->values = $customAttribute->values;
    }
  }

}

Classes

Namesort descending Description
PDCustomAttribute