private function getM2MDbTable($meta)
    {
        if (null !== $this->relation->through) {
            return $this->relation->through->getMeta()->getDbTable();
        } elseif ($this->dbTable) {
            return $this->dbTable;
        } else {
            // oracle allows identifier of 30 chars max
            return StringHelper::truncate(
                sprintf('%s_%s', $meta->getDbTable(), $this->getName()),
                30, null, null,
                $meta->getRegistry()->getOrm()->getCharset()
            );
        }
    }
private function getM2MDbTable($meta)
    {
        if (null !== $this->relation->through) {
            return $this->relation->through->getMeta()->getDbTable();
        } elseif ($this->dbTable) {
            return $this->dbTable;
        } else {
            // oracle allows identifier of 30 chars max
            return StringHelper::truncate(
                sprintf('%s_%s', $meta->getDbTable(), $this->getName()),
                30, null, null,
                $meta->getRegistry()->getOrm()->getCharset()
            );
        }
    }
private function getM2MDbTable ( $ meta ) { if ( null !== $ this -> relation -> through ) { return $ this -> relation -> through -> getMeta ( ) -> getDbTable ( ) ; } elseif ( $ this -> dbTable ) { return $ this -> dbTable ; } else { // oracle allows identifier of 30 chars max return StringHelper :: truncate ( sprintf ( '%s_%s' , $ meta -> getDbTable ( ) , $ this -> getName ( ) ) , 30 , null , null , $ meta -> getRegistry ( ) -> getOrm ( ) -> getCharset ( ) ) ; } }
provides the m2m table name for this relation.

@param Meta $meta

@return string

@since  1.1.0

@author Eddilbert Macharia (http://eddmash.com) <edd.cowan@gmail.com>
provides the m2m table name for this relation .