Ignore:
Timestamp:
Mar 10, 2013, 8:15:46 PM (11 years ago)
Author:
chronos
Message:
  • Přidáno: FormManager pro objektové řešení zrušení vazeb na třídu System. FormManager nyní obsluhuje existující formulářové typy a třídy formulářů.
  • Přidáno: Formulářový typ FileContent zajistí načtení obsahu souboru. Typ File pak zajistí i uložení do databáze a přiřazení Id do tabulky File.
  • Odstraněno: Adresář docs obsahoval staré dokumenty. Ty musí být přesunuty do adresáře files a registrovány do databáze.
  • Upraveno: Třídy Database nyní bude hlásit chyby přes výjimky PHP.
Location:
trunk/Common/Form
Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Common/Form/Types/Enumeration.php

    r498 r501  
    77  function OnView($Item)
    88  {
    9     $Type = $this->System->Type->GetTypeDefinition($Item['Type']);
     9    $Type = $this->FormManager->Type->GetTypeDefinition($Item['Type']);
    1010    if(array_key_exists($Item['Value'], $Type['Parameters']['States']))
    1111      $Output = $Type['Parameters']['States'][$Item['Value']];
     
    1616  function OnEdit($Item)
    1717  {
    18     $Type = $this->System->Type->GetTypeDefinition($Item['Type']);
     18    $Type = $this->FormManager->Type->GetTypeDefinition($Item['Type']);
    1919    $Output = '<select name="'.$Item['Name'].'">';
    2020      if(array_key_exists('Null', $Item) and $Item['Null'])
Note: See TracChangeset for help on using the changeset viewer.