Blog

IntegrationField Class

Posted by:

You are here:
< Back

This class represents a field submitted within an order, it is the main object returned by the RNEPO class.

Properties

Order: returns the WC_Order where this field was added.

Line: Returns the WC_Order_Item where this field was added

Entry: An stdclass representation of the field

Methods

public function GetLabel()

Returns

The label of the field

public function GetFieldName()

Returns

The name of the field

public abstract function ToText()

Returns

A text representation of the value of the entry

public function ToHTML()

Returns

An html representation of the value of the entry

0

About the Author:

Im programmer working for an international company. I have programmed since i was 12 and i have done it professionally for 6 years. Programming for a company is fun and i have learned a lot of things but i have always been interested in running my own business so i decided to give it a shot doing what i do best, programming stuffs.
  Related Posts
  • No related posts found.