\ProductQuestion_OrderItemExtension
adds functionality to OrderItems.
Synopsis
class ProductQuestion_OrderItemExtension
extends DataExtension
{
- // members
- private static array $db = ;
- private static array $casting = ;
- private static array $_has_product_questions = ;
- private static array $_product_questions = ;
- private static $_product_question_product = NULL;
- // methods
- public void updateCMSFields()
- public bool AllQuestionsAnswered()
- public bool AllRequiredQuestionsAnswered()
- public string ProductQuestionsAnswerNOHTML()
- public void getProductQuestionsAnswerNOHTML()
- public bool canConfigure()
- public bool HasRequiredQuestions()
- public string ConfigureLabel()
- public string ConfigureLink()
- public string ProductQuestionsAnswerFormLabel()
- public string ProductQuestionsAnswerFormLink()
- public bool HasProductQuestions()
- public void ApplicableProductQuestions()
- public DataList ProductQuestions()
- public Product productQuestionBuyable()
- public Form ProductQuestionsAnswerFormInCheckoutPage()
- public Form ProductQuestionsAnswerForm()
- public ArrayList ProductQuestionsAnswers()
- public void updateOrderItemWithProductAnswers()
- public void onBeforeWrite()
Hierarchy
Extends
- DataExtension
Members
private
- $_has_product_questions
—
array
cache only! - $_product_question_product
—
array
cache only! - $_product_questions
—
array
cache only! - $casting
- $db
Methods
public
- AllQuestionsAnswered()
- AllRequiredQuestionsAnswered()
- ApplicableProductQuestions()
- ConfigureLabel() — returns a link to configure an OrderItem and adds the relevant requirements.
- ConfigureLink() — returns a link to configure an OrderItem and adds the relevant requirements.
- HasProductQuestions() — Does the buyable associated with the orderitem have product questions?
- HasRequiredQuestions() — can the order item be configured.
- ProductQuestions()
- ProductQuestionsAnswerForm()
- ProductQuestionsAnswerFormInCheckoutPage()
- ProductQuestionsAnswerFormLabel() — returns the link to edit the products.
- ProductQuestionsAnswerFormLink() — returns the link to edit the products.
- ProductQuestionsAnswerNOHTML() — casted variable.
- ProductQuestionsAnswers()
- canConfigure() — can the order item be configured.
- getProductQuestionsAnswerNOHTML()
- onBeforeWrite()
- productQuestionBuyable()
- updateCMSFields()
- updateOrderItemWithProductAnswers()