Location: PHPKode > projects > KvCMS Content Management System > kvframework/kvframework/dbhandler/structs/kvframework_struct_query.class.php
<?php

abstract class kvframework_struct_query extends struct {

  protected $FIELDS = array(
    "conditions" => "",
    "order" => "",
    "limit" => "",
    "fields" => array(),
    "include" => array()
  );

  protected $VARS = array(
    "action",
    "table"
  );

  public $action;
  public $tables = array();

  function __construct(array $tables, array $new_defaults = array()){
    if(array_key_exists("action", $this->FIELDS)){unset($this->FIELDS["action"]);}
    if(array_key_exists("table", $this->FIELDS)){unset($this->FIELDS["table"]);}
    parent::__construct($new_defaults);
    $this->tables = $tables;
  }
}

?>
Return current item: KvCMS Content Management System