protected function has_proto() { if ($this->is_proto) { return True; } if ($this->parent) { return $this->parent->has_proto(); } return False; }
/** * Are we in the middle of generating a prototype element for repeatable fields? * @return boolean */ protected function has_proto() { if ($this->is_proto) { return True; } if ($this->parent) { return $this->parent->has_proto(); } return False; }