protected function getTable($data = null)
    {
        if (is_null($data)) {
            $this->_table = static::$table;
            $this->_prifixTable = (Config::get('database.prefixing') ? Config::get('database.prefixe') : '').static::$table;
            //
            if (!$this->checkTable()) {
                throw new TableNotFoundException(static::$table);
            }
            //
            return $this->_prifixTable;
        } else {
            $this->_prifixTable = $data['prifixTable'];
            $this->_table = static::$table;
        }
    }
protected function getTable($data = null)
    {
        if (is_null($data)) {
            $this->_table = static::$table;
            $this->_prifixTable = (Config::get('database.prefixing') ? Config::get('database.prefixe') : '').static::$table;
            //
            if (!$this->checkTable()) {
                throw new TableNotFoundException(static::$table);
            }
            //
            return $this->_prifixTable;
        } else {
            $this->_prifixTable = $data['prifixTable'];
            $this->_table = static::$table;
        }
    }
protected function getTable ( $ data = null ) { if ( is_null ( $ data ) ) { $ this -> _table = static :: $ table ; $ this -> _prifixTable = ( Config :: get ( 'database.prefixing' ) ? Config :: get ( 'database.prefixe' ) : '' ) . static :: $ table ; // if ( ! $ this -> checkTable ( ) ) { throw new TableNotFoundException ( static :: $ table ) ; } // return $ this -> _prifixTable ; } else { $ this -> _prifixTable = $ data [ 'prifixTable' ] ; $ this -> _table = static :: $ table ; } }
get the model table name.

@param $table

@return null
get the model table name .