static public function fetchByParentID( $parentID, $offset = 0, $limit = null, $mainTranslation = false )
    {
        if ( $offset === 0 && $limit === null )
        {
            $limits = null;
        }
        else
        {
            $limits = array( 'offset' => $offset, 'limit' => $limit );
        }
        return self::fetchList(
            array( 'parent_id' => $parentID, 'main_tag_id' => 0 ),
            $limits,
            null,
            $mainTranslation
        );
    }
static public function fetchByParentID( $parentID, $offset = 0, $limit = null, $mainTranslation = false )
    {
        if ( $offset === 0 && $limit === null )
        {
            $limits = null;
        }
        else
        {
            $limits = array( 'offset' => $offset, 'limit' => $limit );
        }
        return self::fetchList(
            array( 'parent_id' => $parentID, 'main_tag_id' => 0 ),
            $limits,
            null,
            $mainTranslation
        );
    }
static public function fetchByParentID ( $ parentID , $ offset = 0 , $ limit = null , $ mainTranslation = false ) { if ( $ offset === 0 && $ limit === null ) { $ limits = null ; } else { $ limits = array ( 'offset' => $ offset , 'limit' => $ limit ) ; } return self :: fetchList ( array ( 'parent_id' => $ parentID , 'main_tag_id' => 0 ) , $ limits , null , $ mainTranslation ) ; }
Returns array of eZTagsObject objects for given parent ID

@static

@param int $parentID
@param bool $mainTranslation
@param int $offset
@param int $limit

@return eZTagsObject[]
Returns array of eZTagsObject objects for given parent ID