Overview

Classes

  • MvcCore\Application
  • MvcCore\Config
  • MvcCore\Controller
  • MvcCore\Controller\AutoInit
  • MvcCore\Debug
  • MvcCore\Environment
  • MvcCore\Ext\Auth
  • MvcCore\Ext\Auths\Basic
  • MvcCore\Ext\Auths\Basics\Controller
  • MvcCore\Ext\Auths\Basics\Role
  • MvcCore\Ext\Auths\Basics\SignInForm
  • MvcCore\Ext\Auths\Basics\SignOutForm
  • MvcCore\Ext\Auths\Basics\User
  • MvcCore\Ext\Auths\Basics\Users\Database
  • MvcCore\Ext\Auths\Basics\Users\SystemConfig
  • MvcCore\Ext\Auths\User
  • MvcCore\Ext\Auths\Users\Database
  • MvcCore\Ext\Auths\Users\SystemConfig
  • MvcCore\Ext\Cache
  • MvcCore\Ext\Caches\Redis
  • MvcCore\Ext\Configs\Cached
  • MvcCore\Ext\Configs\Yaml
  • MvcCore\Ext\Debugs\Tracy
  • MvcCore\Ext\Debugs\Tracys\AuthPanel
  • MvcCore\Ext\Debugs\Tracys\IncludePanel
  • MvcCore\Ext\Debugs\Tracys\MvcCorePanel
  • MvcCore\Ext\Debugs\Tracys\RoutingPanel
  • MvcCore\Ext\Debugs\Tracys\SessionPanel
  • MvcCore\Ext\Form
  • MvcCore\Ext\Forms\Field
  • MvcCore\Ext\Forms\Fields\Button
  • MvcCore\Ext\Forms\Fields\ButtonInput
  • MvcCore\Ext\Forms\Fields\Checkbox
  • MvcCore\Ext\Forms\Fields\CheckboxGroup
  • MvcCore\Ext\Forms\Fields\Color
  • MvcCore\Ext\Forms\Fields\CountrySelect
  • MvcCore\Ext\Forms\Fields\DataList
  • MvcCore\Ext\Forms\Fields\Date
  • MvcCore\Ext\Forms\Fields\DateTime
  • MvcCore\Ext\Forms\Fields\Email
  • MvcCore\Ext\Forms\Fields\File
  • MvcCore\Ext\Forms\Fields\Hidden
  • MvcCore\Ext\Forms\Fields\Image
  • MvcCore\Ext\Forms\Fields\LocalizationSelect
  • MvcCore\Ext\Forms\Fields\Month
  • MvcCore\Ext\Forms\Fields\Number
  • MvcCore\Ext\Forms\Fields\Password
  • MvcCore\Ext\Forms\Fields\RadioGroup
  • MvcCore\Ext\Forms\Fields\Range
  • MvcCore\Ext\Forms\Fields\ResetButton
  • MvcCore\Ext\Forms\Fields\ResetInput
  • MvcCore\Ext\Forms\Fields\Search
  • MvcCore\Ext\Forms\Fields\Select
  • MvcCore\Ext\Forms\Fields\SubmitButton
  • MvcCore\Ext\Forms\Fields\SubmitInput
  • MvcCore\Ext\Forms\Fields\Tel
  • MvcCore\Ext\Forms\Fields\Text
  • MvcCore\Ext\Forms\Fields\Textarea
  • MvcCore\Ext\Forms\Fields\Time
  • MvcCore\Ext\Forms\Fields\Url
  • MvcCore\Ext\Forms\Fields\Week
  • MvcCore\Ext\Forms\FieldsGroup
  • MvcCore\Ext\Forms\Validator
  • MvcCore\Ext\Forms\Validators\Color
  • MvcCore\Ext\Forms\Validators\CompanyIdEu
  • MvcCore\Ext\Forms\Validators\CompanyVatIdEu
  • MvcCore\Ext\Forms\Validators\CreditCard
  • MvcCore\Ext\Forms\Validators\Date
  • MvcCore\Ext\Forms\Validators\DateTime
  • MvcCore\Ext\Forms\Validators\Email
  • MvcCore\Ext\Forms\Validators\Files
  • MvcCore\Ext\Forms\Validators\Files\Validations\BombScanners\GzArchive
  • MvcCore\Ext\Forms\Validators\Files\Validations\BombScanners\PngImage
  • MvcCore\Ext\Forms\Validators\Files\Validations\BombScanners\RarArchive
  • MvcCore\Ext\Forms\Validators\Files\Validations\BombScanners\ZipArchive
  • MvcCore\Ext\Forms\Validators\FloatNumber
  • MvcCore\Ext\Forms\Validators\Hex
  • MvcCore\Ext\Forms\Validators\Iban
  • MvcCore\Ext\Forms\Validators\IntNumber
  • MvcCore\Ext\Forms\Validators\Ip
  • MvcCore\Ext\Forms\Validators\MinMaxLength
  • MvcCore\Ext\Forms\Validators\MinMaxOptions
  • MvcCore\Ext\Forms\Validators\Month
  • MvcCore\Ext\Forms\Validators\Number
  • MvcCore\Ext\Forms\Validators\Password
  • MvcCore\Ext\Forms\Validators\Pattern
  • MvcCore\Ext\Forms\Validators\Range
  • MvcCore\Ext\Forms\Validators\SafeString
  • MvcCore\Ext\Forms\Validators\Tel
  • MvcCore\Ext\Forms\Validators\Time
  • MvcCore\Ext\Forms\Validators\Url
  • MvcCore\Ext\Forms\Validators\ValueInOptions
  • MvcCore\Ext\Forms\Validators\Week
  • MvcCore\Ext\Forms\Validators\ZipCode
  • MvcCore\Ext\Forms\View
  • MvcCore\Ext\Models\Db\Attrs\Column
  • MvcCore\Ext\Models\Db\Attrs\Connection
  • MvcCore\Ext\Models\Db\Attrs\Format
  • MvcCore\Ext\Models\Db\Attrs\KeyPrimary
  • MvcCore\Ext\Models\Db\Attrs\KeyUnique
  • MvcCore\Ext\Models\Db\Attrs\Table
  • MvcCore\Ext\Models\Db\Connection
  • MvcCore\Ext\Models\Db\Models\MySql
  • MvcCore\Ext\Models\Db\Models\PgSql
  • MvcCore\Ext\Models\Db\Models\Resource
  • MvcCore\Ext\Models\Db\Models\SQLite
  • MvcCore\Ext\Models\Db\Models\SqlSrv
  • MvcCore\Ext\Models\Db\Providers\Connections\MySql
  • MvcCore\Ext\Models\Db\Providers\Connections\PgSql
  • MvcCore\Ext\Models\Db\Providers\Connections\SQLite
  • MvcCore\Ext\Models\Db\Providers\Connections\SqlSrv
  • MvcCore\Ext\Models\Db\Providers\Resource
  • MvcCore\Ext\Models\Db\Providers\Resources\MySql
  • MvcCore\Ext\Models\Db\Providers\Resources\PgSql
  • MvcCore\Ext\Models\Db\Providers\Resources\SQLite
  • MvcCore\Ext\Models\Db\Providers\Resources\SqlSrv
  • MvcCore\Ext\Models\Db\Reader
  • MvcCore\Ext\Models\Db\Readers\Execution
  • MvcCore\Ext\Models\Db\Readers\Multiple
  • MvcCore\Ext\Models\Db\Readers\Single
  • MvcCore\Ext\Models\Db\Readers\Stream
  • MvcCore\Ext\Models\Db\Readers\Streams\Iterator
  • MvcCore\Ext\Models\Db\Statement
  • MvcCore\Ext\Models\Model
  • MvcCore\Ext\Routers\Localization
  • MvcCore\Ext\Routers\Localizations\Route
  • MvcCore\Ext\Routers\Media
  • MvcCore\Ext\Routers\MediaAndLocalization
  • MvcCore\Ext\Routers\Module
  • MvcCore\Ext\Routers\ModuleLocalization
  • MvcCore\Ext\Routers\ModuleMedia
  • MvcCore\Ext\Routers\ModuleMediaAndLocalization
  • MvcCore\Ext\Routers\Modules\Route
  • MvcCore\Ext\Tools\Image
  • MvcCore\Ext\Tools\Images\Gd
  • MvcCore\Ext\Tools\Images\Gds\ApplyMask
  • MvcCore\Ext\Tools\Images\Gds\RoundCorners
  • MvcCore\Ext\Tools\Images\Gds\UnsharpMask
  • MvcCore\Ext\Tools\Images\Imagick
  • MvcCore\Ext\Tools\Locale
  • MvcCore\Ext\Tools\Locales\FloatParser
  • MvcCore\Ext\Tools\MimeTypesExtensions
  • MvcCore\Ext\Views\Helpers\AbstractHelper
  • MvcCore\Ext\Views\Helpers\Assets
  • MvcCore\Ext\Views\Helpers\CssHelper
  • MvcCore\Ext\Views\Helpers\DataUrlHelper
  • MvcCore\Ext\Views\Helpers\FormatDateHelper
  • MvcCore\Ext\Views\Helpers\FormatMoneyHelper
  • MvcCore\Ext\Views\Helpers\FormatNumberHelper
  • MvcCore\Ext\Views\Helpers\InternationalizedHelper
  • MvcCore\Ext\Views\Helpers\JsHelper
  • MvcCore\Ext\Views\Helpers\LineBreaksHelper
  • MvcCore\Ext\Views\Helpers\TruncateHelper
  • MvcCore\Ext\Views\Helpers\WriteByJsHelper
  • MvcCore\Model
  • MvcCore\Request
  • MvcCore\Response
  • MvcCore\Route
  • MvcCore\Router
  • MvcCore\Session
  • MvcCore\Tool
  • MvcCore\View

