public function setTable($table)
    {
        $this->table = 'post_'.cleanPostTypeSlug($table);
        self::$_tmptable = $this->table;
        return $this;
    }
public function setTable($table)
    {
        $this->table = 'post_'.cleanPostTypeSlug($table);
        self::$_tmptable = $this->table;
        return $this;
    }
public function setTable ( $ table ) { $ this -> table = 'post_' . cleanPostTypeSlug ( $ table ) ; self :: $ _tmptable = $ this -> table ; return $ this ; }
Set the table associated with the model.

@param  string $table
@return $this
Set the table associated with the model .