(non-PHPdoc)
@see \oat\generis\model\data\RdfInterface::add()
554434
public function add(\core_kernel_classes_Triple $triple) {
        switch ($triple->predicate) {
        	case OntologyRdf::RDF_TYPE :
                $resource = new \core_kernel_classes_Resource($triple->subject);
        	    $class = new \core_kernel_classes_Class($triple->object);
        	    return $this->rdfsInterface->getResourceImplementation()->setType($resource, $class);
        	    break;
        	    
    	    case OntologyRdfs::RDFS_RANGE :
    	        $resource = new \core_kernel_classes_Property($triple->subject);
    	        $class = new \core_kernel_classes_Class($triple->object);
        	    return $this->rdfsInterface->getPropertyImplementation()->setRange($resource, $class);
        	    break;
        	    
        	case GenerisRdf::PROPERTY_MULTIPLE :
        	    $resource = new \core_kernel_classes_Property($triple->subject);
        	    $value = $triple->object == GenerisRdf::GENERIS_TRUE;
        	    return $this->rdfsInterface->getPropertyImplementation()->setMultiple($resource, $value);
        	    break;
        	    
    	    case GenerisRdf::PROPERTY_IS_LG_DEPENDENT :
    	        $resource = new \core_kernel_classes_Property($triple->subject);
        	    $value = $triple->object == GenerisRdf::GENERIS_TRUE;
        	    return $this->rdfsInterface->getPropertyImplementation()->setLgDependent($resource, $value);
        	    break;
    	        
	        case OntologyRdfs::RDFS_DOMAIN :
	        default:
	            $resource = new \core_kernel_classes_Resource($triple->subject);
	            $property = new \core_kernel_classes_Property($triple->predicate);
	            if (empty($triple->lg)) {
	                return $this->rdfsInterface->getResourceImplementation()->setPropertyValue($resource, $property, $triple->object);
	            }  else {
	                return $this->rdfsInterface->getResourceImplementation()->setPropertyValueByLg($resource, $property, $triple->object, $triple->lg);
	            }
        }
    }
703118
public function add($add): self
    {
        if (\is_array($add)) {
            \array_walk($array, [$this, 'addWord']);
        } else {
            $this->addWord($add);
        }

        return $this;
    }
1320909
public function add($key, $value)
    {
        if ($key === null && is_object($value)) {
            $key = spl_object_hash($value);
        }

        if (!array_key_exists($key, $this->data) && null !== $key) {
            $this->data[$key] = $value;
        } elseif (!array_key_exists($key, $this->data) && null == $key) {
            $this->data[] = $value;
        } elseif (is_array($this->data[$key])) {
            $this->data[$key][] = $value;
        } else {
            $this->data[$key] = [$this->data[$key], $value];
        }

        return $this;
    }
1309688
public function add() {
        $task = $this->Tasks->newEntity();
        if ($this->request->is('post')) {
            $task = $this->Tasks->patchEntity($task, $this->request->data);
            if ($this->Tasks->save($task)) {
                $this->Flash->success(__('The task has been saved.'));
                return $this->redirect(['action' => 'index']);
            } else {
                $this->Flash->error(__('The task could not be saved. Please, try again.'));
            }
        }
        $this->set(compact('task'));
        $this->set('_serialize', ['task']);
        $this->filteredSelectOptions();
    }
363551
public function add($option)
    {
        if (is_array($option)) {
            $this->collection[] = new Option($option);
        } elseif (is_object($option) && $option instanceof Option) {
            $this->collection[] = $option;
        }

        return $this;
    }
794717
public function add()
    {
        $user = $this->Users->newEntity();

        if ($this->request->is('post')) {
            $user = $this->Users->patchEntity($user, $this->request->getData());

            if ($this->Users->save($user)) {
                $this->Flash->success(I18N_OPERATION_OK);

                return $this->redirect(['action' => 'index']);
            }

            $this->Flash->error(I18N_OPERATION_NOT_OK);
        }

        $this->set(compact('user'));
    }
178816
public function add($infos)
    {
        array_push($this->infos, $infos);
        
        if (!isset($this->infos['fields'])) {
            $this->infos['fields'] = ["*"];
        }

        if (isset($infos['join'])) {
            array_push($this->joins, $infos['join']);
        }
        
        $this->mergeSqlInformation();
    }
32399
public function add($str)
    {
        $i = count($this->values);
        $this->values[$i] = $str;
        return $i;
    }
758728
public function add($x = 0, $y = 0) {
		$this->width += $x;
		$this->height += $y;
		return $this;
	}
122363
public function add(...$arguments): QueryBuilderInterface
    {
        if ($this->node instanceof ObjectNode) {
            return $this->addToObjectNode(...$arguments);
        }

        return $this->addToArrayNode(...$arguments);
    }
