__construct() 공개 메소드

public __construct ( $id = null, $name = null, $description = null, $isActive = null, $entityType = null, $dataType = null, $visibility = null )
 public function __construct($options = null, $id = null, $name = null, $description = null, $isActive = null, $entityType = null, $dataType = null, $visibility = null)
 {
     parent::__construct();
     $this->options = $options;
     $this->id = $id;
     $this->name = $name;
     $this->description = $description;
     $this->isActive = $isActive;
     $this->entityType = $entityType;
     $this->dataType = $dataType;
     $this->visibility = $visibility;
 }
예제 #2
0
 public function __construct($options = NULL, $id = NULL, $name = NULL, $description = NULL, $isActive = NULL, $entityType = NULL, $dataType = NULL, $visibility = NULL, $CustomFieldType = NULL)
 {
     if (get_parent_class('DropDownCustomField')) {
         parent::__construct();
     }
     $this->options = $options;
     $this->id = $id;
     $this->name = $name;
     $this->description = $description;
     $this->isActive = $isActive;
     $this->entityType = $entityType;
     $this->dataType = $dataType;
     $this->visibility = $visibility;
     $this->CustomFieldType = $CustomFieldType;
 }