Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Attribute.php
Go to the documentation of this file.
1 <?php
13 
15 {
22  public function getFormAttributeIds($formCode)
23  {
24  $bind = ['form_code' => $formCode];
25  $select = $this->getConnection()->select()->from(
26  $this->getMainTable(),
27  'attribute_id'
28  )->where(
29  'form_code = :form_code'
30  );
31 
32  return $this->getConnection()->fetchCol($select, $bind);
33  }
34 }