You are here

function PDCustomAttribute::__construct in GlobalLink Connect for Drupal 7.7

File

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

Class

PDCustomAttribute

Code

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