public function getTable()
    {
        if ($this->_table === null) {
            $table = namespaceSplit(get_class($this));
            $table = substr(end($table), 0, -5);
            if (!$table) {
                $table = $this->getAlias();
            }
            $this->_table = Inflector::underscore($table);
        }

        return $this->_table;
    }
public function getTable()
    {
        if ($this->_table === null) {
            $table = namespaceSplit(get_class($this));
            $table = substr(end($table), 0, -5);
            if (!$table) {
                $table = $this->getAlias();
            }
            $this->_table = Inflector::underscore($table);
        }

        return $this->_table;
    }
public function getTable ( ) { if ( $ this -> _table === null ) { $ table = namespaceSplit ( get_class ( $ this ) ) ; $ table = substr ( end ( $ table ) , 0 , - 5 ) ; if ( ! $ table ) { $ table = $ this -> getAlias ( ) ; } $ this -> _table = Inflector :: underscore ( $ table ) ; } return $ this -> _table ; }
Returns the database table name.

@return string
Returns the database table name .