Beispiel #1
0
 /**
  * Returns this attributes value
  *
  * @return float
  */
 public function getValue()
 {
     return (double) parent::getValue();
 }
Beispiel #2
0
 /**
  * Returns this attributes value
  *
  * @return integer
  */
 public function getValue()
 {
     return (string) parent::getValue();
 }
Beispiel #3
0
 /**
  * Returns this attributes value
  *
  * @return integer
  */
 public function getValue()
 {
     return (int) parent::getValue();
 }
Beispiel #4
0
 public function testValue()
 {
     $property = new Morph_Property_Generic('TestProperty', 'TestValue');
     $property->setValue('AValue');
     $this->assertEquals('AValue', $property->getValue());
 }