src/Repositories/EavAttributeOptionValueRepository.php
/**
     * Initializes the repository's prepared statements.
     *
     * @return void
     */
Initializes the repository's prepared statements.
@return void
Initializes the repository ' s prepared statements . @return void
public function init()
    {
        $this->eavAttributeOptionValuesStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::EAV_ATTRIBUTE_OPTION_VALUES));
        $this->eavAttributeOptionValuesByEntityTypeIdAndStoreIdStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::EAV_ATTRIBUTE_OPTION_VALUES_BY_ENTITY_TYPE_ID_AND_STORE_ID));
        $this->eavAttributeOptionValueByOptionIdAndStoreIdStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::EAV_ATTRIBUTE_OPTION_VALUE_BY_OPTION_ID_AND_STORE_ID));
        $this->eavAttributeOptionValueByAttributeCodeAndStoreIdAndValueStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::EAV_ATTRIBUTE_OPTION_VALUE_BY_ATTRIBUTE_CODE_AND_STORE_ID_AND_VALUE));
        $this->eavAttributeOptionValueByEntityTypeIdAndAttributeCodeAndStoreIdAndValueStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::EAV_ATTRIBUTE_OPTION_VALUE_BY_ENTITY_TYPE_ID_AND_ATTRIBUTE_CODE_AND_STORE_ID_AND_VALUE));
    }
public function init ( ) { $ this -> eavAttributeOptionValuesStmt = $ this -> getConnection ( ) -> prepare ( $ this -> loadStatement ( SqlStatementKeys :: EAV_ATTRIBUTE_OPTION_VALUES ) ) ; $ this -> eavAttributeOptionValuesByEntityTypeIdAndStoreIdStmt = $ this -> getConnection ( ) -> prepare ( $ this -> loadStatement ( SqlStatementKeys :: EAV_ATTRIBUTE_OPTION_VALUES_BY_ENTITY_TYPE_ID_AND_STORE_ID ) ) ; $ this -> eavAttributeOptionValueByOptionIdAndStoreIdStmt = $ this -> getConnection ( ) -> prepare ( $ this -> loadStatement ( SqlStatementKeys :: EAV_ATTRIBUTE_OPTION_VALUE_BY_OPTION_ID_AND_STORE_ID ) ) ; $ this -> eavAttributeOptionValueByAttributeCodeAndStoreIdAndValueStmt = $ this -> getConnection ( ) -> prepare ( $ this -> loadStatement ( SqlStatementKeys :: EAV_ATTRIBUTE_OPTION_VALUE_BY_ATTRIBUTE_CODE_AND_STORE_ID_AND_VALUE ) ) ; $ this -> eavAttributeOptionValueByEntityTypeIdAndAttributeCodeAndStoreIdAndValueStmt = $ this -> getConnection ( ) -> prepare ( $ this -> loadStatement ( SqlStatementKeys :: EAV_ATTRIBUTE_OPTION_VALUE_BY_ENTITY_TYPE_ID_AND_ATTRIBUTE_CODE_AND_STORE_ID_AND_VALUE ) ) ; }
Initializes the repository's prepared statements.
Initializes the repository ' s prepared statements .
// initialize the prepared statements