AudienceSegment::__construct PHP Method

__construct() public method

public __construct ( $id = null, $name = null, $categoryIds = null, $description = null, $status = null, $size = null, $dataProvider = null, $type = null )
        public function __construct($id = null, $name = null, $categoryIds = null, $description = null, $status = null, $size = null, $dataProvider = null, $type = null)
        {
            $this->id = $id;
            $this->name = $name;
            $this->categoryIds = $categoryIds;
            $this->description = $description;
            $this->status = $status;
            $this->size = $size;
            $this->dataProvider = $dataProvider;
            $this->type = $type;
        }

Usage Example

 public function __construct($approvalStatus = null, $cost = null, $licenseType = null, $startDateTime = null, $endDateTime = null, $id = null, $name = null, $categoryIds = null, $description = null, $status = null, $size = null, $dataProvider = null, $type = null)
 {
     parent::__construct();
     $this->approvalStatus = $approvalStatus;
     $this->cost = $cost;
     $this->licenseType = $licenseType;
     $this->startDateTime = $startDateTime;
     $this->endDateTime = $endDateTime;
     $this->id = $id;
     $this->name = $name;
     $this->categoryIds = $categoryIds;
     $this->description = $description;
     $this->status = $status;
     $this->size = $size;
     $this->dataProvider = $dataProvider;
     $this->type = $type;
 }
All Usage Examples Of AudienceSegment::__construct