Interfaces

  • MvcCore\Application\IConstants
  • MvcCore\Controller\IConstants
  • MvcCore\Debug\IConstants
  • MvcCore\Environment\IConstants
  • MvcCore\Ext\Auths\Basics\IController
  • MvcCore\Ext\Auths\Basics\IDatabaseUser
  • MvcCore\Ext\Auths\Basics\IForm
  • MvcCore\Ext\Auths\Basics\IRole
  • MvcCore\Ext\Auths\Basics\IUser
  • MvcCore\Ext\Auths\IBasic
  • MvcCore\Ext\Form\IConstants
  • MvcCore\Ext\Forms\Fields\IAlwaysValidate
  • MvcCore\Ext\Forms\Fields\IChecked
  • MvcCore\Ext\Forms\Fields\IDataList
  • MvcCore\Ext\Forms\Fields\IFile
  • MvcCore\Ext\Forms\Fields\IFormat
  • MvcCore\Ext\Forms\Fields\ILabel
  • MvcCore\Ext\Forms\Fields\IMinMaxLength
  • MvcCore\Ext\Forms\Fields\IMinMaxOptions
  • MvcCore\Ext\Forms\Fields\IMinMaxStepDates
  • MvcCore\Ext\Forms\Fields\IMinMaxStepNumbers
  • MvcCore\Ext\Forms\Fields\IMultiple
  • MvcCore\Ext\Forms\Fields\IOptions
  • MvcCore\Ext\Forms\Fields\IPattern
  • MvcCore\Ext\Forms\Fields\ISubmit
  • MvcCore\Ext\Forms\Fields\IVisibleField
  • MvcCore\Ext\Forms\IError
  • MvcCore\Ext\Forms\IField
  • MvcCore\Ext\Forms\IFieldsGroup
  • MvcCore\Ext\Forms\IValidator
  • MvcCore\Ext\Forms\IView
  • MvcCore\Ext\Forms\Validators\Files\Validations\IBombScanner
  • MvcCore\Ext\Forms\Validators\IFiles
  • MvcCore\Ext\ICache
  • MvcCore\Ext\IForm
  • MvcCore\Ext\Models\Db\IConnection
  • MvcCore\Ext\Models\Db\IModel
  • MvcCore\Ext\Models\Db\IReader
  • MvcCore\Ext\Models\Db\IStatement
  • MvcCore\Ext\Models\Db\Model\IConstants
  • MvcCore\Ext\Models\Db\Models\MySqls\IConstants
  • MvcCore\Ext\Models\Db\Models\PgSqls\IConstants
  • MvcCore\Ext\Models\Db\Models\SqlSrvs\IConstants
  • MvcCore\Ext\Models\Db\Readers\IExecution
  • MvcCore\Ext\Models\Db\Readers\IMultiple
  • MvcCore\Ext\Models\Db\Readers\ISingle
  • MvcCore\Ext\Models\Db\Readers\IStream
  • MvcCore\Ext\Models\Db\Readers\Streams\IIterator
  • MvcCore\Ext\Routers\IExtended
  • MvcCore\Ext\Routers\ILocalization
  • MvcCore\Ext\Routers\IMedia
  • MvcCore\Ext\Routers\IModule
  • MvcCore\Ext\Routers\Modules\IRoute
  • MvcCore\Ext\Tools\Images\IAdapter
  • MvcCore\Ext\Tools\Images\IComposite
  • MvcCore\Ext\Tools\Images\IFormat
  • MvcCore\Ext\Tools\Images\IImage
  • MvcCore\Ext\Tools\Images\Imagicks\IComposite
  • MvcCore\Ext\Tools\Images\IOrientation
  • MvcCore\Ext\Views\Helpers\IHelper
  • MvcCore\IApplication
  • MvcCore\IConfig
  • MvcCore\IController
  • MvcCore\IDebug
  • MvcCore\IEnvironment
  • MvcCore\IModel
  • MvcCore\IRequest
  • MvcCore\IResponse
  • MvcCore\IRoute
  • MvcCore\IRouter
  • MvcCore\ISession
  • MvcCore\ITool
  • MvcCore\IView
  • MvcCore\Model\IConstants
  • MvcCore\Request\IConstants
  • MvcCore\Response\IConstants
  • MvcCore\Route\IConstants
  • MvcCore\Router\IConstants
  • MvcCore\Session\IConstants
  • MvcCore\View\IConstants

