src/Context/SQLHandler.php
public function setEntity($entity)
    {
        $this->debugLog(sprintf('ENTITY: %s', $entity));

        $expectedEntity = $this->makeSQLSafe($this->getParams()['DBPREFIX'] . $entity);

        $this->debugLog(sprintf('SET ENTITY: %s', $expectedEntity));

        // Concatinate the entity with the sqldbprefix value only if not already done.
        if ($expectedEntity !== $this->entity) {
            $this->entity = $expectedEntity;
        }

        return $this;
    }
public function setEntity($entity)
    {
        $this->debugLog(sprintf('ENTITY: %s', $entity));

        $expectedEntity = $this->makeSQLSafe($this->getParams()['DBPREFIX'] . $entity);

        $this->debugLog(sprintf('SET ENTITY: %s', $expectedEntity));

        // Concatinate the entity with the sqldbprefix value only if not already done.
        if ($expectedEntity !== $this->entity) {
            $this->entity = $expectedEntity;
        }

        return $this;
    }
public function setEntity ( $ entity ) { $ this -> debugLog ( sprintf ( 'ENTITY: %s' , $ entity ) ) ; $ expectedEntity = $ this -> makeSQLSafe ( $ this -> getParams ( ) [ 'DBPREFIX' ] . $ entity ) ; $ this -> debugLog ( sprintf ( 'SET ENTITY: %s' , $ expectedEntity ) ) ; // Concatinate the entity with the sqldbprefix value only if not already done. if ( $ expectedEntity !== $ this -> entity ) { $ this -> entity = $ expectedEntity ; } return $ this ; }
Set the entity for further processing.
Set the entity for further processing .