You are here

class PDCustomAttribute in GlobalLink Connect for Drupal 7.7

Hierarchy

Expanded class hierarchy of PDCustomAttribute

File

gl_ws/glc/model/CustomAttribute.inc.php, line 2

View source
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;
    }
  }

}

Members

Namesort descending Modifiers Type Description Overrides
PDCustomAttribute::$mandatory public property Is attribute required. Boolean
PDCustomAttribute::$name public property Attribute name
PDCustomAttribute::$type public property Attribute type
PDCustomAttribute::$values public property Attribute value
PDCustomAttribute::__construct function