Traits

  • MvcCore\Application\Dispatching
  • MvcCore\Application\GettersSetters
  • MvcCore\Application\Helpers
  • MvcCore\Application\Props
  • MvcCore\Config\Environment
  • MvcCore\Config\IniDump
  • MvcCore\Config\IniProps
  • MvcCore\Config\IniRead
  • MvcCore\Config\MagicMethods
  • MvcCore\Config\PropsGettersSetters
  • MvcCore\Config\ReadWrite
  • MvcCore\Controller\Dispatching
  • MvcCore\Controller\GettersSetters
  • MvcCore\Controller\Props
  • MvcCore\Controller\Rendering
  • MvcCore\Debug\Handlers
  • MvcCore\Debug\Initializations
  • MvcCore\Debug\Props
  • MvcCore\Environment\Detection
  • MvcCore\Environment\Instancing
  • MvcCore\Environment\PropsGettersSetters
  • MvcCore\Ext\Auths\Basic\Handling
  • MvcCore\Ext\Auths\Basic\PropsGettersSetters
  • MvcCore\Ext\Auths\Basics\Controller\Base
  • MvcCore\Ext\Auths\Basics\Form\Base
  • MvcCore\Ext\Auths\Basics\Form\SignIn
  • MvcCore\Ext\Auths\Basics\Form\SignOut
  • MvcCore\Ext\Auths\Basics\Role\Base
  • MvcCore\Ext\Auths\Basics\Role\Features
  • MvcCore\Ext\Auths\Basics\User\Auth
  • MvcCore\Ext\Auths\Basics\User\Base
  • MvcCore\Ext\Auths\Basics\User\Features
  • MvcCore\Ext\Auths\Basics\User\Roles
  • MvcCore\Ext\Auths\Basics\UserAndRole\Base
  • MvcCore\Ext\Auths\Basics\UserAndRole\Permissions
  • MvcCore\Ext\Configs\Yamls\YamlDump
  • MvcCore\Ext\Configs\Yamls\YamlProps
  • MvcCore\Ext\Configs\Yamls\YamlRead
  • MvcCore\Ext\Form\AddMethods
  • MvcCore\Ext\Form\Assets
  • MvcCore\Ext\Form\ConfigProps
  • MvcCore\Ext\Form\Csrf
  • MvcCore\Ext\Form\FieldMethods
  • MvcCore\Ext\Form\GetMethods
  • MvcCore\Ext\Form\InternalProps
  • MvcCore\Ext\Form\Rendering
  • MvcCore\Ext\Form\Session
  • MvcCore\Ext\Form\SetMethods
  • MvcCore\Ext\Form\Submitting
  • MvcCore\Ext\Forms\Field\Getters
  • MvcCore\Ext\Forms\Field\Props
  • MvcCore\Ext\Forms\Field\Props\AccessKey
  • MvcCore\Ext\Forms\Field\Props\AutoComplete
  • MvcCore\Ext\Forms\Field\Props\AutoFocus
  • MvcCore\Ext\Forms\Field\Props\Checked
  • MvcCore\Ext\Forms\Field\Props\DataList
  • MvcCore\Ext\Forms\Field\Props\Disabled
  • MvcCore\Ext\Forms\Field\Props\Files
  • MvcCore\Ext\Forms\Field\Props\Format
  • MvcCore\Ext\Forms\Field\Props\FormAttrs
  • MvcCore\Ext\Forms\Field\Props\GroupLabelAttrs
  • MvcCore\Ext\Forms\Field\Props\GroupLabelCssClasses
  • MvcCore\Ext\Forms\Field\Props\InputMode
  • MvcCore\Ext\Forms\Field\Props\Label
  • MvcCore\Ext\Forms\Field\Props\MinMaxLength
  • MvcCore\Ext\Forms\Field\Props\MinMaxOptions
  • MvcCore\Ext\Forms\Field\Props\MinMaxStepDates
  • MvcCore\Ext\Forms\Field\Props\MinMaxStepNumbers
  • MvcCore\Ext\Forms\Field\Props\Multiple
  • MvcCore\Ext\Forms\Field\Props\NullOptionText
  • MvcCore\Ext\Forms\Field\Props\Options
  • MvcCore\Ext\Forms\Field\Props\Pattern
  • MvcCore\Ext\Forms\Field\Props\PlaceHolder
  • MvcCore\Ext\Forms\Field\Props\ReadOnly
  • MvcCore\Ext\Forms\Field\Props\Required
  • MvcCore\Ext\Forms\Field\Props\RowsColsWrap
  • MvcCore\Ext\Forms\Field\Props\Size
  • MvcCore\Ext\Forms\Field\Props\SpellCheck
  • MvcCore\Ext\Forms\Field\Props\Submit
  • MvcCore\Ext\Forms\Field\Props\TabIndex
  • MvcCore\Ext\Forms\Field\Props\VisibleField
  • MvcCore\Ext\Forms\Field\Props\WidthHeight
  • MvcCore\Ext\Forms\Field\Props\Wrapper
  • MvcCore\Ext\Forms\Field\Rendering
  • MvcCore\Ext\Forms\Field\Setters
  • MvcCore\Ext\Forms\Validators\Files\CheckRequirements
  • MvcCore\Ext\Forms\Validators\Files\CompleteFiles
  • MvcCore\Ext\Forms\Validators\Files\ReadAccept
  • MvcCore\Ext\Forms\Validators\Files\Validations\Bomb
  • MvcCore\Ext\Forms\Validators\Files\Validations\FileAndSize
  • MvcCore\Ext\Forms\Validators\Files\Validations\MimeTypeAndExtension
  • MvcCore\Ext\Forms\Validators\Files\Validations\NameAndExtension
  • MvcCore\Ext\Models\Db\Model\Connection
  • MvcCore\Ext\Models\Db\Model\DataMethods
  • MvcCore\Ext\Models\Db\Model\Features
  • MvcCore\Ext\Models\Db\Model\Manipulation
  • MvcCore\Ext\Models\Db\Model\MetaData
  • MvcCore\Ext\Models\Db\Model\Parsers
  • MvcCore\Ext\Models\Db\Model\Props
  • MvcCore\Ext\Models\Db\Model\ProviderResource
  • MvcCore\Ext\Models\Db\Models\MySqls\Features
  • MvcCore\Ext\Models\Db\Models\MySqls\ProviderResource
  • MvcCore\Ext\Models\Db\Models\PgSqls\Features
  • MvcCore\Ext\Models\Db\Models\PgSqls\ProviderResource
  • MvcCore\Ext\Models\Db\Models\Resources\Features
  • MvcCore\Ext\Models\Db\Models\SQLites\Features
  • MvcCore\Ext\Models\Db\Models\SQLites\ProviderResource
  • MvcCore\Ext\Models\Db\Models\SqlSrvs\Features
  • MvcCore\Ext\Models\Db\Models\SqlSrvs\ProviderResource
  • MvcCore\Ext\Models\Db\Providers\Resources\Manipulation
  • MvcCore\Ext\Models\Db\Providers\Resources\PgSqls\Manipulation
  • MvcCore\Ext\Routers\Extended
  • MvcCore\Ext\Routers\Extendeds\Preparing
  • MvcCore\Ext\Routers\Extendeds\PropsGettersSetters
  • MvcCore\Ext\Routers\Extendeds\Redirect
  • MvcCore\Ext\Routers\Extendeds\RedirectHelpers
  • MvcCore\Ext\Routers\Extendeds\Url
  • MvcCore\Ext\Routers\Localization\Preparing
  • MvcCore\Ext\Routers\Localization\PreRouting
  • MvcCore\Ext\Routers\Localization\PropsGettersSetters
  • MvcCore\Ext\Routers\Localization\RedirectSections
  • MvcCore\Ext\Routers\Localization\RewriteRouting
  • MvcCore\Ext\Routers\Localization\RewriteRoutingChecks
  • MvcCore\Ext\Routers\Localization\Routing
  • MvcCore\Ext\Routers\Localization\UrlByRoute
  • MvcCore\Ext\Routers\Localization\UrlByRouteSections
  • MvcCore\Ext\Routers\Localization\UrlByRouteSectionsLocalization
  • MvcCore\Ext\Routers\Localizations\Route\Instancing
  • MvcCore\Ext\Routers\Localizations\Route\InternalInits
  • MvcCore\Ext\Routers\Localizations\Route\Matching
  • MvcCore\Ext\Routers\Localizations\Route\PropsGettersSetters
  • MvcCore\Ext\Routers\Localizations\Route\UrlBuilding
  • MvcCore\Ext\Routers\Media\Preparing
  • MvcCore\Ext\Routers\Media\PreRouting
  • MvcCore\Ext\Routers\Media\PropsGettersSetters
  • MvcCore\Ext\Routers\Media\RedirectSections
  • MvcCore\Ext\Routers\Media\Routing
  • MvcCore\Ext\Routers\Media\UrlByRoute
  • MvcCore\Ext\Routers\Media\UrlByRouteSections
  • MvcCore\Ext\Routers\Media\UrlByRouteSectionsMedia
  • MvcCore\Ext\Routers\MediaAndLocalization\RedirectSections
  • MvcCore\Ext\Routers\MediaAndLocalization\Routing
  • MvcCore\Ext\Routers\MediaAndLocalization\UrlByRoute
  • MvcCore\Ext\Routers\MediaAndLocalization\UrlByRouteSections
  • MvcCore\Ext\Routers\Module\Canonical
  • MvcCore\Ext\Routers\Module\DomainRouteSetUp
  • MvcCore\Ext\Routers\Module\DomainRouting
  • MvcCore\Ext\Routers\Module\PreAndPostRouting
  • MvcCore\Ext\Routers\Module\Props
  • MvcCore\Ext\Routers\Module\Redirect
  • MvcCore\Ext\Routers\Module\RewriteRoutingChecks
  • MvcCore\Ext\Routers\Module\RouteMethods
  • MvcCore\Ext\Routers\Module\UrlByQuery
  • MvcCore\Ext\Routers\Module\UrlByRoute
  • MvcCore\Ext\Routers\Module\UrlByRouteSections
  • MvcCore\Ext\Routers\Module\UrlDomain
  • MvcCore\Ext\Routers\ModuleLocalization\DomainRouteSetUp
  • MvcCore\Ext\Routers\ModuleLocalization\Redirect
  • MvcCore\Ext\Routers\ModuleLocalization\RewriteRoutingChecks
  • MvcCore\Ext\Routers\ModuleLocalization\UrlByRoute
  • MvcCore\Ext\Routers\ModuleMedia\DomainRouteSetUp
  • MvcCore\Ext\Routers\ModuleMedia\Redirect
  • MvcCore\Ext\Routers\ModuleMediaAndLocalization\DomainRouteSetUp
  • MvcCore\Ext\Routers\ModuleMediaAndLocalization\Redirect
  • MvcCore\Ext\Routers\Modules\Route\Instancing
  • MvcCore\Ext\Routers\Modules\Route\Matching
  • MvcCore\Ext\Routers\Modules\Route\PropsGettersSetters
  • MvcCore\Ext\Routers\Modules\Route\UrlBuilding
  • MvcCore\Model\Comparers
  • MvcCore\Model\Config
  • MvcCore\Model\Connection
  • MvcCore\Model\Converters
  • MvcCore\Model\DataMethods
  • MvcCore\Model\MagicMethods
  • MvcCore\Model\MetaData
  • MvcCore\Model\Parsers
  • MvcCore\Model\Props
  • MvcCore\Model\Resource
  • MvcCore\Request\CollectionsMethods
  • MvcCore\Request\GettersSetters
  • MvcCore\Request\Instancing
  • MvcCore\Request\InternalInits
  • MvcCore\Request\Props
  • MvcCore\Response\Content
  • MvcCore\Response\Cookies
  • MvcCore\Response\Headers
  • MvcCore\Response\Instancing
  • MvcCore\Response\PropsGettersSetters
  • MvcCore\Route\GettersSetters
  • MvcCore\Route\Instancing
  • MvcCore\Route\InternalInits
  • MvcCore\Route\Matching
  • MvcCore\Route\Props
  • MvcCore\Route\UrlBuilding
  • MvcCore\Router\Canonical
  • MvcCore\Router\GettersSetters
  • MvcCore\Router\Instancing
  • MvcCore\Router\Props
  • MvcCore\Router\Redirecting
  • MvcCore\Router\RewriteRouting
  • MvcCore\Router\RouteMethods
  • MvcCore\Router\Routing
  • MvcCore\Router\UrlBuilding
  • MvcCore\Router\UrlByQuery
  • MvcCore\Router\UrlByRoutes
  • MvcCore\Session\Closing
  • MvcCore\Session\MagicMethods
  • MvcCore\Session\MetaData
  • MvcCore\Session\NamespaceMethods
  • MvcCore\Session\Props
  • MvcCore\Session\Starting
  • MvcCore\Tool\Helpers
  • MvcCore\Tool\Json
  • MvcCore\Tool\Reflection
  • MvcCore\Tool\StringConversions
  • MvcCore\View\DirectoryMethods
  • MvcCore\View\Escaping
  • MvcCore\View\GettersSetters
  • MvcCore\View\LocalMethods
  • MvcCore\View\MagicMethods
  • MvcCore\View\Props
  • MvcCore\View\Rendering
  • MvcCore\View\UrlHelpers
  • MvcCore\View\ViewHelpers

