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

Class Concrete5_Model_CollectionType

The CollectionType or PageType object represents reusable types of pages that can be added to a Concrete site.

Concrete5_Library_Object
Extended by Object
Extended by Concrete5_Model_CollectionType

Direct known subclasses

CollectionType

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

Methods summary

public static CollectionType
# getByHandle( string $ctHandle )
public
public
public static boolean|CollectionType
# getByID( $ctID )

Get a collection type by its ID.

public
# delete( )
public
public static
public
# importComposerSettings( SimpleXMLElement $sx )
public static
# exportList( $xml )
public static
# getList( $limiterType = null, $includeInternal = false )
public static
# add( $data, $pkg = null )
public
# getPages( )
public
public
# saveComposerAttributeKeys( $atids = array() )
public
public
public
public
public
# update( $data )
public
public
public
# getIcons( )
public
public
public
public
# isAvailableCollectionTypeAttribute( $akIDorObject )

Checks if given attribute key or attribute key id is assigned to this collection type

public
public
# getCollectionTypeIconImage( )

returns the complete html img tag for this collection type's icon

public
public
public
public
public
public
public
public
public
public
public
public

Properties summary

public $ctID
#
public array $addCTUArray
# array()
public array $addCTGArray
# array()
public array $akIDArray
# array()
public array $composerAKIDArray
# array()

Properties inherited from Concrete5_Library_Object

$error