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

Class Concrete5_Model_FileAttributeKey

An object that represents metadata added to files.

Concrete5_Library_Object
Extended by Object
Extended by Concrete5_Model_AttributeKey
Extended by AttributeKey
Extended by Concrete5_Model_FileAttributeKey

Direct known subclasses

FileAttributeKey

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/file.php

Methods summary

public
public AttributeValueList
# getAttributes( $fID, $fvID, $method = 'getValue' )

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

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

Returns a list of all attributes of this category

public static
public static
public static
# getImporterList( $fv = false )
public static
public
# get( $akID )
protected
# saveAttribute( $f, $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 static
public

Properties summary

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

Properties inherited from Concrete5_Library_Object

$error