<commit_before><?php
/**
 * Limb Web Application Framework
 *
 * @link http://limb-project.com
 *
 * @copyright  Copyright &copy; 2004-2007 BIT
 * @license    LGPL http://www.gnu.org/copyleft/lesser.html
 * @version    $Id: lmbSQLCriteria.class.php 5384 2007-03-28 12:55:35Z pachanga $
 * @package    dbal
 */
lmb_require(dirname(__FILE__) . '/lmbSQLRawCriteria.class.php');

class lmbSQLCriteria
{
  static function objectify($args)
  {
    if(is_null($args))
      return new lmbSQLRawCriteria("1 = 1");

    if(is_array($args))
    {<commit_msg>[svn r5790] -- lmbSQLCriteria extends lmbSQLRawCriteria and passes "1=1" to parent constructor, so it servers as a generic  container for other criteria objects<commit_after><?php
/**
 * Limb Web Application Framework
 *
 * @link http://limb-project.com
 *
 * @copyright  Copyright &copy; 2004-2007 BIT
 * @license    LGPL http://www.gnu.org/copyleft/lesser.html
 * @version    $Id: lmbSQLCriteria.class.php 5790 2007-05-03 07:59:23Z pachanga $
 * @package    dbal
 */
lmb_require(dirname(__FILE__) . '/lmbSQLRawCriteria.class.php');

class lmbSQLCriteria extends lmbSQLRawCriteria
{
  function __construct()
  {
    parent :: __construct("1 = 1");
  }

  static function objectify($args)
  {
    if(is_null($args))
      return new lmbSQLRawCriteria("1 = 1");

    if(is_array($args))
    {
{'fraction_non_alphanumeric': 0.13592233009708737, 'fraction_numerical': 0.04779686333084392, 'mean_word_length': 3.75177304964539, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '667581', 'n_tokens_mistral': 504, 'n_tokens_neox': 452, 'n_words': 102}