Exceptions

  • MvcCore\Ext\Models\Db\Exception
  • Throwable

Functions

  • MvcCore\Ext\Models\Db\FuncHelpers\Columns
  • MvcCore\Ext\Models\Db\FuncHelpers\Table
  • Overview
  • Class
  • Tree
  • Todo
  • Deprecated
  • Download

Interface IView

Core view: - Static storage for - commonly used document type - common views extension - common directories names containing view scripts - common views helpers namespaces - It's possible to use this class for any controller, sub controller or form. - View pre render preparing and rendering. - View helpers management on demand: - Creating by predefined class namespaces. - global static helpers instances storage and repeatable calling. - Views sub scripts relative path solving in: <?php $this->RenderScript('./any-subdirectory/script-to-render.php'); ?> - Url() - proxy method from \MvcCore\Router targeting to configured router. - AssetUrl() - proxy method from \MvcCore\Controller. - Magic calls: - __call() - To handler any view helper, if no helper found - exception thrown. - __set() - To set anything from controller to get it back in view. - __get() - To get anything in view previously initialized from controller. - Optional direct code evaluation. - No special view language implemented, use short_open_tags (<?=...?>) allowed by default.

MvcCore view properties and helpers:

MvcCore\IView implements MvcCore\View\IConstants

Direct known implementers

