function VtigerCRMObjectMeta($webserviceObject, $user)
 {
     parent::__construct($webserviceObject, $user);
     $this->columnTableMapping = null;
     $this->fieldColumnMapping = null;
     $this->userAccessibleColumns = null;
     $this->mandatoryFields = null;
     $this->emailFields = null;
     $this->referenceFieldDetails = null;
     $this->ownerFields = null;
     $this->moduleFields = array();
     $this->hasAccess = false;
     $this->hasReadAccess = false;
     $this->hasWriteAccess = false;
     $this->hasDeleteAccess = false;
     $instance = vtws_getModuleInstance($this->webserviceObject);
     $this->idColumn = $instance->tab_name_index[$instance->table_name];
     $this->baseTable = $instance->table_name;
     $this->tabId = null;
 }
 public function getJoinClause($tableName)
 {
     $instance = vtws_getModuleInstance($this->webserviceObject);
     return $instance->getJoinClause($tableName);
 }