When does the defineContentAttribute() method return a false?

When does the defineContentAttribute() method return a false?
A. Data stored in different table
B. Data stored in its own table
C. Data is not stored at all
D. Data is not obtained
 
Answer: b
Explanation: If your fieldtype is storing data in its own table, and doesn’t have any use for a column within the main content table, you may also set defineContentAttribute() to return false. By default, BaseFieldType sets the column to VARCHAR(255), but you can override that with defineContentAttribute().
 

Tìm kiếm

Back
Top