MvcCore\View

Indirect known implementers

MvcCore\Ext\Forms\View
Namespace: MvcCore
Located at mvccore/src/MvcCore/IView.php
Methods summary
public static MvcCore\View
# CreateInstance( )

Return always new instance of statically called class, no singleton. Always called from \MvcCore\Controller::PreDispatch() and \MvcCore\Controller::Render() to create layout view. This is place where to customize any view creation process, before it's created by MvcCore framework to fill and render it.

Return always new instance of statically called class, no singleton. Always called from \MvcCore\Controller::PreDispatch() and \MvcCore\Controller::Render() to create layout view. This is place where to customize any view creation process, before it's created by MvcCore framework to fill and render it.

Returns

MvcCore\View
public static string
# GetExtension( )

Get view scripts files extension with leading dot char. Default value: ".phtml".

Get view scripts files extension with leading dot char. Default value: ".phtml".

Returns

string
public static string
# SetExtension( string $extension = '.phtml' )

Set view scripts files extension. given value could be with or without leading dot char.

Set view scripts files extension. given value could be with or without leading dot char.

Parameters

$extension
An extension with or without leading dot char.

Returns

string
public static string
# GetDoctype( )

Get output document type (to automatically and optionally send proper HTTP header Content-Type, if there is no Content-Type HTTP header in response object yet). This value could be used also for any other custom purposes. Possible values: - HTML4 - \MvcCore\IView::DOCTYPE_HTML4 - XHTML - \MvcCore\IView::DOCTYPE_XHTML - HTML5 - \MvcCore\IView::DOCTYPE_HTML5 - XML - \MvcCore\IView::DOCTYPE_XML Default value: HTML5.

Get output document type (to automatically and optionally send proper HTTP header Content-Type, if there is no Content-Type HTTP header in response object yet). This value could be used also for any other custom purposes. Possible values: - HTML4 - \MvcCore\IView::DOCTYPE_HTML4 - XHTML - \MvcCore\IView::DOCTYPE_XHTML - HTML5 - \MvcCore\IView::DOCTYPE_HTML5 - XML - \MvcCore\IView::DOCTYPE_XML Default value: HTML5.

Returns

string
public static string
# SetDoctype( string $doctype = \MvcCore\IView::DOCTYPE_HTML5 )

Set output document type (to automatically and optionally send proper HTTP header Content-Type, if there is no Content-Type HTTP header in response object yet). This value could be used also for any other custom purposes. Possible values: - HTML4 - \MvcCore\IView::DOCTYPE_HTML4 - XHTML - \MvcCore\IView::DOCTYPE_XHTML - HTML5 - \MvcCore\IView::DOCTYPE_HTML5 - XML - \MvcCore\IView::DOCTYPE_XML Default value: HTML5.

Set output document type (to automatically and optionally send proper HTTP header Content-Type, if there is no Content-Type HTTP header in response object yet). This value could be used also for any other custom purposes. Possible values: - HTML4 - \MvcCore\IView::DOCTYPE_HTML4 - XHTML - \MvcCore\IView::DOCTYPE_XHTML - HTML5 - \MvcCore\IView::DOCTYPE_HTML5 - XML - \MvcCore\IView::DOCTYPE_XML Default value: HTML5.

Parameters

$doctype

Returns

string
public static string
# GetLayoutsDir( )

Get layout templates directory placed by default inside "/App/Views" directory. Default value is "Layouts", so layouts app path is "/App/Views/Layouts".

Get layout templates directory placed by default inside "/App/Views" directory. Default value is "Layouts", so layouts app path is "/App/Views/Layouts".

Returns

string
public static string
# SetLayoutsDir( string $layoutsDir = 'Layouts' )

Set layout templates directory placed by default inside "/App/Views" directory. Default value is "Layouts", so layouts app path is "/App/Views/Layouts".

Set layout templates directory placed by default inside "/App/Views" directory. Default value is "Layouts", so layouts app path is "/App/Views/Layouts".

Parameters

$layoutsDir

Returns

string
public static string
# GetScriptsDir( )

Get controller/action templates directory placed by default inside "/App/Views" directory. Default value is "Scripts", so scripts app path is "/App/Views/Scripts".

Get controller/action templates directory placed by default inside "/App/Views" directory. Default value is "Scripts", so scripts app path is "/App/Views/Scripts".

Returns

string
public static string
# SetScriptsDir( string $scriptsDir = 'Scripts' )

Get controller/action templates directory placed by default inside "/App/Views" directory. Default value is "Scripts", so scripts app path is "/App/Views/Scripts".

Get controller/action templates directory placed by default inside "/App/Views" directory. Default value is "Scripts", so scripts app path is "/App/Views/Scripts".

