storeCategoryFeeds

Extends \storeCategory

This is the class expNestedNode

subpackage

Models

package

Modules

Methods

__construct

__construct(null $params = null, boolean $get_assoc = true, boolean $get_attached = true) 
inherited
Throws
\ReflectionException

Arguments

$params

null

$get_assoc

boolean

$get_attached

boolean

after creating item

afterCreate() 
inherited

is run after deleting item, should delete associated items here if needed

afterDelete() 
inherited

after saving item

afterSave() 
inherited

after updating item

afterUpdate() 
inherited

after validating item

afterValidation() 
inherited

after validating item during creation

afterValidationOnCreate() 
inherited

after validating item during update

afterValidationOnUpdate() 
inherited

get objects this item belongs to ??

associateWith( $datatype,  $id) 
inherited

Type of associations has_and_belongs_to_many

Arguments

$datatype

$id

attach to item

attachItem( $item, string $subtype = '', boolean $replace = true) : boolean
inherited

Arguments

$item

$subtype

string

$replace

boolean

Response

boolean

before creating item

beforeCreate() 
inherited

is run before deleting item

beforeDelete() 
inherited

before saving item

beforeSave() 
inherited

before updating item

beforeUpdate() 
inherited

before validating item

beforeValidation() 
inherited

before validating item during creation

beforeValidationOnCreate() 
inherited

before validating item during update

beforeValidationOnUpdate() 
inherited

Adds table fields as class properties to current "record" class.

build(mixed $params = array()) 
inherited

Loads Table schema data and creates new class properties based upon the fields in given table.

Additionally, if a record ID is given, that record is pulled and field values are also populated into class properties.

category

db_record

uses

Builds a data definition from existing table.

requires

$db

access

protected

final
PHPUnit

Not Defined

global

object $db

Arguments

$params

mixed

array or Object for table selection

Convert nested store category into a string

buildCategoryString( $catID, boolean $reset = false) : string
inherited static

Arguments

$catID

$reset

boolean

Response

string

check for what objects may be attached

checkForAttachableItems( $params) : boolean
inherited

Arguments

$params

Response

boolean

create

create( $params) 
inherited

Arguments

$params

delete item

delete(string $where = '') : boolean
inherited

Arguments

$where

string

Response

boolean

find an item or items

find(string $range = 'all', null $where = null, null $order = null, null $limit = null, integer $limitstart, boolean $get_assoc = true, boolean $get_attached = true, array $except = array(), boolean $cascade_except = false) : array|integer
inherited

Arguments

$range

string

$where

null

$order

null

$limit

null

$limitstart

integer

$get_assoc

boolean

$get_attached

boolean

$except

array

$cascade_except

boolean

Response

array|integer

find an item by column

findBy( $column,  $value, boolean $get_assoc = true, boolean $get_attached = true, array $except = array(), boolean $cascade_except = false) : array
inherited

Arguments

$column

$value

$get_assoc

boolean

$get_attached

boolean

$except

array

$cascade_except

boolean

Response

array

find a value(s) by column

findValue(string $range = 'all', string $column, string $where = null, string $order = null, boolean $distinct = false) : array|boolean
inherited

Arguments

$range

string

$column

string

$where

string

$order

string

$distinct

boolean

Response

array|boolean

this function finds models that have this attachable item attached

findWhereAttachedTo( $content_type) : array
inherited

Arguments

$content_type

Response

array

get item's associated objects

getAssociatedObjects(null $obj = null) : null
inherited

Type of associations has_one has_many has_and_belongs_to_many

Arguments

$obj

null

Response

null

gets associated objects for this model

getAssociatedObjectsForThisModel(array $except = array(), boolean $cascade_except = false) 
inherited

Type of associations has_extended_fields has_one has_many has_many_self has_and_belongs_to_many has_and_belongs_to_self

Arguments

$except

array

$cascade_except

boolean

get attached objects for this item

getAttachableItems() 
inherited

used for import/export

getAttachableItemTables() : array
inherited

Response

array

getBranch

getBranch() 
inherited

Return an image object

getCategoryImage(string $id = '') : string
inherited

Arguments

$id

string

specific expFile to return

Response

string

Return all products assigned to this category

