1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- function CViewerHelper()
- {
- this.m_oCV = null;
- }
- CViewerHelper.prototype.getCVObjectRef = function()
- {
- return this.getCV().getObjectId();
- };
- CViewerHelper.prototype.getCV = function()
- {
- if (this.m_oCV)
- {
- return this.m_oCV;
- }
- return window;
- };
- CViewerHelper.prototype.getCVId = function()
- {
- var sId = "";
- if (this.m_oCV) {
- sId = this.m_oCV.getId();
- }
- return sId;
- };
- CViewerHelper.prototype.setCV = function(oCV)
- {
- this.m_oCV = oCV;
- };
|