925840
public function add($entity)
    {
        $idAccessorRegistry = $this->unitOfWork->getEntityRegistry()->getIdAccessorRegistry();
        $entityId           = $idAccessorRegistry->getEntityId($entity);

        $mapClass = $this->mapRepository->getEntityClass();

        if (empty($entityId)) {
            $this->entityRepository->add($entity);
            $map         = new $mapClass;
            $varJoinName = $this->relation->varJoinName();
            $this->mapRepository->add($map);
            $this->unitOfWork->getEntityRegistry()->registerAggregateRootCallback(
                $entity,
                $map,
                function ($root, $child) use ($varJoinName, $idAccessorRegistry) {
                    $entityId              = $idAccessorRegistry->getEntityId($root);
                    $child->{$varJoinName} = $entityId;
                    $this->map[]           = $entityId;
                }
            )
            ;

            return;
        }

        if (in_array($entityId, $this->map)) {
            throw new OrmException("Entity with id $entityId already exists");
        }

        $map                 = new $mapClass;
        $varJoinName         = $this->relation->varJoinName();
        $map->{$varJoinName} = $entityId;
        $this->mapRepository->add($map);
        $this->map[] = $entityId;
    }
1085030
public function add()
    {
        $category = $this->PagesCategories->newEntity();

        if ($this->request->is('post')) {
            $category = $this->PagesCategories->patchEntity($category, $this->request->getData());

            if ($this->PagesCategories->save($category)) {
                $this->Flash->success(I18N_OPERATION_OK);

                return $this->redirect(['action' => 'index']);
            }

            $this->Flash->error(I18N_OPERATION_NOT_OK);
        }

        $this->set(compact('category'));
    }
237255
public function addSel()
    {
        $aAddSel = $this->_getActionIds('oxselectlist.oxid');
        $soxId = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('synchoxid');

        // adding
        if (\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('all')) {
            $sSLViewName = $this->_getViewName('oxselectlist');
            $aAddSel = $this->_getAll($this->_addFilter("select $sSLViewName.oxid " . $this->_getQuery()));
        }

        if ($soxId && $soxId != "-1" && is_array($aAddSel)) {
            // We force reading from master to prevent issues with slow replications or open transactions (see ESDEV-3804).
            $database = \OxidEsales\Eshop\Core\DatabaseProvider::getMaster();
            foreach ($aAddSel as $sAdd) {
                $oNew = oxNew(\OxidEsales\Eshop\Core\Model\BaseModel::class);
                $oNew->init("oxobject2selectlist");
                $sObjectIdField = 'oxobject2selectlist__oxobjectid';
                $sSelectetionIdField = 'oxobject2selectlist__oxselnid';
                $sOxSortField = 'oxobject2selectlist__oxsort';

                $oNew->$sObjectIdField = new \OxidEsales\Eshop\Core\Field($soxId);
                $oNew->$sSelectetionIdField = new \OxidEsales\Eshop\Core\Field($sAdd);

                $sSql = "select max(oxsort) + 1 from oxobject2selectlist where oxobjectid =  {$database->quote($soxId)} ";

                $oNew->$sOxSortField = new \OxidEsales\Eshop\Core\Field(( int ) $database->getOne($sSql));
                $oNew->save();
            }

            $this->onArticleSelectionListChange($soxId);
        }
    }
1073321
private function add()
    {
        $columns = [];
        $values = [];
        //
        if ($this->_tracked) {
            $this->created_at = Time::current();
        }
        //
        foreach ($this->_columns as $value) {
            if ($value != $this->_keyName && isset($this->$value) && !empty($this->$value)) {
                $columns[] = $value;
                $values[] = $this->$value;
            }
        }
        //
        return $this->insert($columns, $values);
    }
477601
public function add() {
        $cmsContentMeta = $this->CmsContentMeta->newEntity();
        if ($this->request->is('post')) {
            $cmsContentMeta = $this->CmsContentMeta->patchEntity($cmsContentMeta, $this->request->data);
            if ($this->CmsContentMeta->save($cmsContentMeta)) {
                $this->Flash->success('The cms content meta has been saved.');
                return $this->redirect(['action' => 'index']);
            } else {
                $this->Flash->error('The cms content Meta could not be saved. Please, try again.');
            }
        }
        $cmsContent = $this->CmsContentMeta->CmsContent->find('list', ['limit' => 200]);
        $this->set(compact('cmsContentMeta', 'cmsContent'));
        $this->set('_serialize', ['cmsContentMeta']);
    }
985026
public function add($value)
    {
        if (!$value instanceof self) {
            $value = new self($value, $this->getScale(), false);
        }

        $newValue = bcadd($this->getValue(), $value->getValue(), $this->getScale());

        return $this->assignValue($newValue);
    }
458837
function add(Expr $next) {
		if ($this->isNull()) {
			throw new \UnexpectedValueException("Cannot add anything to NULL");
		}
		if ($this->next) {
			$this->next->add($next);
		} else {
			$this->next = $next;
		}
		return $this;
	}