Пример #1
0
 /**
  * Toggles 'Narrow Field Mode'.
  * In Narrow Field mode the queryRecord method will
  * narrow its selection field to
  *
  * SELECT {table}.*
  *
  * instead of
  *
  * SELECT *
  *
  * This is a better way of querying because it allows
  * more flexibility (for instance joins). However if you need
  * the wide selector for backward compatibility; use this method
  * to turn OFF Narrow Field Mode by passing FALSE.
  *
  * @param boolean $narrowField TRUE = Narrow Field FALSE = Wide Field
  *
  * @return void
  */
 public static function setNarrowFieldMode($narrowField)
 {
     self::$flagNarrowFieldMode = (bool) $narrowField;
 }