getDataRefreshed() публичный Метод

Returns if selection requeried for more columns.
public getDataRefreshed ( ) : boolean
Результат boolean
Пример #1
0
	protected function accessColumn($key, $selectColumn = TRUE)
	{
		$this->table->accessColumn($key, $selectColumn);
		if ($this->table->getDataRefreshed() && !$this->dataRefreshed) {
			$this->data = $this->table[$this->getSignature()]->data;
			$this->dataRefreshed = TRUE;
		}
	}
Пример #2
0
 /**
  * @internal
  */
 public function accessColumn($key, $selectColumn = TRUE)
 {
     $this->table->accessColumn($key, $selectColumn);
     if ($this->table->getDataRefreshed() && !$this->dataRefreshed) {
         $this->data = $this->table[$this->getSignature()]->data;
         $this->dataRefreshed = TRUE;
     }
     return array_key_exists($key, $this->data);
 }
Пример #3
0
 protected function accessColumn($key, $selectColumn = TRUE)
 {
     if (isset($this->modified[$key])) {
         return;
     }
     $this->table->accessColumn($key, $selectColumn);
     if ($this->table->getDataRefreshed() && !$this->dataRefreshed) {
         $this->data = $this->table[$this->getSignature()]->data;
         $this->dataRefreshed = TRUE;
     }
 }
Пример #4
0
 /**
  * @internal
  */
 public function accessColumn($key, $selectColumn = TRUE)
 {
     $this->table->accessColumn($key, $selectColumn);
     if ($this->table->getDataRefreshed() && !$this->dataRefreshed) {
         if (!isset($this->table[$this->getSignature()])) {
             throw new Nette\InvalidStateException('Database refetch failed; row does not exist!');
         }
         $this->data = $this->table[$this->getSignature()]->data;
         $this->dataRefreshed = TRUE;
     }
     return array_key_exists($key, $this->data);
 }