getCatProducts() : array
inherited

Response

array

Return number of products assigned to this category

getCatProductsCount() : integer
inherited

Response

integer

getFirstImageId

getFirstImageId() 
inherited

getFullTree

getFullTree() 
inherited

getParent

getParent() 
inherited

return the item poster

getPoster(null $display = null) : null|string
inherited

Arguments

$display

null

Response

null|string

Return all sub-categories in this category

getSubCats() : array
inherited

Response

array

Get count of sub-categories in this category

getSubCatsCount() : integer
inherited

Response

integer

return the item timestamp

getTimestamp(integer $type) : mixed
inherited

Arguments

$type

integer

Response

mixed

getTopLevel

getTopLevel( $name = "",  $get_assoc = false,  $get_attached = false) 
inherited

Arguments

$name

$get_assoc

$get_attached

getTree

getTree( $model_table) 
inherited static

Arguments

$model_table

Convert string into a nested store category

importCategoryString( $data) : string
inherited static

Arguments

$data

nested category string with :: separators

Response

string

is model content searchable?

isSearchable() : boolean
inherited static

Response

boolean

create a many to many table relationship

makeManyToManyTablename( $assoc_table) : string
inherited

Arguments

$assoc_table

Response

string

make an sef_url for item

makeSefUrl() 
inherited

move

move( $insertpoint,  $type = "after") 
inherited

Arguments

$insertpoint

$type

moveAfter

moveAfter( $target) 
inherited

Arguments

$target

moveBefore

moveBefore( $target) 
inherited

Arguments

$target

moveInto

moveInto( $target) 
inherited

Arguments

$target

name of module for backwards compat with old modules

name() : string
inherited

Response

string

Return existing store category id of string nested category checks to ensure each level of nesting exists

parseCategory( $data) : string
inherited static

Arguments

$data

Response

string

pathToNode

pathToNode() 
inherited

re-construct the item from the database

refresh() : boolean
inherited
Throws
\ReflectionException

Response

boolean

rerank items

rerank( $direction, string $where = '') 
inherited

Arguments

$direction

$where

string

save item

save(boolean $validate = false, boolean $force_no_revisions = false) 
inherited

Arguments

$validate

boolean

$force_no_revisions

boolean

save associated objects

saveAssociatedObjects() 
inherited

Type of associations has_one

update item

update(array|object $params = array()) 
inherited

Arguments

$params

array|object

validate item sef_url

validate() : boolean
inherited

Response

boolean

Properties

has_and_belongs_to_many

has_and_belongs_to_many : 
inherited

Type(s)

table

table : 
inherited

Type(s)

attachable_table

attachable_table : 
inherited

Type(s)

attachable_item_types

attachable_item_types : 
inherited

Type(s)

Array of Tag Node Objects, siblings or children, depending how the class is called.

nodes : array
inherited
name

$nodes

var

Array of Tag Node Objects

access

public

PHPUnit

Not Defined

Type(s)

array

classinfo

classinfo : 
inherited

Type(s)

classname

classname : 
inherited

Type(s)

tablename

tablename : 
inherited

Type(s)

identifier

identifier : 
inherited

Type(s)

rank_by_field

rank_by_field : 
inherited

Type(s)

grouping_sql

grouping_sql : 
inherited

Type(s)

has_extended_fields

has_extended_fields : 
inherited

Type(s)

has_one

has_one : 
inherited

Type(s)

has_many

has_many : 
inherited

Type(s)

has_many_self

has_many_self : 
inherited

Type(s)

has_and_belongs_to_self

has_and_belongs_to_self : 
inherited

Type(s)

default_sort_field

default_sort_field : 
inherited

Type(s)

default_sort_direction

default_sort_direction : 
inherited

Type(s)

get_assoc_for

get_assoc_for : 
inherited

Type(s)

attachable_items_to_save

attachable_items_to_save : 
inherited

Type(s)

get_attachable_for

get_attachable_for : 
inherited

Type(s)

validate

validate : 
inherited

Type(s)

do_not_validate

do_not_validate : 
inherited

Type(s)

supports_revisions

supports_revisions : 
inherited

Type(s)

needs_approval

needs_approval : 
inherited

Type(s)