Example #1
0
	/**
	 * Returns this attributes value
	 *
	 * @return integer
	 */
	public function getValue()
	{
		return '/' . (string)parent::getValue()->regex . '/';
	}
Example #2
0
	/**
	 * Returns this attributes value
	 *
	 * @return integer
	 */
	public function getValue(){
		return (int)parent::getValue();
	}
Example #3
0
 public function testDefault()
 {
     $property = new Generic('TestProperty', 'TestValue');
     $this->assertEquals('TestValue', $property->getValue());
 }
Example #4
0
	/**
	 * Returns this attributes value
	 *
	 * @return boolean
	 */
	public function getValue(){
		return (boolean)parent::getValue();
	}
Example #5
0
 /**
  * Returns this attributes value
  *
  * @return string
  */
 public function getValue(){
     return (string)parent::getValue();
 }
Example #6
0
 /**
  * Returns this attributes value
  *
  * @return string
  */
 public function getValue()
 {
     return null === parent::getValue() ? null : (string) parent::getValue();
 }