Example #1
0
 /**
  * Gets the value of an argument.
  * 
  * @param string $name The name of the argument.
  * 
  * @return string|resource|null The value of the specified argument.
  *     Returns NULL if such an argument is not set.
  * @see setAttribute()
  */
 public function getArgument($name)
 {
     return parent::getAttribute($name);
 }
Example #2
0
 /**
  * Gets the value of a property.
  * 
  * @param string $name The name of the property.
  * 
  * @return string|resource|null The value of the specified property.
  *     Returns NULL if such a property is not set.
  */
 public function getProperty($name)
 {
     return parent::getAttribute($name);
 }