setNarrowFieldMode() public static method

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.
public static setNarrowFieldMode ( boolean $narrowField ) : void
$narrowField boolean TRUE = Narrow Field FALSE = Wide Field
return void
Beispiel #1
0
 /**
  * Toggles Narrow Field Mode.
  * See documentation in QueryWriter.
  *
  * @param boolean $mode TRUE = Narrow Field Mode
  *
  * @return void
  */
 public static function setNarrowFieldMode($mode)
 {
     AQueryWriter::setNarrowFieldMode($mode);
 }