Documentation

Deprecated

Table of Contents

kbpdb/src/DatabaseSync.php
kbpdb/src/Pdb.php
kbpdb/src/PdbConfig.php
kbpdb/src/PdbQuery.php
kbphp/src/Arrays.php
kbphp/src/Cli.php
kbphp/src/CsvExport.php
kbphp/src/LoggerTrait.php
kbphp/src/Reflect.php
kbphp/src/RulesValidator.php
kbphp/src/Security.php
kbphp/src/Time.php
kbphp/src/UpdateVirtualTrait.php
kbphp/src/Wrap.php
kbrdb/src/JsonDeserializable.php
kbrdb/src/RdbConfig.php
kbrdb/src/RdbLock.php
sprout3/src/bootstrap/phpunit.php
sprout3/src/bootstrap.php
sprout3/src/sprout/Controllers/Admin/ManagedAdminController.php
sprout3/src/sprout/Controllers/MultiStepFormController.php
sprout3/src/sprout/core/Event.php
sprout3/src/sprout/core/Kohana.php
sprout3/src/sprout/Events/PostControllerConstructorEvent.php
sprout3/src/sprout/Exceptions/ConstraintQueryException.php
sprout3/src/sprout/Exceptions/HttpExceptionInterface.php
sprout3/src/sprout/Exceptions/QueryException.php
sprout3/src/sprout/Exceptions/RowMissingException.php
sprout3/src/sprout/Exceptions/TransactionRecursionException.php
sprout3/src/sprout/Exceptions/ValidationException.php
sprout3/src/sprout/Helpers/Admin.php
sprout3/src/sprout/Helpers/AdminAuth.php
sprout3/src/sprout/Helpers/Encrypt.php
sprout3/src/sprout/Helpers/Fb.php
sprout3/src/sprout/Helpers/Needs.php
sprout3/src/sprout/Helpers/PhpView.php
sprout3/src/sprout/Helpers/Register.php
sprout3/src/sprout/Helpers/SocialMeta.php
sprout3/src/sprout/Helpers/Sprout.php
sprout3/src/sprout/Helpers/SproutExtension.php
sprout3/src/sprout/Helpers/TwigView.php
sprout3/src/sprout/Helpers/Upload.php
sprout3/src/sprout/Helpers/View.php
sprout3/src/sprout/Helpers/Widgets.php
sprout3/src/sprout/Helpers/WorkerBase.php

DatabaseSync.php

Line Element Reason
14 DatabaseSync

use Compat\DatabaseSync

Pdb.php

Line Element Reason
552 Pdb::q()

because just don't be lazy.

1450 Pdb::listTables()

use getTableNames()

PdbConfig.php

Line Element Reason
37 PdbConfig::HACK_NO_ENGINE_SUBSTITUTION

use session: ['sql_mode' => 'NO_ENGINE_SUBSTITUTION']

40 PdbConfig::HACK_TIME_ZONE

use session: ['time_zone' => 'Country/Region']

PdbQuery.php

Line Element Reason
609 PdbQuery::order()

use orderBy

621 PdbQuery::group()

use groupBy

Arrays.php

Line Element Reason
644 Arrays::mapKeys()

use mapWithKeys() - what a mess.

Cli.php

Line Element Reason
160 Cli::hasTTY()

use isInteractive() or hasColors() instead

CsvExport.php

Line Element Reason
270 CsvExport::clean()

CsvExporter now uses fputcsv() internally.

LoggerTrait.php

Line Element Reason
85 LoggerTrait::attach()

Use addLogger() instead

Reflect.php

Line Element Reason
111 Reflect::isStaticCallable()

is_callable() handles this just fine.

484 Reflect::getMethodTags()

use getDocTags()

RulesValidator.php

Line Element Reason
14 RulesValidator

Use either RulesStaticValidator or RulesClassValidator

Security.php

Line Element Reason
98 Security::compareStrings()

Use hash_equals() instead.

114 Security::doPasswordCheck()

Use password_hash() instead.

155 Security::hashPassword()

Use password_hash() instead.

Time.php

Line Element Reason
445 Time::toDateTime()

use DateTime::createFromInterface() instead

465 Time::toDateTimeImmutable()

use DateTimeImmutable::createFromInterface() instead

UpdateVirtualTrait.php

Line Element Reason
16 UpdateVirtualTrait

use Cast or property hooks in php 8.4

Wrap.php

Line Element Reason
43 Wrap

don't use this.

JsonDeserializable.php

Line Element Reason
11 JsonDeserializable

Use \karmabunny\interfaces\JsonDeserializable instead

RdbConfig.php

