Exemplo n.º 1
0
 public function GroupContainer(ContactContainerWithSingleGroup $contactContainer = null)
 {
     BaseContainer::BaseContainer();
     if (null !== $contactContainer) {
         $this->MassSetValue($contactContainer->GetContainer());
     }
 }
Exemplo n.º 2
0
 function getEntity($id = "")
 {
     if (empty($id)) {
         $qry = "select * from COMPANY, CONTACT";
         return $this->getEmptyEnt($qry);
     }
     $qry = "select * from COMPANY cont where COMPANY_ID='{$id}'";
     return BaseContainer::getEntity($qry);
 }
Exemplo n.º 3
0
 function getEntity($id = "")
 {
     if (empty($id)) {
         $qry = "select * from GROUPE";
         return $this->getEmptyEnt($qry);
     }
     $qry = "select * from GROUPE where GROUPE_DELETED='0'and GROUPE_NAME='{$id}'";
     return BaseContainer::getEntity($qry);
 }
Exemplo n.º 4
0
 function loginUser($userName, $isAdmin = false)
 {
     if ($isAdmin) {
         $qry = "select * from USER where USER_LOGIN_NAME='{$userName}' and GROUPE_NAME='admin' and USER_DELETED='0'";
     } else {
         $qry = "select * from USER where USER_LOGIN_NAME='{$userName}' and USER_DELETED='0'";
     }
     return BaseContainer::getEntity($qry);
 }
Exemplo n.º 5
0
 function getDefaultCss($css_name)
 {
     $qry = "select * from LAYOUT inner join CSS using(CSS_NAME) where CSS.CSS_NAME='{$css_name}'";
     return BaseContainer::getEntity($qry);
 }
Exemplo n.º 6
0
 function deleteEntity($id)
 {
     return BaseContainer::deleteEntity('LOG', 'LOG_ID', $id, true);
 }
Exemplo n.º 7
0
 function trashItemEntity($pkeyVal)
 {
     $qry = "update ITEM set ITEM_DELETED='1' where ITEM_NAME='{$pkeyVal}'";
     return BaseContainer::trashEntity($qry);
 }
Exemplo n.º 8
0
 function trashEntity($pkeyVal)
 {
     $qry = "update PAGE set PAGE_DELETED='1' where PAGE_NAME='{$pkeyVal}'";
     return BaseContainer::trashEntity($qry);
 }
 public function FunambolContactContainer()
 {
     BaseContainer::BaseContainer();
 }
Exemplo n.º 10
0
 /**
  * @access protected
  * @param string $key
  * @param string $fieldName
  */
 protected function _setValueToBuffer($fieldName, $fieldVame)
 {
     if ($this->_currentContainer->isValueSet($key)) {
         $this->_buffer[] = $fieldName . ' = ' . $fieldVame;
     }
 }
Exemplo n.º 11
0
 function trashEntity($pkeyVal)
 {
     $qry = "update USER set USER_DELETED='1' where USER_LOGIN_NAME='{$pkeyVal}'";
     return BaseContainer::trashEntity($qry);
 }