# Namenskonventionen

## PHP

## MySQL

## JavaScript

## Variablennamen

Bei curriculum wird **camelcase** für Bezeichnernamen verwendet (Variablen und Funktionen) Alle Variabelnnamen beginnen mit einem Buchstaben

```
elementColor = "bg-green";

function setColor(){
    doSomething();
}
```

## HTML / Smarty

### Allgemeines

#### HTML Elemente

Die Reihenfolge der HTML-Element-Attribute sollte wie im folgenden Beispiel angeordnet werden, damit Attribute im Code schneller gefunden werden:&#x20;

```
<div id="name_id" class="pull-right" style="width:50px;" onclick="doSomething();"></div>
```

### Tabs

#### nav-tabs

id von nav-tabs `nav_tab_[NAME]`

#### tab-pane

id von tab-pane `tab_[NAME]`

#### Beispiel

```
<div class="nav-tabs-custom">
    <ul class="nav nav-tabs">
        <li id="nav_tab_password" class="active"{/if}>
            <a href="#tab_password" data-toggle="tab">Passwort</a>
        </li>
        <li id="nav_tab_groups" class="active"{/if}>
            <a href="#tab_groups" data-toggle="tab">Gruppen</a>
        </li>
    </ul>
    <div class="tab-content">
        <div id="tab_password" class="tab-pane active row">
            //content
        </div>
        <div id="tab_groups" class="tab-pane active row">
            //content
        </div>
    </div>
</div>
```

## CSS


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://curriculumonline.gitbook.io/development/entwicklerhandbuch/namenskonventionen.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
