/** * Short description of method __construct * * @access public * @author Joel Bout, <*****@*****.**> * @param Resource classActivity * @param string identifier * @return mixed */ public function __construct($contextIdentifier, $contextLabel, $identifier) { parent::__construct($contextLabel . "-" . $identifier); $this->identifier = $identifier; $this->contextIdentifier = $contextIdentifier; $this->contextLabel = $contextLabel; }
/** * Short description of method __construct * * @access public * @author Joel Bout, <*****@*****.**> * @param string label * @param string value * @return mixed */ public function __construct($label, $value) { parent::__construct($label); $this->value = $value; }
/** * Short description of method __construct * * @access public * @author Joel Bout, <*****@*****.**> * @param Property property * @return mixed */ public function __construct(core_kernel_classes_Property $property) { $this->property = $property; parent::__construct($property->getLabel()); }