Parameters

$scriptsDir

Returns

string
public static string
# GetHelpersDir( )

Get views helpers directory placed by default inside "/App/Views" directory. Default value is "Helpers", so scripts app path is "/App/Views/Helpers".

Get views helpers directory placed by default inside "/App/Views" directory. Default value is "Helpers", so scripts app path is "/App/Views/Helpers".

Returns

string
public static string
# SetHelpersDir( string $helpersDir = 'Helpers' )

Set views helpers directory placed by default inside "/App/Views" directory. Default value is "Helpers", so scripts app path is "/App/Views/Helpers".

Set views helpers directory placed by default inside "/App/Views" directory. Default value is "Helpers", so scripts app path is "/App/Views/Helpers".

Parameters

$helpersDir

Returns

string
public static
# AddHelpersNamespaces( string $helperNamespaces )

Add view helpers classes namespace(s), Example: \MvcCore\View::AddHelpersNamespaces('Any\Other\ViewHelpers\Place', '...');.

Add view helpers classes namespace(s), Example: \MvcCore\View::AddHelpersNamespaces('Any\Other\ViewHelpers\Place', '...');.

Parameters

$helperNamespaces
View helper classes namespace(s).
public static
# SetHelpersNamespaces( string $helperNamespaces )

Set view helpers classes namespace(s). This method replace all previously configured namespaces. If you want only to add namespace, use \MvcCore\View::AddHelpersNamespaces(); instead. Example: \MvcCore\View::SetHelpersClassNamespaces('Any\Other\ViewHelpers\Place', '...');.

Set view helpers classes namespace(s). This method replace all previously configured namespaces. If you want only to add namespace, use \MvcCore\View::AddHelpersNamespaces(); instead. Example: \MvcCore\View::SetHelpersClassNamespaces('Any\Other\ViewHelpers\Place', '...');.

Parameters

$helperNamespaces
View helper classes namespace(s).
public static string
# GetViewScriptFullPath( string $typePath = '', string $corectedRelativePath = '' )

Get view script full path by internal application configuration, by $typePath param and by $corectedRelativePath param.

Get view script full path by internal application configuration, by $typePath param and by $corectedRelativePath param.

Parameters

$typePath
Usually "Layouts" or "Scripts".
$corectedRelativePath

Returns

string
public MvcCore\View
# SetController( MvcCore\IController $controller )

This is INTERNAL method, do not use it in templates. Method is always called in the most parent controller \MvcCore\Controller:PreDispatch() moment when view instance is created. Method sets controller instance into view.

This is INTERNAL method, do not use it in templates. Method is always called in the most parent controller \MvcCore\Controller:PreDispatch() moment when view instance is created. Method sets controller instance into view.

Parameters

$controller

Returns

MvcCore\View
public MvcCore\Controller
# GetController( )

Get controller instance.

Get controller instance.

Returns

MvcCore\Controller
public MvcCore\View
# SetUpRender( integer $renderMode = \MvcCore\IView::RENDER_WITH_OB_FROM_ACTION_TO_LAYOUT, string $controllerOrActionNameDashed = NULL, string $actionNameDashed = NULL )

Set up view rendering arguments to render layout and action view in both modes properly. Set up view instance helpers before rendering.

Set up view rendering arguments to render layout and action view in both modes properly. Set up view instance helpers before rendering.

Parameters

$renderMode
$controllerOrActionNameDashed
$actionNameDashed

Returns

MvcCore\View
public MvcCore\View
# SetUpStore( MvcCore\IView $view, boolean $overwriteExistingKeys = TRUE )

This is INTERNAL method, do not use it in templates. Method is always called in the most parent controller \MvcCore\Controller:Render() moment when view is rendered. Set up all from given view object variables store into current store, if there is any already existing key - overwrite it.

This is INTERNAL method, do not use it in templates. Method is always called in the most parent controller \MvcCore\Controller:Render() moment when view is rendered. Set up all from given view object variables store into current store, if there is any already existing key - overwrite it.

Parameters

$view
$overwriteExistingKeys
If any property name already exist in view store, overwrite it by given value by default.

Returns

MvcCore\View
public string &
# GetContent( )

Return rendered action template content as string reference. You need to use this method always somewhere in layout template to render rendered action result content. If render mode is continuous, this method renders action view.

Return rendered action template content as string reference. You need to use this method always somewhere in layout template to render rendered action result content. If render mode is continuous, this method renders action view.

Returns

string
public string|null
# GetCurrentViewFullPath( )

Get currently rendered view file full path. If this method is called outside of rendering process, NULL is returned.

Get currently rendered view file full path. If this method is called outside of rendering process, NULL is returned.

Returns

string|null
public string|null
# GetCurrentViewDirectory( )

Get currently rendered view file directory full path. If this method is called outside of rendering process, NULL is returned.

Get currently rendered view file directory full path. If this method is called outside of rendering process, NULL is returned.

Returns

string|null
public string|null
# GetParentViewFullPath( )

Get currently rendered parent view file full path. Parent view file could be any view file, where is called $this->RenderScript(...); method to render sub-view file (actual view file) or it could be any view file from parent controller or if current controller has no parent controller, it could be layout view script full path. If this method is called outside of rendering process, NULL is returned.

Get currently rendered parent view file full path. Parent view file could be any view file, where is called $this->RenderScript(...); method to render sub-view file (actual view file) or it could be any view file from parent controller or if current controller has no parent controller, it could be layout view script full path. If this method is called outside of rendering process, NULL is returned.

Returns

string|null
public string|null
# GetParentViewDirectory( )

Get currently rendered parent view file directory full path. Parent view file could be any view file, where is called $this->RenderScript(...); method to render sub-view file (actual view file) or it could be any view file from parent controller or if current controller has no parent controller, it could be layout view script full path. If this method is called outside of rendering process, NULL is returned.

Get currently rendered parent view file directory full path. Parent view file could be any view file, where is called $this->RenderScript(...); method to render sub-view file (actual view file) or it could be any view file from parent controller or if current controller has no parent controller, it could be layout view script full path. If this method is called outside of rendering process, NULL is returned.

Returns

string|null
public string &
# RenderScript( string $relativePath = '' )

Render action template script or any include script and return it's result as reference. Do not use this method in layout sub-templates, use method RenderLayout() instead.

Render action template script or any include script and return it's result as reference. Do not use this method in layout sub-templates, use method RenderLayout() instead.

Parameters

$relativePath

Returns

string
public string &
# RenderLayout( string $relativePath = '' )

Render layout template script or any include script and return it's result as reference. Do not use this method in action sub-templates, use method RenderScript() instead.

Render layout template script or any include script and return it's result as reference. Do not use this method in action sub-templates, use method RenderScript() instead.

