DQL (Doctrine Query Language) - Functions - Contains.php 205 Bytes
Newer Older
1

hansbrix's avatar
hansbrix committed
2 3 4 5 6 7 8
<code type="php">
$q = new Doctrine_Query();

$q->from('User')->where('User.Phonenumber.phonenumber.contains(?,?,?)');

$users = $q->execute(array('123 123 123', '0400 999 999', '+358 100 100'));
</code>