private function _enqueueResourceByType($sSRC, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = array(), $sType = 'style')
{
$sSRC = trim($sSRC);
if (empty($sSRC)) {
return '';
}
$sSRC = $this->getResolvedSRC($sSRC);
$_sContainerPropertyName = $this->_getContainerPropertyNameByType($sType);
$_sEnqueuedIndexPropertyName = $this->_getEnqueuedIndexPropertyNameByType($sType);
$_sSRCHash = md5($sSRC);
if (isset($this->oProp->{$_sContainerPropertyName}[$_sSRCHash])) {
return '';
}
$this->oProp->{$_sContainerPropertyName}[$_sSRCHash] = array_filter($this->getAsArray($aCustomArgs), array($this, 'isNotNull')) + array('sPageSlug' => $sPageSlug, 'sTabSlug' => $sTabSlug, 'sSRC' => $sSRC, 'sType' => $sType, 'handle_id' => $sType . '_' . $this->oProp->sClassName . '_' . ++$this->oProp->{$_sEnqueuedIndexPropertyName}) + self::$_aStructure_EnqueuingResources;
$this->oProp->aResourceAttributes[$this->oProp->{$_sContainerPropertyName}[$_sSRCHash]['handle_id']] = $this->oProp->{$_sContainerPropertyName}[$_sSRCHash]['attributes'];
return $this->oProp->{$_sContainerPropertyName}[$_sSRCHash]['handle_id'];
}