Skip to content

Record::isValid

James Cobban edited this page Dec 2, 2020 · 1 revision

$record->isValid()

Up: class Record

This method returns true if construction of this record completed normally, otherwise it returns false. If this method returns false, call $record->getErrors() to get a string explaining why the record could not be completed. This will normally describe any errors in the parameters.

Next: $record->setTemplate($template)

Clone this wiki locally