コード例 #1
0
ファイル: Leaf.php プロジェクト: BenjaminBeck/commerce
 /**
  * Returns whether we have at least 1 subitem for a specific parent row.
  *
  * @param array $row Parent Row Information
  *
  * @return bool
  */
 public function hasSubitems(array $row)
 {
     if (!is_array($row)) {
         if (TYPO3_DLOG) {
             GeneralUtility::devLog('hasSubitems (leaf) gets passed invalid parameters.', COMMERCE_EXTKEY, 3);
         }
         return false;
     }
     return !empty($this->data->getChildrenByPid($row['uid']));
 }