XOOPS  2.6.0
ImagesCategoryHandler Class Reference
Inheritance diagram for ImagesCategoryHandler:
Inheritance graph

Public Member Functions

 __construct (Connection $db=null)
 
 getListByPermission ($groups=array(), $perm= 'imgcat_read', $display=null, $storetype=null)
 
 getPermittedObjects ($criteria=null, $start=0, $limit=0, $id_as_key=false, $asobject=true)
 
- Public Member Functions inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler
 __call ($name, $args)
 
 cleanOrphan ($table_link= '', $field_link= '', $field_object= '')
 
 create ($isNew=true)
 
 delete (XoopsObject $object, $force=false)
 
 deleteAll (CriteriaElement $criteria, $force=true, $asObject=false)
 
 deleteByLink (CriteriaElement $criteria=null)
 
 get ($id=null, $fields=null)
 
 getAll (CriteriaElement $criteria=null, $fields=null, $asObject=true, $id_as_key=true)
 
 getByLink (CriteriaElement $criteria=null, $fields=null, $asObject=true, $field_link=null, $field_object=null)
 
 getCount (CriteriaElement $criteria=null)
 
 getCountByLink (CriteriaElement $criteria=null)
 
 getCounts (CriteriaElement $criteria=null)
 
 getCountsByLink (CriteriaElement $criteria=null)
 
 getIds (CriteriaElement $criteria=null)
 
 getList (CriteriaElement $criteria=null, $limit=0, $start=0)
 
 getObjects (CriteriaElement $criteria=null, $id_as_key=false, $as_object=true)
 
 insert (XoopsObject $object, $force=true)
 
 loadHandler ($name, $args=null)
 
 setHandler ($handler=null, $args=null, $path=null)
 
 synchronization ($table_link= '', $field_link= '', $field_object= '')
 
 updateAll ($fieldname, $fieldvalue, CriteriaElement $criteria, $force=false)
 
 updateByLink ($data, CriteriaElement $criteria=null)
 
- Public Member Functions inherited from Xoops\Core\Kernel\XoopsObjectHandler
 create ()
 
 delete (XoopsObject $object, $force=true)
 
 get ($int_id)
 
 insert (XoopsObject $object, $force=true)
 

Additional Inherited Members

- Public Attributes inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler
 $className
 
 $field_link
 
 $field_object
 
 $identifierName
 
 $keyName
 
 $keyName_link
 
 $table
 
 $table_link
 
- Public Attributes inherited from Xoops\Core\Kernel\XoopsObjectHandler
 $db2
 
- Protected Member Functions inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler
 __construct (Connection $db=null, $table= '', $className= '', $keyName= '', $identifierName= '')
 
- Protected Member Functions inherited from Xoops\Core\Kernel\XoopsObjectHandler
 __construct (Connection $db=null)
 
- Protected Attributes inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler
 $handler
 

Detailed Description

Definition at line 46 of file category.php.

Constructor & Destructor Documentation

ImagesCategoryHandler::__construct ( Connection  $db = null)

Constructor

Parameters
Connection | null$dbXoops

Definition at line 53 of file category.php.

Member Function Documentation

ImagesCategoryHandler::getListByPermission (   $groups = array(),
  $perm = 'imgcat_read',
  $display = null,
  $storetype = null 
)

Get a list of imagesCategories

Parameters
array$groups
string$perm
null$display
null$storetype
Returns
array Array of ImagesImage objects

Definition at line 91 of file category.php.

References $criteria, $groups, $i, $mid, $xoops, Xoops\getInstance(), and getPermittedObjects().

Here is the call graph for this function:

ImagesCategoryHandler::getPermittedObjects (   $criteria = null,
  $start = 0,
  $limit = 0,
  $id_as_key = false,
  $asobject = true 
)
Parameters
CriteriaElement | null$criteria
bool$id_as_key
Returns
array

Definition at line 64 of file category.php.

References $criteria, $limit, and $start.

Referenced by getListByPermission().

Here is the caller graph for this function:


The documentation for this class was generated from the following file: