Hawk - PHP documentation
  • Namespace
  • Class
  • Tree

Namespaces

  • Hawk
    • View
      • Plugins

Classes

  • App
  • ButtonInput
  • Cache
  • CheckboxInput
  • ColorInput
  • Conf
  • Controller
  • Crypto
  • DatabaseSessionHandler
  • DatetimeInput
  • DB
  • DBExample
  • DeleteInput
  • Dialogbox
  • EmailInput
  • ErrorHandler
  • Event
  • FileInput
  • FileSystem
  • FloatInput
  • Form
  • FormFieldset
  • FormInput
  • GenericModel
  • GifImage
  • HawkApi
  • HawkUpdater
  • HiddenInput
  • HtmlInput
  • HTTPRequest
  • Icon
  • Image
  • IntegerInput
  • ItemList
  • ItemListField
  • JpegImage
  • Lang
  • Language
  • LeftSidebarTab
  • Less
  • Logger
  • Mail
  • MenuItem
  • Model
  • NoSidebarTab
  • NumberInput
  • ObjectInput
  • Option
  • Panel
  • PasswordInput
  • Permission
  • Plugin
  • PluginInstaller
  • PngImage
  • ProfileQuestion
  • ProfileQuestionValue
  • RadioInput
  • Request
  • Response
  • RightSidebarTab
  • Role
  • RolePermission
  • Route
  • Router
  • SelectInput
  • Session
  • Singleton
  • SubmitInput
  • Tabs
  • TextareaInput
  • TextInput
  • Theme
  • TimeInput
  • Upload
  • User
  • View
  • ViewPlugin
  • Widget
  • WysiwygInput

Traits

  • Utils

Exceptions

  • AppStopException
  • DBExampleException
  • DBException
  • FileSystemException
  • HawkApiException
  • ImageException
  • MailException
  • UploadException
  • ViewException

Class ProfileQuestion

This model describes the customized profile data types

Hawk\Model uses Hawk\Utils
Extended by Hawk\ProfileQuestion
Namespace: Hawk
Package: BaseModels
Located at models/ProfileQuestion.php

Methods summary

public static Hawk\ProfileQuestion
# getByName( string $name )

Get a question by it name

Get a question by it name

Parameters

$name
The name to search

Returns

Hawk\ProfileQuestion
public static array
# getRegisterQuestions( )

Get the profile questions that are displayed in the register form

Get the profile questions that are displayed in the register form

Returns

array
public static array
# getDisplayProfileQuestions( )

Get the profile questions that are displayed publically on the users' profile

Get the profile questions that are displayed publically on the users' profile

Returns

array

Methods inherited from Hawk\Model

__construct(), add(), addIfNotExists(), countElementsByExample(), countElementsBySQL(), delete(), deleteByExample(), deleteBySQL(), getAll(), getByExample(), getById(), getBySQL(), getData(), getDbInstance(), getDbName(), getListByExample(), getListBySQL(), getPrimaryColumn(), getTable(), save(), set(), setDbName(), setPrimaryColumn(), setTable(), update()

Methods used from Hawk\Utils

debug(), getSerializedVersion(), map()

Properties summary

protected static string $tablename

The associated table

The associated table

# "ProfileQuestion"
protected static string $primaryColumn

The primary column in the table

The primary column in the table

# 'name'
public static array $allowedTypes

The allowed input types for customization of profile questions

The allowed input types for customization of profile questions

# array( 'text', 'textarea', 'checkbox', 'radio', 'select', 'datetime', 'file' )

Properties inherited from Hawk\Model

$dbname

Hawk - PHP documentation API documentation generated by ApiGen