PHP 클래스 Scalr\Upgrade\Updates\Update20150116130622

상속: extends Scalr\Upgrade\AbstractUpdate, implements Scalr\Upgrade\SequenceInterface
파일 보기 프로젝트 열기: scalr/scalr

보호된 프로퍼티들

프로퍼티 타입 설명
$dbservice
$depends
$description
$ignoreChanges
$uuid

공개 메소드들

메소드 설명
__construct ( SplFileInfo $fileInfo, ArrayObject $collection ) UpdateCrypto
getNumberStages ( )
recrypt ( string $table, string[] $fields, string $where = '', string[] $pks = ['id'], Scalr\Util\CryptoTool $source = null ) : integer Reencrypts specified fields
rollback ( $code, $message )

보호된 메소드들

메소드 설명
isApplied1 ( $stage )
run1 ( $stage )
validateBefore1 ( $stage )

메소드 상세

__construct() 공개 메소드

public __construct ( SplFileInfo $fileInfo, ArrayObject $collection )
$fileInfo SplFileInfo
$collection ArrayObject

getNumberStages() 공개 메소드

public getNumberStages ( )

isApplied1() 보호된 메소드

protected isApplied1 ( $stage )

recrypt() 공개 메소드

Reencrypts specified fields
public recrypt ( string $table, string[] $fields, string $where = '', string[] $pks = ['id'], Scalr\Util\CryptoTool $source = null ) : integer
$table string Table name
$fields string[] Fields name
$where string WHERE statement for SELECT query
$pks string[] Primary keys names
$source Scalr\Util\CryptoTool
리턴 integer Returns number of affected rows

rollback() 공개 메소드

public rollback ( $code, $message )

run1() 보호된 메소드

protected run1 ( $stage )

validateBefore1() 보호된 메소드

protected validateBefore1 ( $stage )

프로퍼티 상세

$dbservice 보호되어 있는 프로퍼티

protected $dbservice

$depends 보호되어 있는 프로퍼티

protected $depends

$description 보호되어 있는 프로퍼티

protected $description

$ignoreChanges 보호되어 있는 프로퍼티

protected $ignoreChanges

$uuid 보호되어 있는 프로퍼티

protected $uuid