src/Repositories/EavAttributeRepository.php
/**
     * Return's an array with the available EAV attributes for the passed is user defined flag.
     *
     * @param integer $isUserDefined The flag itself
     *
     * @return array The array with the EAV attributes matching the passed flag
     */
Return's an array with the available EAV attributes for the passed is user defined flag.
@param integer $isUserDefined The flag itself

@return array The array with the EAV attributes matching the passed flag
Return ' s an array with the available EAV attributes for the passed is user defined flag . @param integer $isUserDefined The flag itself @return array The array with the EAV attributes matching the passed flag
public function findAllByIsUserDefined($isUserDefined = 1)
    {
        $eavAttributes = array();
        $params = array(MemberNames::ID_USER_DEFINED => $isUserDefined);
        $this->eavAttributesByUserDefinedStmt->execute($params);
        $availableEavAttributes = $this->eavAttributesByUserDefinedStmt->fetchAll(\PDO::FETCH_ASSOC);
        foreach ($availableEavAttributes as $eavAttribute) {
            $eavAttributes[$eavAttribute[MemberNames::ATTRIBUTE_CODE]] = $eavAttribute;
        }
        return $eavAttributes;
    }
public function findAllByIsUserDefined ( $ isUserDefined = 1 ) { $ eavAttributes = array ( ) ; $ params = array ( MemberNames :: ID_USER_DEFINED => $ isUserDefined ) ; $ this -> eavAttributesByUserDefinedStmt -> execute ( $ params ) ; $ availableEavAttributes = $ this -> eavAttributesByUserDefinedStmt -> fetchAll ( \ PDO :: FETCH_ASSOC ) ; foreach ( $ availableEavAttributes as $ eavAttribute ) { $ eavAttributes [ $ eavAttribute [ MemberNames :: ATTRIBUTE_CODE ] ] = $ eavAttribute ; } return $ eavAttributes ; }
Return's an array with the available EAV attributes for the passed is user defined flag.
Return ' s an array with the available EAV attributes for the passed is user defined flag .
// initialize the array for the EAV attributes // initialize the params // execute the prepared statement and return the array with the EAV attributes // load the available EAV attributes // return the array with the EAV attributes