About 122,972 results: "php strtolower"
Page 10 of 50
Filter Results
Sources
Languages
Filter Results
Try Search On


  1. 		if($value=='' || $div==false)
  2. 			return PrepareDate($value,"_$name",$allow_na).($title!=''?'<BR><small>'.(strpos(strtolower($title),'<font ')===false?'<FONT color='.Preferences('TITLES').'>':'').$title.(strpos(strtolower($title),'<font ')===false?'</FONT>':'').'</small>':'');
  3. 		else
  4. 			return "<DIV id='div$name'><div onclick='javascript:addHTML(\"".str_replace('"','\"',PrepareDate($value,"_$name",true,array('Y'=>1,'M'=>1,'D'=>1))).($title!=''?'<BR><small>'.(strpos(strtolower($title),'<font ')===false?'<FONT color='.Preferences('TITLES').'>':'').$title.(strpos(strtolower($title),'<font ')===false?'</FONT>':'').'</small>':'')."\",\"div$name\",true)'>".(($value!='')?ProperDate($value):'-').($title!=''?'<BR><small>'.(strpos(strtolower($title),'<font ')===false?'<FONT color='.Preferences('TITLES').'>':'').$title.(strpos(strtolower($title),'<font ')===false?'</FONT>':'').'</small>':'').'</div></DIV>';
  5. 	else
  6. 		return (($value!='')?ProperDate($value):'-').($title!=''?'<BR><small>'.(strpos(strtolower($title),'<font ')===false?'<FONT color='.Preferences('TITLES').'>':'').$title.(strpos(strtolower($title),'<font ')===false?'</FONT>':'').'</small>':'');
  7. 		if((trim($value)=='' || $div==false))
  8. 			return "<INPUT type=text name=$name ".(($value || $value==='0')?"value=\"$value\"":'')." id=$name ".(($value || $value==='0')?"value=\"$value\"":'')." $options>".($title!=''?'<BR><small>'.(strpos(strtolower($title),'<font ')===false?'<FONT color='.Preferences('TITLES').'>':'').$title.(strpos(strtolower($title),'<font ')===false?'</FONT>':'').'</small>':'');
  9. 		else
  10. 			return "<DIV id='div$name'><div onclick='javascript:addHTML(\"<INPUT type=text id=input$name name=$name ".(($value || $value==='0')?"value=\\\"".str_replace('"','&rdquo;',$value)."\\\"":'')." $options>".($title!=''?'<BR><small>'.(strpos(strtolower($title),'<font ')===false?'<FONT color='.Preferences('TITLES').'>':'').$title.(strpos(strtolower($title),'<font ')===false?'</FONT>':'').'</small>':'')."\",\"div$name\",true); document.getElementById(\"input$name\").focus();'>".(($value!='')?str_replace('"','&rdquo;',$value1):'-').($title!=''?'<BR><small>'.(strpos(strtolower($title),'<font ')===false?'<FONT color='.Preferences('TITLES').'>':'').$title.(strpos(strtolower($title),'<font ')===false?'<FONT color='.Preferences('TITLES').'>':'').'</small>':'').'</div></DIV>';
  11. 	else
  12. 		return (((is_array($value)?$value[1]:$value)!='')?(is_array($value)?$value[1]:$value):'-').($title!=''?'<BR><small>'.(strpos(strtolower($title),'<font ')===false?'<FONT color='.Preferences('TITLES').'>':'').$title.(strpos(strtolower($title),'<font ')===false?'</FONT>':'').'</small>':'');
  13. 		if($value=='' || $div==false)
  14. 			return "<TEXTAREA name=$name $options>$value</TEXTAREA>".($title!=''?'<BR><small>'.(strpos(strtolower($title),'<font ')===false?'<FONT color='.Preferences('TITLES').'>':'').$title.(strpos(strtolower($title),'<font ')===false?'</FONT>':'').'</small>':'');
  15. 		else

  1. 		$this->objectName = $data['objectName'];
  2. 		$this->tableName = self::TABLE_PREFIX . strtolower($data['objectName']);
  3. 		
  4. 		$str .= "\n\n\t\t\$statementString['mysql'] = \"DELETE FROM " . $this->tableName . " where " . strtolower($this->pkName) . "=?  LIMIT 1\";";
  5. 		$str .= "\n\t\t\$statementString['pgsql'] = \"DELETE FROM " . $this->tableName . " where " . strtolower($this->pkName) . "=?\";";
  6. 		$str .= "\n\t\t\$stmt = Database::getInstance()->connection->prepare(\$statementString[Config::getInstance()->databaseDriver]);";
  7. 				$str .= "\n\n\t\t// Deletes the saved relations with " . $this->data['property'][$key]; 
  8. 				$str .= "\n\t\t\$statementString['pgsql'] =\"DELETE FROM " . $tableName . " WHERE " . strtolower($this->pkName) . "=?\";"; 
  9. 				$str .= "\n\t\t\$statementString['mysql'] =\"DELETE FROM " . $tableName . " WHERE " . strtolower($this->pkName) . "=?\";";
  10. 				$str .= "\n\t\t\$stmt = Database::getInstance()->connection->prepare(\$statementString[Config::getInstance()->databaseDriver]);";
  11. 		$str .= "\n\t\t\$key = (int) \$key;";
  12. 		$str .= "\n\t\t\$result = \$this->getList(array(array('" . strtolower($this->pkName) . "', '=', \$key)), false, false, 1);";
  13. 		$str .= "\n\t\t\$dbColNames = self::getColumnNames();";
  14. 		$str .= "\n\t\t\$pkKey = array_search('" . strtolower($this->pkName) . "', \$dbColNames);";
  15. 		$str .= "\n\tpublic function delete" . $objName . "List(array \$requestArray, \$deep = false) {";
  16. 		$str .= "\n\t\t\$requestArray[]  = array('" . strtolower($this->pkName) . "', '=', \$this->" . $this->pkName . ");";

















Back to Top