I believe that the correct way would probably be to add a Doctrine_Template for the models in question, however you will need to define it as the behavior for each model in schema.yml
class MyMethodsTemplate extends Doctrine_Template
{
public function customMethod1(){
$model = $this->getInvoker();
}
public function customMethod2(){
$model = $this->getInvoker();
}
}
And then in your schema.yml:
ModelName:
actAs:
MyMethodTemplate: ~
After the rebuild, you can call:
$model = new ModelName();
$model->customMethod1();
$model->customMethod2();
Of course, Doctrine templates and listeners are much more powerful than that. You should take a look at the documentation for a decent review.