コード例 #1
0
 public function getPackagePurchaseOrderSecurityID()
 {
     return new HiddenField($this->packagePurchaseOrderSecurityToken->getName(), $this->packagePurchaseOrderSecurityToken->getName(), $this->packagePurchaseOrderSecurityToken->getValue());
 }
コード例 #2
0
ファイル: SecurityTokenTest.php プロジェクト: redema/sapphire
	function testNamedTokensCarryDifferentValues() {
		$t1 = new SecurityToken('one');
		$t2 = new SecurityToken('two');
		
		$this->assertNotEquals($t1->getName(), $t2->getName());
		$this->assertNotEquals($t1->getValue(), $t2->getValue());
	}