Ejemplo n.º 1
0
 public function getIsUpdatable()
 {
     if ($this->isUpdatable === null) {
         $this->isUpdatable = false;
         $table = $this->loadTable();
         if (in_array($this->schema, $this->nonEditableSchemas) || ($table == null || !$table->getIsUpdatable())) {
             $this->isUpdatable = false;
             return $this->isUpdatable;
         }
         $query = new SqlQuery($this->lastResultSetQuery);
         $this->isUpdatable = $query->isUpdatable();
     }
     return $this->isUpdatable;
 }