[eluser]mddd[/eluser]
When declaring properties in your class you can only use static values. You can't declare a property to have a value that comes from a function.
If you want to do that, you have to write:
Code:
class My_Controller extends Controller
{
public $links;
function __construct()
{
$this->links = $this->general->get_links();
}
}