fromId() public static method

Initialize from id
public static fromId ( integer $propertyValueId ) : Model | boolean
$propertyValueId integer Property value id
return Model | boolean
Beispiel #1
0
 /**
  * Test
  *
  * @return void
  */
 public function testFromWithWrongId()
 {
     $this->assertFalse(Model::fromId('undefined'));
 }