Overview

Packages

  • akismet
  • None
  • PHP
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • plugins
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Signatures
    • Signed
    • Transport
  • wa-apps
    • blog
      • actions
        • backend
        • blog
        • comment
        • cron
        • design
        • frontend
        • page
        • plugin
        • post
      • api
        • v1
      • cli
      • layout
      • model
      • plugin
        • aksimet
        • category
        • emailsubscription
        • favorite
        • gravatar
        • import
        • markdown
        • myposts
        • tag
        • troll
      • settings
    • checklists
      • backend
      • json
    • contacts
      • backend
    • developer
    • dummy
    • guestbook
    • guestbook2
    • photos
      • album
      • api
        • v1
      • backend
      • design
      • dialog
      • frontend
      • page
      • photo
      • plugin
        • comment
        • imageeffects
        • import
        • publicgallery
        • watermark
      • search
      • settings
      • stack
      • tag
      • upload
    • site
      • backend
      • blocks
      • config
      • design
      • domains
      • files
      • frontend
      • helper
      • layout
      • pages
      • routing
      • setting
    • stickies
      • api
        • v1
      • sheet
      • stiky
  • wa-plugin
    • payment
    • shipping
    • sms
  • wa-plugins
    • shipping
      • usps
  • wa-system
    • API
    • Auth
      • Adapters
    • Autoload
    • Cache
      • Adapter
    • Captcha
    • Config
    • Contact
    • controller
    • currency
    • database
    • datetime
    • design
    • event
    • exception
    • files
    • image
    • layout
    • locale
    • log
    • mail
    • page
      • action
      • model
    • payment
    • plugin
    • request
    • response
    • routing
    • shipping
    • sms
    • storage
    • user
    • util
    • validator
    • view
    • webasyst
      • api
      • backend
      • cli
      • config
      • layout
      • login
      • model
      • password
      • payment
      • profile
      • settings
      • shipment
    • widget
    • workflow
  • waPlugins
    • Payment
  • webasyst
    • wa-system
      • helper

Classes

  • waAppViewHelper
  • waPHPView
  • waSmarty3View
  • waViewHelper
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class waViewHelper

This file is part of Webasyst framework.

Licensed under the terms of the GNU Lesser General Public License (LGPL). http://www.webasyst.com/framework/license/

Package: wa-system\view
Copyright: 2011 Webasyst LLC
Author: Webasyst LLC
Link: http://www.webasyst.com/
Located at wa-system/view/waViewHelper.class.php
Methods summary
public
# __construct( waView $view )
protected waAppConfig
# getConfig( )

Returns

waAppConfig
public
# header( )
public
# app( )
public
# apps( )
public array
# myNav( mixed $ul_class = true )

Returns

array
array( 'shop' => 'shop my nav html...', 'helpdesk' => 'helpdesk my nav html...', ... )
public
# myUrl( )
public
# headJs( )
public
# isAuthEnabled( )
public
# user( mixed $field = null, mixed $format = 'html' )
public
# userRights( mixed $name )
public
# userId( )
public
# locale( )
public
# userLocale( )
public
# appName( mixed $escape = true )
public
# pluginName( mixed $plugin_id, mixed $escape = true )
public
# accountName( mixed $escape = true )
public
# setting( mixed $name, mixed $default = '', mixed $app_id = null )
public
# module( mixed $default = null )
public
# css( )
public
# js( )
public string
# version( boolean|string $app_id = null )

Parameters

$app_id
boolean|string
$app_id - true for system version

Returns

string
public
# get( mixed $name, mixed $default = null )
public
# server( mixed $name, mixed $default = null )
public
# post( mixed $name, mixed $default = null )
public
# request( mixed $name, mixed $default = null )
public
# cookie( mixed $name, mixed $default = null )
public
# param( mixed $name, mixed $default = null )
public
# url( mixed $absolute = false )
public
# domainUrl( )
public
# currentUrl( mixed $absolute = false, mixed $without_params = false )
public
# getUrl( mixed $route, mixed $params = array(), mixed $absolute = false )
public
# contacts( mixed $hash = null, mixed $fields = 'id,name' )
public
# contact( mixed $id )
public
# title( mixed $title = null )
public
# meta( mixed $name, mixed $value = null )
public
# isMobile( )
public
# userAgent( mixed $type = null )
public string|
# globals( string|array $key, string|null $value = null )

Parameters

$key
string|array
$key
$value
string|null
$value

Returns

string|
public
# session( mixed $key, mixed $value = null )
public
# storage( mixed $key, mixed $value = null )
public
# getEnv( )
public
# block( mixed $id, mixed $params = array() )
public
# snippet( mixed $id )
public
# sendEmail( mixed $to, mixed & $errors )
public
# csrf( )
public
# captcha( mixed $options = array(), mixed $error = null, mixed $absolute = null, mixed $refresh = null )
public
# captchaUrl( mixed $add_random = true )
public
# signupUrl( mixed $absolute = false )
public
# loginUrl( mixed $absolute = false )
public
# forgotPasswordUrl( )
public string
# loginForm( string $error = '', integer $form = 1 )

Parameters

$error
string
$error
$form
integer
$form 1 - with <form action=""> 2 - with <form action="LOGIN_URL">

Returns

string
public
# forgotPasswordForm( mixed $error = '' )
public
# setPasswordForm( mixed $error = '' )
public
# signupFields( mixed $errors = array() )
public
# signupForm( mixed $errors = array() )
private
# signupFieldHTML( waContactField $f, mixed $params, mixed $error = '' )
public
# authAdapters( mixed $return_array = false, mixed $options = array() )
public
# debug( )
public
# oauth( mixed $provider, mixed $config, mixed $token, mixed $code = null )
public
# __get( mixed $app )
Properties summary
protected waSystem $view
#
protected mixed $version
#
protected mixed $app_id
#
protected static array $helpers array()
#
protected static array $params array()
#
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0