original_string: 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
          );
      }
code: 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
          );
      }
code_tokens: 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 ) ; }
docstring: Returns array of eZTagsObject objects for given parent ID
  
  @static
  
  @param int $parentID
  @param bool $mainTranslation
  @param int $offset
  @param int $limit
  
  @return eZTagsObject[]
docstring_tokens: Returns array of eZTagsObject objects for given parent ID