Skip to content

Commit

Permalink
Added deprecation flags on QPList and ML_EXP.
Browse files Browse the repository at this point in the history
These items will likely be removed from QueryPath 3.x.
  • Loading branch information
M Butcher committed Jul 29, 2009
1 parent 50de0bf commit 91755a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/QueryPath/Extension/QPList.php
Expand Up @@ -10,6 +10,9 @@
*
* The QPList class is an extension to QueryPath. It provides HTML list generators
* that take lists and convert them into bulleted lists inside of QueryPath.
*
* @deprecated This will be removed from a subsequent version of QueryPath. It will
* be released as a stand-alone extension.
*/
class QPList implements QueryPathExtension {
const UL = 'ul';
Expand Down
1 change: 1 addition & 0 deletions src/QueryPath/QueryPath.php
Expand Up @@ -69,6 +69,7 @@

/**
* Regular expression for checking whether a string looks like XML.
* @deprecated This is no longer used in QueryPath.
*/
define('ML_EXP','/^[^<]*(<(.|\s)+>)[^>]*$/');

Expand Down

0 comments on commit 91755a1

Please sign in to comment.