public function findAll()
    {

        // initialize the array for the EAV entity types
        $eavEntityTypes = array();

        // try to load the EAV entity types
        $this->eavEntityTypeStmt->execute();

        // load the available EAV entity types
        $availableEntityTypes = $this->eavEntityTypeStmt->fetchAll(\PDO::FETCH_ASSOC);

        // prepare the EAV entity types => we need the entity type code as key
        foreach ($availableEntityTypes as $eavEntityType) {
            $eavEntityTypes[$eavEntityType[MemberNames::ENTITY_TYPE_CODE]] = $eavEntityType;
        }

        // return the array with the EAV entity types
        return $eavEntityTypes;
    }
public function findAll()
    {

        // initialize the array for the EAV entity types
        $eavEntityTypes = array();

        // try to load the EAV entity types
        $this->eavEntityTypeStmt->execute();

        // load the available EAV entity types
        $availableEntityTypes = $this->eavEntityTypeStmt->fetchAll(\PDO::FETCH_ASSOC);

        // prepare the EAV entity types => we need the entity type code as key
        foreach ($availableEntityTypes as $eavEntityType) {
            $eavEntityTypes[$eavEntityType[MemberNames::ENTITY_TYPE_CODE]] = $eavEntityType;
        }

        // return the array with the EAV entity types
        return $eavEntityTypes;
    }
public function findAll ( ) { // initialize the array for the EAV entity types $ eavEntityTypes = array ( ) ; // try to load the EAV entity types $ this -> eavEntityTypeStmt -> execute ( ) ; // load the available EAV entity types $ availableEntityTypes = $ this -> eavEntityTypeStmt -> fetchAll ( \ PDO :: FETCH_ASSOC ) ; // prepare the EAV entity types => we need the entity type code as key foreach ( $ availableEntityTypes as $ eavEntityType ) { $ eavEntityTypes [ $ eavEntityType [ MemberNames :: ENTITY_TYPE_CODE ] ] = $ eavEntityType ; } // return the array with the EAV entity types return $ eavEntityTypes ; }
Return's an array with all available EAV entity types with the entity type code as key.

@return array The available link types
Return s an array with all available EAV entity types with the entity type code as key .