public static function deleteByElement($intElementId) { $strSql = "DELETE FROM pcms_element_meta WHERE elementId = '%s'"; parent::select(sprintf($strSql, $intElementId)); }