public function getTableName($type = 'plural')
    {
        $property = $type . 'TableName';
        if ($this->$property == null) {
            $this->model = $this->getModel();
            $this->$property = $this->model->getTableName($type);
        }
        return $this->$property;
    }
public function getTableName($type = 'plural')
    {
        $property = $type . 'TableName';
        if ($this->$property == null) {
            $this->model = $this->getModel();
            $this->$property = $this->model->getTableName($type);
        }
        return $this->$property;
    }
public function getTableName ( $ type = 'plural' ) { $ property = $ type . 'TableName' ; if ( $ this -> $ property == null ) { $ this -> model = $ this -> getModel ( ) ; $ this -> $ property = $ this -> model -> getTableName ( $ type ) ; } return $ this -> $ property ; }
get the table name by passing this along to the underlying model
@param string $type
@return
get the table name by passing this along to the underlying model