/** * Constructor. */ public function __construct(array $values = array(), $entityType = 'WorkflowScheduledTransition') { // Please be aware that $entity_type and $entityType are different things! parent::__construct($values, $entityType); $this->is_scheduled = TRUE; $this->is_executed = FALSE; }
/** * Constructor * * @todo: use parent::__construct ? */ public function __construct($entity_type = '', $entity = NULL, $field_name = '', $old_sid = 0, $new_sid = 0, $uid = 0, $stamp = 0, $comment = '') { parent::__construct($entity_type, $entity, $field_name, $old_sid, $new_sid, $uid, $stamp, $comment); }