You are here

public function FormBuilderFormBase::getElementIdsInPreOrder in Form Builder 7

Get list of element ids in depth-first pre-order.

1 call to FormBuilderFormBase::getElementIdsInPreOrder()
FormBuilderFormBase::getElementsInPreOrder in ./form_builder.classes.inc
Get element objects in depth-first pre-order.

File

./form_builder.classes.inc, line 661

Class

FormBuilderFormBase

Code

public function getElementIdsInPreOrder() {
  $ids = array();
  $this
    ->_recursiveElementIds($ids, $this->form);
  return $ids;
}