Contact::__construct PHP Method

__construct() public method

public __construct ( $id = null, $name = null, $companyId = null, $status = null, $address = null, $cellPhone = null, $comment = null, $email = null, $faxPhone = null, $title = null, $workPhone = null )
        public function __construct($id = null, $name = null, $companyId = null, $status = null, $address = null, $cellPhone = null, $comment = null, $email = null, $faxPhone = null, $title = null, $workPhone = null)
        {
            parent::__construct();
            $this->id = $id;
            $this->name = $name;
            $this->companyId = $companyId;
            $this->status = $status;
            $this->address = $address;
            $this->cellPhone = $cellPhone;
            $this->comment = $comment;
            $this->email = $email;
            $this->faxPhone = $faxPhone;
            $this->title = $title;
            $this->workPhone = $workPhone;
        }

Usage Example

 function __construct(sqlConnect $conx = NULL, $table_name = "")
 {
     parent::__construct($conx, $table_name);
     if (RADRIA_LOG_RUN_OFUZ) {
         $this->setLogRun(OFUZ_LOG_RUN_PLUGIN_MARKETING);
     }
     $this->setLog("\n ContactMailing Object instantiated");
 }
All Usage Examples Of Contact::__construct