File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 2
2
README
3
3
======
4
4
5
+ What is php-dql-tokenizer?
6
+ ==========================
7
+
8
+ This extension is for improving performance of Doctrine_Query_Tokenizer.
9
+
5
10
INSTALL
6
11
=======
7
12
@@ -17,6 +22,22 @@ Then add the following to your php.ini::
17
22
[dql_tokenizer]
18
23
extension=dql_tokenizer.so
19
24
25
+ How To Use
26
+ ==========
27
+
28
+ This extension provides functions that corresponds to the methods of the Doctrine_Query_Tokenizer class.
29
+
30
+ So you need to define a new tokenizer classes to use this extension.
31
+
32
+ First, you write the following code in your query class::
33
+
34
+ if (function_exists('dql_tokenize_query'))
35
+ {
36
+ $this->_tokenizer = new myQueryTokenizer();
37
+ }
38
+
39
+ Next, you define a new tokenizer class. You can get the example class file from "example/myQueryTokenizer.class.php".
40
+
20
41
Credits
21
42
=======
22
43
You can’t perform that action at this time.
0 commit comments