So I have this class:

```
class A{
      public function do_a(){ return 'a_done';};

      public function do_b(){ return 'b_done';};
}

```

So I require the php file and create an instance of the class:

```
require_once("A_class.php");
$System = new A();
require_once("user_calls.php"); //here I import the user file with the function calls.

```

user\_calls.php contents:

```
echo 'this was the result of '.$System->do_a();
echo 'this was the result of '.$System->do_b();

```

So, that does work, but I don't want the user to have to use `$System->do_a();`, but only `do_a();`. 

Any solutions? 

EDIT: I also want to limit the functions the user could call in the user\_calls.php file, to basic native php functions and those in class A.