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

Class Concrete5_Model_CollectionAttributeKey

An object that represents metadata added to pages. They key object maps to the "type" of metadata added to pages.

Concrete5_Library_Object
Extended by Object
Extended by Concrete5_Model_AttributeKey
Extended by AttributeKey
Extended by Concrete5_Model_CollectionAttributeKey

Direct known subclasses

CollectionAttributeKey

Package: Pages
Category: Concrete
Copyright: Copyright (c) 2003-2008 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at core/models/attribute/categories/collection.php

Methods summary

public
public AttributeValueList
# getAttributes( $cID, $cvID, $method = 'getValue' )

Returns an attribute value list of attributes and values (duh) which a collection version can store against its object.

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

Returns a list of all attributes of this category

public
# get( $akID )
protected
# saveAttribute( $nvc, $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( $at, $args, $pkg = false )

Adds an attribute key.

public

Properties summary

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

Properties inherited from Concrete5_Library_Object

$error