public function doFromObject($source_object, KalturaDetachedResponseProfile $responseProfile = null) { parent::doFromObject($source_object, $responseProfile); $loginDataIdGreaterOrEqualValue = $source_object->get('_gt_login_data_id'); $loginDataIdLessThanOrNullValue = $source_object->get('_ltornull_login_data_id'); if ($loginDataIdGreaterOrEqualValue === 0) { $this->loginEnabledEqual = true; } else { if ($loginDataIdLessThanOrNullValue === 0) { $this->loginEnabledEqual = false; } } }
public function fromObject($source_object) { parent::fromObject($source_object); $loginDataIdGreaterOrEqualValue = $source_object->get('_gte_login_data_id'); $loginDataIdLessThanOrNullValue = $source_object->get('_ltornull_login_data_id'); if ($loginDataIdGreaterOrEqualValue == 0) { $this->loginEnabledEqual = true; } else { if ($loginDataIdLessThanOrNullValue == 0) { $this->loginEnabledEqual = false; } } }