TODO

@return mixed
553679
public function getLastError()
    {
        if($this->lastError) {
            return $this->lastError->getMessage();
        }
        $error = $this->pdo->errorInfo();
        if ($error[1]) {
            print_debug($error);
        }
        return $error[2];
    }
470561
public function get()
	{
		$key = $this->getKey();
		$queued = $this->jar->getQueuedCookies();

		if (isset($queued[$key]))
		{
			return $queued[$key];
		}

		if ($this->strategy === 'request')
		{
			return $this->request->cookie($key);
		}
		else
		{
			return $this->jar->get($key);
		}
	}
244704
public function get()
    {
        if (!isset($this->data) && isset($this->session[$this->key])) {
            $this->data = $this->session[$this->key];
            unset($this->session[$this->key]);
        }
        
        return $this->data ? (object)$this->data : null;
    }
1122878
public function get_value() {
		if ( $this->group && null === $this->value ) {
			return $this->value = $this->get_value_in_group();
		}

		return $this->value;
	}
1222355
public function getData()
    {
        if ($this->_data === null) {
            if ($this->_cache !== null) {
                $cache = $this->_cache->get($this->cacheKey);

                if ($cache === false) {
                    $this->_data = $this->_getDataFromDb();
                    $this->_setCache();
                } else {
                    $this->_data = $cache;
                }
            } else {
                $this->_data = $this->_getDataFromDb();
            }
        }
        return $this->_data;
    }
1218213
public function getData()
	{
		return !empty($this->data) ? $this->data : $this->getResponse([
			'sort' => $this->sort_column,
			'order' => $this->order_column,
			'limit' => $this->limit,
			'offset' => $this->offset,
			'filter' => $this->filter,
			'one' => $this->filter_one,
		]);
	}
576924
public function get()
	{
		$view = $this->getView();

		$view->categoryData = $this->toArray( $view->item );
		$view->categoryListTypes = $this->getListTypes();
		$view->categoryBody = '';

		foreach( $this->getSubClients() as $client ) {
			$view->categoryBody .= $client->get();
		}

		return $this->render( $view );
	}
1279898
public function get()
    {
        $this->provider->enumKey($this->root, $this->path, $keys = new Variant());

        $formatted = [];

        $i = 0;

        foreach($keys as $key) {
            $formatted[$i] = $key;

            $i++;
        }

        return $formatted;
    }
265974
public function get()
	{
		$view = $this->getView();

		try
		{
			$total = 0;
			$params = $this->storeSearchParams( $view->param( 'oi', [] ), 'orderinvoice' );
			$orderItems = $this->getOrderItems( $view->item, $params, $total );

			$view->invoiceData = $this->toArray( $orderItems );
			$view->invoiceTotal = $total;
			$view->invoiceBody = '';

			foreach( $this->getSubClients() as $client ) {
				$view->invoiceBody .= $client->search();
			}
		}
		catch( \Aimeos\MShop\Exception $e )
		{
			$error = array( 'order-item-invoice' => $this->getContext()->getI18n()->dt( 'mshop', $e->getMessage() ) );
			$view->errors = $view->get( 'errors', [] ) + $error;
			$this->logException( $e );
		}
		catch( \Exception $e )
		{
			$error = array( 'order-item-invoice' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
			$view->errors = $view->get( 'errors', [] ) + $error;
			$this->logException( $e );
		}

		return $this->render( $view );
	}
346004
public function get()
    {
        if ($this->argument instanceof Argument && ! $this->argument->has('color')) {
            return $this->text;
        }

        $text = '';
        if ($this->foregroundColor !== '') {

            //~ Highlight
            $highlight = $this->hasHighlightedForeground ? static::HIGH_FOREGROUND : static::REGULAR_FOREGROUND;

            //~ Decoration
            $decoration = $this->isBold ? static::DECORATION_BOLD : '';
            $decoration .= $this->isUnderline ? static::DECORATION_UNDERLINE : '';
            $decoration = ! empty($decoration) ? $decoration : static::DECORATION_NONE;

            //~ Apply style
            $text .= self::BEGIN . $decoration . $highlight . $this->foregroundColor . self::END;
        }

        if ($this->backgroundColor !== '') {
            $highlight = $this->hasHighlightedBackground ? static::HIGH_BACKGROUND : static::REGULAR_BACKGROUND;
            $text .= self::BEGIN . $highlight . $this->backgroundColor . self::END;
        }

        $text .= $this->text . self::DESACTIVATE;

        return $text;
    }
1283637
public function getValue()
    {
        $values = [];
        foreach($this->values as $key => $value) {
            $values[$key] = $value->getValue();
        }
        return $values;
    }
1279043
public function get()
    {
        $list      = [];
        $i         = 0;
        $realLimit = $this->offset && $this->limit
            ? $this->offset + $this->limit
            : $this->limit;

        foreach ($this->getData() as &$rs) {
            if ($this->offset && $this->offset > $i) {
                $i++;
                continue;
            }

            if ($realLimit && $realLimit == $i) {
                break;
            }

            if (!$this->where) {
                $list[] = $this->convertItem($rs);
                $i++;
                continue;
            }

            if ($this->matchWhere($rs)) {
                $list[] = $this->convertItem($rs);
                $i++;
            }
        }

        return $list;
    }
832105
public function required() {
		if(isset($this->params['required']))
			return !!$this->params['required'];
		if(isset($this->params['validation']['required']))
			return !!$this->params['validation']['required'];
	}
827343
public function get_value() {
		$key     = $this->options_key ?: $this->id;
		$options = $this->options->get( $key );

		if ( $key === $this->id ) {
			return $options;
		} elseif ( isset( $options[ $this->id ] ) ) {
			return $options[ $this->id ];
		} else {
			return null;
		}
	}
122367
public function query() {
        $builder = $this->getServiceLocator()->get($this->builderClassName);
        $builder->setOptions($this->options)->setServiceLocator($this->serviceLocator);
        return $builder;
    }
641810
public function get()
    {
        if (!$this->isTracking()) {
            return false;
        }

        $statusPacket = json_decode($this->resqueInstance->redis->get((string)$this), true);
        if (!$statusPacket) {
            return false;
        }

        return $statusPacket['status'];
    }
813382
public function getTotal()
    {
        $query = clone $this->getQuery();
        $query->order = null;
        $query->limit = null;

        return $query->fetchValue('COUNT(*)');
    }