This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Model_UserAttributeKey

An object that represents metadata added to users. of metadata added to pages.

Concrete5_Library_Object
Extended by Object
Extended by Concrete5_Model_AttributeKey
Extended by AttributeKey
Extended by Concrete5_Model_UserAttributeKey

Direct known subclasses

UserAttributeKey

Package: Users
Copyright: Copyright (c) 2003-2009 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at core/models/attribute/categories/user.php

Methods summary

public
public
# getAttributes( $uID, $method = 'getValue' )
public
public
# load( $akID )

Loads the required attribute fields for this instantiated attribute

public
# getAttributeValue( $avID, $method = 'getValue' )
public static
# getByID( $akID )
public static
# getByHandle( $akHandle )
public
public static
# import( SimpleXMLElement $ak )
public
public
public
public
public
public
public
public
public
# activate( )
public
public static
# getList( )

Returns a list of all attributes of this category

public
# get( $akID )
protected
# saveAttribute( $uo, $value = false )

Calls the functions necessary to save this attribute to the database. If no passed value is passed, then we save it via the stock form.

public
# add( $type, $args, $pkg = false )

Adds an attribute key.

public
# update( $args )

Updates an attribute key.

public
public static
public static
public static
public static
public static
public static
public static
public static
public static
public static
public

Properties summary

protected string $searchIndexFieldDefinition
# 'uID I(11) UNSIGNED NOTNULL DEFAULT 0 PRIMARY'

Properties inherited from Concrete5_Library_Object

$error