PHP Класс Eccube\Repository\CustomerRepository

This class was generated by the Doctrine ORM. Add your own custom repository methods below.
Наследование: extends Doctrine\ORM\EntityRepository, implements Symfony\Component\Security\Core\User\UserProviderInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$app

Открытые методы

Метод Описание
createSalt ( $byte ) : string saltを生成する
encryptPassword ( $app, Customer $Customer ) : mixed 入力されたパスワードをSaltと暗号化する
getActiveCustomerByEmail ( $email )
getActiveCustomerByResetKey ( $reset_key )
getNonActiveCustomerBySecretKey ( $secret_key )
getQueryBuilderBySearchData ( $searchData )
getResetPassword ( )
getUniqueResetKey ( $app ) : string ユニークなパスワードリセットキーを返す
getUniqueSecretKey ( $app ) : string ユニークなシークレットキーを返す
loadUserByUsername ( string $username ) : Symfony\Component\Security\Core\User\UserInterface Loads the user for the given username.
newCustomer ( )
refreshUser ( Symfony\Component\Security\Core\User\UserInterface $user ) : Symfony\Component\Security\Core\User\UserInterface Refreshes the user for the account interface.
setApplication ( $app )
supportsClass ( string $class ) : boolean Whether this provider supports the given user class.
updateBuyData ( $app, Customer $Customer, $orderStatusId ) 会員の初回購入時間、購入時間、購入回数、購入金額を更新する

Описание методов

createSalt() публичный Метод

saltを生成する
public createSalt ( $byte ) : string
$byte
Результат string

encryptPassword() публичный Метод

入力されたパスワードをSaltと暗号化する
public encryptPassword ( $app, Customer $Customer ) : mixed
$app
$Customer Eccube\Entity\Customer
Результат mixed

getActiveCustomerByEmail() публичный Метод

public getActiveCustomerByEmail ( $email )

getActiveCustomerByResetKey() публичный Метод

public getActiveCustomerByResetKey ( $reset_key )

getNonActiveCustomerBySecretKey() публичный Метод

public getNonActiveCustomerBySecretKey ( $secret_key )

getQueryBuilderBySearchData() публичный Метод

public getQueryBuilderBySearchData ( $searchData )

getResetPassword() публичный Метод

public getResetPassword ( )

getUniqueResetKey() публичный Метод

ユニークなパスワードリセットキーを返す
public getUniqueResetKey ( $app ) : string
$app
Результат string

getUniqueSecretKey() публичный Метод

ユニークなシークレットキーを返す
public getUniqueSecretKey ( $app ) : string
$app
Результат string

loadUserByUsername() публичный Метод

This method must throw UsernameNotFoundException if the user is not found.
См. также: UsernameNotFoundException
public loadUserByUsername ( string $username ) : Symfony\Component\Security\Core\User\UserInterface
$username string The username
Результат Symfony\Component\Security\Core\User\UserInterface

newCustomer() публичный Метод

public newCustomer ( )

refreshUser() публичный Метод

It is up to the implementation to decide if the user data should be totally reloaded (e.g. from the database), or if the UserInterface object can just be merged into some internal array of users / identity map.
public refreshUser ( Symfony\Component\Security\Core\User\UserInterface $user ) : Symfony\Component\Security\Core\User\UserInterface
$user Symfony\Component\Security\Core\User\UserInterface
Результат Symfony\Component\Security\Core\User\UserInterface

setApplication() публичный Метод

public setApplication ( $app )

supportsClass() публичный Метод

Whether this provider supports the given user class.
public supportsClass ( string $class ) : boolean
$class string
Результат boolean

updateBuyData() публичный Метод

会員の初回購入時間、購入時間、購入回数、購入金額を更新する
public updateBuyData ( $app, Customer $Customer, $orderStatusId )
$app
$Customer Eccube\Entity\Customer
$orderStatusId

Описание свойств

$app защищенное свойство

protected $app