[eluser]steelaz[/eluser]
You can't do that when declaring variables, add prefix in your constructor instead:
Code:
<?php
class Table_model extends Model
{
/* Set up Table Aliases
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- */
var $_prefix = 'beta_';
var $_user = 'user';
var $_profile = 'user_profile';
function __construct()
{
parent::__construct();
$this->_user = $this->_prefix . $this->_user;
$this->_profile = $this->_prefix . $this->_profile ;
}