StringCreativeTemplateVariable::__construct PHP Method

__construct() public method

public __construct ( $defaultValue = null, $label = null, $uniqueName = null, $description = null, $isRequired = null )
        public function __construct($defaultValue = null, $label = null, $uniqueName = null, $description = null, $isRequired = null)
        {
            parent::__construct();
            $this->defaultValue = $defaultValue;
            $this->label = $label;
            $this->uniqueName = $uniqueName;
            $this->description = $description;
            $this->isRequired = $isRequired;
        }

Usage Example

 public function __construct($choices = NULL, $allowOtherChoice = NULL, $defaultValue = NULL, $label = NULL, $uniqueName = NULL, $description = NULL, $isRequired = NULL, $CreativeTemplateVariableType = NULL)
 {
     parent::__construct();
     $this->choices = $choices;
     $this->allowOtherChoice = $allowOtherChoice;
     $this->defaultValue = $defaultValue;
     $this->label = $label;
     $this->uniqueName = $uniqueName;
     $this->description = $description;
     $this->isRequired = $isRequired;
     $this->CreativeTemplateVariableType = $CreativeTemplateVariableType;
 }
All Usage Examples Of StringCreativeTemplateVariable::__construct
StringCreativeTemplateVariable