__construct() public method

public __construct ( )
Example #1
0
 public function __construct()
 {
     parent::__construct();
     $this->setType('tempfile');
 }
Example #2
0
 /**
  * Constructs a new image object.
  *
  * @param string $type The type for the image, one of the IMAGE_ constants.
  */
 public function __construct($type = null)
 {
     $this->setType($type);
     parent::__construct();
 }
 /**
  * Creates a new project attachment.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setType('ProjectAttachment');
 }
Example #4
0
 /**
  * Creates a new part attachment.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setType('PartAttachment');
     $this->isImage = null;
 }
 /**
  * Creates a new footprint attachment
  */
 public function __construct()
 {
     parent::__construct();
     $this->setType("FootprintAttachment");
 }