Parameters

$relativePath

Returns

string
public string &
# RenderLayoutAndContent( string $relativePath = '', string & $content = NULL )

This method is INTERNAL, always called from \MvcCore\Controller::Render();. Do not use this method in templates! Method renders whole configured layout template and return it's result as string reference with inner rendered action template content.

This method is INTERNAL, always called from \MvcCore\Controller::Render();. Do not use this method in templates! Method renders whole configured layout template and return it's result as string reference with inner rendered action template content.

Parameters

$relativePath
$relativePatht.
$content

Returns

string
public string &
# Render( string $typePath = '', string $relativePath = '' )

Render controller template and all necessary layout templates and return rendered result as string reference.

Render controller template and all necessary layout templates and return rendered result as string reference.

Parameters

$typePath
By default: "Layouts" | "Scripts". It could be "Forms" | "Forms/Fields" etc...
$relativePath

Returns

string

Throws

InvalidArgumentException
Template not found in path: $viewScriptFullPath.
public string
# Evaluate( string $content )

Evaluate given template code as PHP code by eval() in current view context, any $this keyword will be used as current view context. Returned result is content from output buffer as string reference. Evaluated code is wrapped into try/catch automatically.

Evaluate given template code as PHP code by eval() in current view context, any $this keyword will be used as current view context. Returned result is content from output buffer as string reference. Evaluated code is wrapped into try/catch automatically.

Parameters

$content

Returns

string
public string
# Url( string $controllerActionOrRouteName = 'Index:Index', array $params = [] )

Generates url: - By "Controller:Action" name and params array (for routes configuration when routes array has keys with "Controller:Action" strings and routes has not controller name and action name defined inside). - By route name and params array (route name is key in routes configuration array, should be any string but routes must have information about controller name and action name inside). Result address (url string) should have two forms: - Nice rewritten URL by routes configuration (for apps with URL rewrite support (Apache .htaccess or IIS URL rewrite module) and when first param is key in routes configuration array). - For all other cases is URL form like: "index.php?controller=ctrlName&amp;action=actionName" (when first param is not founded in routes configuration array).

Generates url: - By "Controller:Action" name and params array (for routes configuration when routes array has keys with "Controller:Action" strings and routes has not controller name and action name defined inside). - By route name and params array (route name is key in routes configuration array, should be any string but routes must have information about controller name and action name inside). Result address (url string) should have two forms: - Nice rewritten URL by routes configuration (for apps with URL rewrite support (Apache .htaccess or IIS URL rewrite module) and when first param is key in routes configuration array). - For all other cases is URL form like: "index.php?controller=ctrlName&amp;action=actionName" (when first param is not founded in routes configuration array).

Parameters

$controllerActionOrRouteName
Should be "Controller:Action" combination or just any route name as custom specific string.
$params
Optional, array with params, key is param name, value is param value.

Returns

string
public string
# AssetUrl( string $path = '' )

Return asset path or single file mode URL for small assets handled by internal controller action "Controller:Asset". Example: echo $this->AssetUrl('/static/img/favicon.ico');

Return asset path or single file mode URL for small assets handled by internal controller action "Controller:Asset". Example: echo $this->AssetUrl('/static/img/favicon.ico');

Parameters

$path

Returns

string
public string
# Escape( string $str, boolean $encoding = 'UTF-8', string $encoding,… )

Escape string for use inside HTML/XHTML/HTML5 node as text content.

Escape string for use inside HTML/XHTML/HTML5 node as text content.

Parameters

$str
$encoding
$double
$encoding,…

Returns

string
public string
# EscapeHtml( string $str, boolean $encoding = 'UTF-8', string $encoding,… )

Escape string for use inside HTML/XHTML/HTML5 node between < and > for attributes definitions.

Escape string for use inside HTML/XHTML/HTML5 node between < and > for attributes definitions.

Parameters

$str
$encoding
$double
$encoding,…

Returns

string
public string
# EscapeAttr( string $str, boolean $double = TRUE, string $encoding = 'UTF-8' )

Escape string for use inside HTML/XHTML/HTML5 attribute.

Escape string for use inside HTML/XHTML/HTML5 attribute.

Parameters

$str
$double
$encoding

Returns

string
public string
# EscapeXml( string $str, string $encoding = 'UTF-8' )

Escape string for use inside XML template. XML 1.0: \x09 \x0A \x0D and C1 allowed directly, C0 forbidden XML 1.1: \x00 forbidden directly and as a character reference, \x09 \x0A \x0D \x85 allowed directly, C0, C1 and \x7F allowed as character references

Escape string for use inside XML template. XML 1.0: \x09 \x0A \x0D and C1 allowed directly, C0 forbidden XML 1.1: \x00 forbidden directly and as a character reference, \x09 \x0A \x0D \x85 allowed directly, C0, C1 and \x7F allowed as character references

Parameters

$str
$encoding

Returns

string
public string
# EscapeJs( string $str, integer $flags = 0, integer $depth = 512 )

Escape string for use inside JS context, including trailing double quotes.

Escape string for use inside JS context, including trailing double quotes.

Parameters

$str
$flags
$depth

Returns

string
public string
# EscapeCss( string $str )

Escape string for use inside CSS context.

Escape string for use inside CSS context.

Parameters

$str

Returns

string

See

http://www.w3.org/TR/2006/WD-CSS21-20060411/syndata.html#q6
public string
# EscapeICal( string $str )

Escape string for use inside iCal template.

Escape string for use inside iCal template.

Parameters

$str

Returns

string

See

https://www.ietf.org/rfc/rfc5545.txt
public mixed &
# GetHelper( string $helperNameCamelCase, boolean $asClosure = FALSE )

Try to get view helper. If view helper doesn't exist in global helpers store - create new helper instance. If helper already exists in global helpers store - do not create it again - use instance from the store. Example: echo $this->GetHelper('facebook')->RenderSomeSpecialWidgetMethod();

Try to get view helper. If view helper doesn't exist in global helpers store - create new helper instance. If helper already exists in global helpers store - do not create it again - use instance from the store. Example: echo $this->GetHelper('facebook')->RenderSomeSpecialWidgetMethod();

Parameters

$helperNameCamelCase
View helper method name in camel case.
$asClosure
Get View helper prepared as closure function, FALSE by default.

Returns

mixed
View helper instance, always as \MvcCore\Ext\Views\Helpers\AbstractHelper|\MvcCore\Ext\Views\Helpers\IHelper instance.

Throws

InvalidArgumentException
If view doesn't exist in configured namespaces.
public MvcCore\View
# SetHelper( string $helperNameCamelCase, mixed $instance, boolean $forAllTemplates = TRUE )

Set view helper for current template or for all templates globally by default. If view helper already exist in global helpers store - it's overwritten.