Line Element Reason
68 RdbConfig::TTL_COMPAT

RdbLock.php

Line Element Reason
25 RdbLock

use mutexes

phpunit.php

Line Element Reason
49 PHPUnit_Framework_TestCase

For crying out loud stop using this!

bootstrap.php

Line Element Reason
57 SITES_ENVIRONMENT

use ENVIRONMENT

ManagedAdminController.php

Line Element Reason
322 ManagedAdminController::initTableName()

use getTableName()

MultiStepFormController.php

Line Element Reason
151 MultiStepFormController::form()

Use getForm() instead.

Event.php

Line Element Reason
40 Event
90 Event::add()
134 Event::addBefore()
148 Event::addAfter()
163 Event::replace()
175 Event::get()
188 Event::clear()
201 Event::run()
234 Event::hasRun()
59 Event::$data

Kohana.php

Line Element Reason
569 Kohana::log()

PostControllerConstructorEvent.php

Line Element Reason
21 PostControllerConstructorEvent

use BaseController::BeforeActionEvent

ConstraintQueryException.php

Line Element Reason
15 ConstraintQueryException

Use karmabunny\pdb\Exceptions\ConstraintQueryException.

HttpExceptionInterface.php

Line Element Reason
20 HttpExceptionInterface

Use karmabunny\interfaces\HttpExceptionInterface.

QueryException.php

Line Element Reason
15 QueryException

Use karmabunny\pdb\Exceptions\QueryException.

RowMissingException.php

Line Element Reason
15 RowMissingException

Use karmabunny\pdb\Exceptions\RowMissingException.

TransactionRecursionException.php

Line Element Reason
15 TransactionRecursionException

Use karmabunny\pdb\Exceptions\TransactionRecursionException.

ValidationException.php

Line Element Reason
21 ValidationException

Use karmabunny\kb\ValidationException.

Admin.php

Line Element Reason
282 Admin::pageDropdown()

use Fb::pageDropdown instead

AdminAuth.php

Line Element Reason
83 AdminAuth::processLogin()

use CoreAdminAuth

90 AdminAuth::checkPassword()

use CoreAdminAuth

97 AdminAuth::processOpenid()

use CoreAdminAuth

104 AdminAuth::processLocal()

use CoreAdminAuth

111 AdminAuth::injectLocalSuperConf()

use CoreAdminAuth

118 AdminAuth::processRemote()

use CoreAdminAuth

146 AdminAuth::checkRateLimit()

use CoreAdminAuth

153 AdminAuth::saveLoginAttempt()

use CoreAdminAuth

211 AdminAuth::inCategory()

use CoreAdminAuth

218 AdminAuth::getOperatorCategories()

use CoreAdminAuth

225 AdminAuth::getAllCategories()

use CoreAdminAuth

246 AdminAuth::getPrimaryCategoryId()

use CoreAdminAuth

Encrypt.php

Line Element Reason
24 Encrypt

Use Kb\Encrypt or Sprout::getEncrypt instead.

Fb.php

Line Element Reason
121 Fb::setDropdownTop()

Set the special attribute "-dropdown-top" when calling the dropdowns

1932 Fb::title()

This method is likely to be removed at any given moment. Please use Form::nextFieldDetails instead.

Needs.php

Line Element Reason
242 Needs::module()

Since the nomenclature makes no sense

318 Needs::addMeta()

Use addMetaName instead

PhpView.php

Line Element Reason
89 PhpView::create()

Use BaseView::create().

Register.php

Line Element Reason
337 Register::getModuleDirs()

use Modules::getModules()

SocialMeta.php

Line Element Reason
269 SocialMeta::render()

Handled by Needs already

Sprout.php

Line Element Reason
281 Sprout::moduleInstalled()

use Modules::isInstalled()

811 Sprout::passwordComplexity()

Use Security::passwordComplexity instead

930 Sprout::iterableFirst()

use Arrays::firstPair

946 Sprout::iterableFirstKey()

use Arrays::firstKey

961 Sprout::iterableFirstValue()

use Arrays::first

SproutExtension.php

Line Element Reason
303 SproutExtension::cc2kc()

Use kebab() instead

316 SproutExtension::kc2cc()

Use camel() instead

TwigView.php

Line Element Reason
136 TwigView::create()

Use BaseView::create().

Upload.php

Line Element Reason
26 Upload

This is old Kohana cruft

View.php

Line Element Reason
26 View

Use PhpView instead

Widgets.php

Line Element Reason
470 Widgets::area()

Use Widgets::renderArea instead

WorkerBase.php

Line Element Reason
23 WorkerBase

Use WorkerJob instead.

Search results