Set view helper for current template or for all templates globally by default. If view helper already exist in global helpers store - it's overwritten.

Parameters

$helperNameCamelCase
View helper method name in camel case.
$instance
View helper instance, always as \MvcCore\Ext\Views\Helpers\AbstractHelper|\MvcCore\Ext\Views\Helpers\IHelper instance or \Closure.
$forAllTemplates
register this helper instance for all rendered views in the future.

Returns

MvcCore\View
public boolean
# __set( string $name, mixed $value )

Set any value into view context internal store.

Set any value into view context internal store.

Parameters

$name
$value

Returns

boolean
public mixed
# __get( string $name )

Get any value by given name existing in local store. If there is no value in local store by given name, try to get result value into store by controller reflection class from controller instance property.

Get any value by given name existing in local store. If there is no value in local store by given name, try to get result value into store by controller reflection class from controller instance property.

Parameters

$name

Returns

mixed
public boolean
# __isset( string $name )

Get TRUE if any value by given name exists in local view store or in local controller instance.

Get TRUE if any value by given name exists in local view store or in local controller instance.

Parameters

$name

Returns

boolean
public
# __unset( string $name )

Unset any value from view context internal store.

Unset any value from view context internal store.

Parameters

$name
public string|mixed
# __call( string $method, mixed $arguments )

Try to call view helper. If view helper doesn't exist in global helpers store - create new helper instance. If helper already exists in global helpers store - do not create it again - use instance from the store. Then call it's public method named in the same way as helper and return result as it is, without any conversion. So then there could be called any other helper method if whole helper instance is returned.

Try to call view helper. If view helper doesn't exist in global helpers store - create new helper instance. If helper already exists in global helpers store - do not create it again - use instance from the store. Then call it's public method named in the same way as helper and return result as it is, without any conversion. So then there could be called any other helper method if whole helper instance is returned.

Parameters

$method
View helper method name in pascal case.
$arguments
View helper method arguments.

Returns

string|mixed
View helper string result or any other view helper result type or view helper instance, always as \MvcCore\Ext\Views\Helpers\AbstractHelper|\MvcCore\Ext\Views\Helpers\IHelper instance.

Throws

InvalidArgumentException
If view doesn't exist in configured namespaces.
Magic methods summary
public MvcCore\Ext\Views\Helpers\CssHelper
# Css( string $groupName = self::GROUP_NAME_DEFAULT )

Get css helper instance by group name. To use this method, you need to install extension mvccore/ext-view-helper-assets.

Get css helper instance by group name. To use this method, you need to install extension mvccore/ext-view-helper-assets.

Parameters

$groupName

Returns

MvcCore\Ext\Views\Helpers\CssHelper
public MvcCore\Ext\Views\Helpers\JsHelper
# Js( string $groupName = self::GROUP_NAME_DEFAULT )

Get js helper instance by group name. To use this method, you need to install extension mvccore/ext-view-helper-assets.

Get js helper instance by group name. To use this method, you need to install extension mvccore/ext-view-helper-assets.

Parameters

$groupName

Returns

MvcCore\Ext\Views\Helpers\JsHelper
public string
# FormatDate( DateTime|IntlCalendar|integer $dateTimeOrTimestamp = NULL, integer|string $dateTypeOrFormatMask = NULL, integer $timeType = NULL, string|IntlTimeZone|DateTimeZone $timeZone = NULL, integer $calendar = NULL) Format given date time by `Intl` extension or by `strftime( )

as fallback. To use this method, you need to install extensionmvccore/ext-view-helper-formatdatetime`.

as fallback. To use this method, you need to install extensionmvccore/ext-view-helper-formatdatetime`.

Parameters

$dateTimeOrTimestamp
$dateTypeOrFormatMask
$timeType
$timeZone
$calendar

Returns

string
public string
# FormatNumber( float|integer $number = 0.0, integer $decimals, string $dec_point = NULL, string $thousands_sep = NULL )

To use this method, you need to install extension mvccore/ext-view-helper-formatnumber.

To use this method, you need to install extension mvccore/ext-view-helper-formatnumber.

Parameters

$number
$decimals
$dec_point
$thousands_sep

Returns

string
public string
# FormatMoney( integer $decimals, string $dec_point = NULL, string $thousands_sep = NULL )

To use this method, you need to install extension mvccore/ext-view-helper-formatmoney.

To use this method, you need to install extension mvccore/ext-view-helper-formatmoney.

Parameters

$decimals
$dec_point
$dec_point
$thousands_sep
$thousands_sep

Returns

string
public string
# LineBreaks( string $text, string $lang = '' )

Prevent breaking line inside numbers, after week words, shortcuts, numbers and units and much more, very configurable. To use this method, you need to install extension mvccore/ext-view-helper-linebreaks.

Prevent breaking line inside numbers, after week words, shortcuts, numbers and units and much more, very configurable. To use this method, you need to install extension mvccore/ext-view-helper-linebreaks.

Parameters

$text
$lang

Returns

string
public string
# DataUrl( string $relativeOrAbsolutePath )

Return any file content by given relative or absolute path in data URL like data:image/png;base64,iVBOR... Path could be relative from currently rendered view, relative from application root or absolute path to file. To use this method, you need to install extension mvccore/ext-view-helper-dataurl.

Return any file content by given relative or absolute path in data URL like data:image/png;base64,iVBOR... Path could be relative from currently rendered view, relative from application root or absolute path to file. To use this method, you need to install extension mvccore/ext-view-helper-dataurl.

Parameters

$relativeOrAbsolutePath

Returns

string
public string
# WriteByJS( )

;. To use this method, you need to install extensionmvccore/ext-view-helper-writebyjs`.

;. To use this method, you need to install extensionmvccore/ext-view-helper-writebyjs`.

Returns

string
public string
# Truncate( string $text, integer $maxChars = 200, boolean $isHtml = NULL )

Truncate plain text or text with html tags by given max. characters number and add three dots at the end. To use this method, you need to install extension mvccore/ext-view-helper-truncate.

Truncate plain text or text with html tags by given max. characters number and add three dots at the end. To use this method, you need to install extension mvccore/ext-view-helper-truncate.

Parameters

$text
$maxChars
$isHtml

Returns

string
Constants inherited from MvcCore\View\IConstants
DOCTYPE_HTML4, DOCTYPE_HTML5, DOCTYPE_XHTML, DOCTYPE_XML, HELPERS_INTERFACE_CLASS_NAME, RENDER_WITHOUT_OB_CONTINUOUSLY, RENDER_WITH_OB_FROM_ACTION_TO_LAYOUT
Magic properties summary
public read-only MvcCore\Controller $controller

Currently dispatched controller instance.

MvcCore API Documentation API documentation generated by ApiGen