From: khartlage Date: Sun, 6 Jun 2004 09:11:33 +0000 (+0000) Subject: Added constants from David Foerster to phpsyntax.xml file X-Git-Url: http://git.phpeclipse.com?hp=06e1e90c38854b74275eba6747834a5ef1b2e38d Added constants from David Foerster to phpsyntax.xml file --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/phpdoc/PHPDocUtil.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/phpdoc/PHPDocUtil.java index 71db7ae..900d535 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/phpdoc/PHPDocUtil.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/phpdoc/PHPDocUtil.java @@ -20,10 +20,10 @@ public class PHPDocUtil { public static void appendPHPDoc(StringBuffer hoverInfoBuffer, String filename, PHPIdentifierLocation location) { FileReader phpFileReader; hoverInfoBuffer.append(location.toString()); - hoverInfoBuffer.append(" - \n"); + hoverInfoBuffer.append(" - "); try { hoverInfoBuffer.append( getUsage(filename, location) ); - hoverInfoBuffer.append('\n'); + hoverInfoBuffer.append("
"); // read the phpdoc for the function if (location.getPHPDocOffset() >= 0) { @@ -33,7 +33,7 @@ public class PHPDocUtil { phpFileReader.read(phpDocDeclarationCharArray, 0, location.getPHPDocLength()); PHPDocCharArrayCommentReader phpdocConverter = new PHPDocCharArrayCommentReader(phpDocDeclarationCharArray); hoverInfoBuffer.append(phpdocConverter.getString()); - hoverInfoBuffer.append('\n'); + hoverInfoBuffer.append("

"); phpFileReader.close(); } diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/java/hover/AnnotationHover.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/java/hover/AnnotationHover.java index 3839e78..499e8db 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/java/hover/AnnotationHover.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/java/hover/AnnotationHover.java @@ -47,7 +47,7 @@ public class AnnotationHover extends AbstractJavaEditorTextHover { private String formatMessage(String message) { StringBuffer buffer= new StringBuffer(); HTMLPrinter.addPageProlog(buffer); - HTMLPrinter.addParagraph(buffer, HTMLPrinter.convertToHTMLContent(message)); + HTMLPrinter.addParagraph(buffer, message); //HTMLPrinter.convertToHTMLContent(message)); HTMLPrinter.addPageEpilog(buffer); return buffer.toString(); } diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/wizards/NewClassCreationWizard.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/wizards/NewClassCreationWizard.java index a98164c..23bf845 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/wizards/NewClassCreationWizard.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/wizards/NewClassCreationWizard.java @@ -10,10 +10,14 @@ *******************************************************************************/ package net.sourceforge.phpdt.internal.ui.wizards; +import net.sourceforge.phpdt.core.ICompilationUnit; +import net.sourceforge.phpdt.internal.corext.util.JavaModelUtil; import net.sourceforge.phpdt.internal.ui.PHPUiImages; import net.sourceforge.phpdt.ui.wizards.NewClassWizardPage; import net.sourceforge.phpeclipse.PHPeclipsePlugin; +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IProgressMonitor; @@ -44,13 +48,13 @@ public class NewClassCreationWizard extends NewElementWizard { * @see org.eclipse.jdt.internal.ui.wizards.NewElementWizard#finishPage(org.eclipse.core.runtime.IProgressMonitor) */ protected void finishPage(IProgressMonitor monitor) throws InterruptedException, CoreException { -// fPage.createType(monitor); // use the full progress monitor -// ICompilationUnit cu= JavaModelUtil.toOriginal(fPage.getCreatedType().getCompilationUnit()); -// if (cu != null) { -// IResource resource= cu.getResource(); -// selectAndReveal(resource); -// openResource((IFile) resource); -// } + fPage.createType(monitor); // use the full progress monitor + ICompilationUnit cu= JavaModelUtil.toOriginal(fPage.getCreatedType().getCompilationUnit()); + if (cu != null) { + IResource resource= cu.getResource(); + selectAndReveal(resource); + openResource((IFile) resource); + } } /* (non-Javadoc) diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/wizards/NewTypeWizardPage.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/wizards/NewTypeWizardPage.java index 6fa222c..a12516f 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/wizards/NewTypeWizardPage.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/wizards/NewTypeWizardPage.java @@ -14,15 +14,19 @@ import java.util.ArrayList; import java.util.List; import net.sourceforge.phpdt.core.Flags; +import net.sourceforge.phpdt.core.IBuffer; import net.sourceforge.phpdt.core.ICompilationUnit; import net.sourceforge.phpdt.core.IJavaElement; import net.sourceforge.phpdt.core.IPackageFragment; +import net.sourceforge.phpdt.core.IPackageFragmentRoot; +import net.sourceforge.phpdt.core.ISourceRange; import net.sourceforge.phpdt.core.IType; import net.sourceforge.phpdt.core.ToolFactory; import net.sourceforge.phpdt.core.compiler.IScanner; import net.sourceforge.phpdt.core.compiler.ITerminalSymbols; import net.sourceforge.phpdt.core.compiler.InvalidInputException; import net.sourceforge.phpdt.externaltools.internal.ui.StatusInfo; +import net.sourceforge.phpdt.internal.corext.codemanipulation.StubUtility; import net.sourceforge.phpdt.internal.corext.template.Template; import net.sourceforge.phpdt.internal.corext.template.Templates; import net.sourceforge.phpdt.internal.corext.template.php.JavaContext; @@ -41,10 +45,17 @@ import net.sourceforge.phpdt.internal.ui.wizards.dialogfields.Separator; import net.sourceforge.phpdt.internal.ui.wizards.dialogfields.StringButtonDialogField; import net.sourceforge.phpdt.internal.ui.wizards.dialogfields.StringButtonStatusDialogField; import net.sourceforge.phpdt.internal.ui.wizards.dialogfields.StringDialogField; +import net.sourceforge.phpdt.ui.JavaUI; +import net.sourceforge.phpdt.ui.PreferenceConstants; import net.sourceforge.phpeclipse.PHPeclipsePlugin; +import net.sourceforge.phpeclipse.phpeditor.EditorUtility; import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.core.runtime.SubProgressMonitor; +import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.viewers.LabelProvider; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Image; @@ -170,7 +181,7 @@ public abstract class NewTypeWizardPage extends NewContainerWizardPage { private SelectionButtonDialogFieldGroup fAccMdfButtons; private SelectionButtonDialogFieldGroup fOtherMdfButtons; - // private IType fCreatedType; + private IType fCreatedType; protected IStatus fEnclosingTypeStatus; protected IStatus fPackageStatus; @@ -194,7 +205,7 @@ public abstract class NewTypeWizardPage extends NewContainerWizardPage { */ public NewTypeWizardPage(boolean isClass, String pageName) { super(pageName); - // fCreatedType= null; + fCreatedType= null; fIsClass = isClass; @@ -1274,14 +1285,14 @@ public abstract class NewTypeWizardPage extends NewContainerWizardPage { * * @param monitor a progress monitor to report progress. */ -// public void createType(IProgressMonitor monitor) throws CoreException, InterruptedException { -// if (monitor == null) { -// monitor = new NullProgressMonitor(); -// } -// -// monitor.beginTask(NewWizardMessages.getString("NewTypeWizardPage.operationdesc"), 10); //$NON-NLS-1$ -// ICompilationUnit createdWorkingCopy = null; -// try { + public void createType(IProgressMonitor monitor) throws CoreException, InterruptedException { + if (monitor == null) { + monitor = new NullProgressMonitor(); + } + + monitor.beginTask(NewWizardMessages.getString("NewTypeWizardPage.operationdesc"), 10); //$NON-NLS-1$ + ICompilationUnit createdWorkingCopy = null; + try { // IPackageFragmentRoot root = getPackageFragmentRoot(); // IPackageFragment pack = getPackageFragment(); // if (pack == null) { @@ -1292,26 +1303,26 @@ public abstract class NewTypeWizardPage extends NewContainerWizardPage { // String packName = pack.getElementName(); // pack = root.createPackageFragment(packName, true, null); // } -// -// monitor.worked(1); -// -// String clName = getTypeName(); -// -// boolean isInnerClass = isEnclosingTypeSelected(); -// -// IType createdType; + + monitor.worked(1); + + String clName = getTypeName(); + + boolean isInnerClass = isEnclosingTypeSelected(); + + IType createdType; // ImportsStructure imports; -// int indent = 0; -// -// IPreferenceStore store = PreferenceConstants.getPreferenceStore(); + int indent = 0; + + IPreferenceStore store = PreferenceConstants.getPreferenceStore(); // String[] prefOrder = JavaPreferencesSettings.getImportOrderPreference(store); // int threshold = JavaPreferencesSettings.getImportNumberThreshold(store); // -// String lineDelimiter = null; + String lineDelimiter = null; // if (!isInnerClass) { -// lineDelimiter = System.getProperty("line.separator", "\n"); //$NON-NLS-1$ //$NON-NLS-2$ + lineDelimiter = System.getProperty("line.separator", "\n"); //$NON-NLS-1$ //$NON-NLS-2$ // -// ICompilationUnit parentCU = pack.createCompilationUnit(clName + ".java", "", false, new SubProgressMonitor(monitor, 2)); //$NON-NLS-1$ //$NON-NLS-2$ +// ICompilationUnit parentCU = pack.createCompilationUnit(clName + ".php", "", false, new SubProgressMonitor(monitor, 2)); //$NON-NLS-1$ //$NON-NLS-2$ // createdWorkingCopy = (ICompilationUnit) parentCU.getSharedWorkingCopy(null, JavaUI.getBufferFactory(), null); // // imports = new ImportsStructure(createdWorkingCopy, prefOrder, threshold, false); @@ -1324,7 +1335,7 @@ public abstract class NewTypeWizardPage extends NewContainerWizardPage { // // createdWorkingCopy.getBuffer().setContents(cuContent); // -// createdType = createdWorkingCopy.getType(clName); + createdType = createdWorkingCopy.getType(clName); // } else { // IType enclosingType = getEnclosingType(); // @@ -1363,41 +1374,41 @@ public abstract class NewTypeWizardPage extends NewContainerWizardPage { // // add imports for superclass/interfaces, so types can be resolved correctly // imports.create(false, new SubProgressMonitor(monitor, 1)); // -// ICompilationUnit cu = createdType.getCompilationUnit(); -// synchronized (cu) { -// cu.reconcile(); -// } + ICompilationUnit cu = createdType.getCompilationUnit(); + synchronized (cu) { + cu.reconcile(); + } // createTypeMembers(createdType, new ImportsManager(imports), new SubProgressMonitor(monitor, 1)); // // // add imports // imports.create(false, new SubProgressMonitor(monitor, 1)); -// -// synchronized (cu) { -// cu.reconcile(); -// } -// ISourceRange range = createdType.getSourceRange(); -// -// IBuffer buf = cu.getBuffer(); -// String originalContent = buf.getText(range.getOffset(), range.getLength()); -// String formattedContent = StubUtility.codeFormat(originalContent, indent, lineDelimiter); -// buf.replace(range.getOffset(), range.getLength(), formattedContent); -// if (!isInnerClass) { -// String fileComment = getFileComment(cu); -// if (fileComment != null && fileComment.length() > 0) { -// buf.replace(0, 0, fileComment + lineDelimiter); -// } -// cu.commit(false, new SubProgressMonitor(monitor, 1)); -// } else { -// monitor.worked(1); -// } -// fCreatedType = createdType; -// } finally { -// if (createdWorkingCopy != null) { -// createdWorkingCopy.destroy(); -// } -// monitor.done(); -// } -// } + + synchronized (cu) { + cu.reconcile(); + } + ISourceRange range = createdType.getSourceRange(); + + IBuffer buf = cu.getBuffer(); + String originalContent = buf.getText(range.getOffset(), range.getLength()); + String formattedContent = StubUtility.codeFormat(originalContent, indent, lineDelimiter); + buf.replace(range.getOffset(), range.getLength(), formattedContent); + if (!isInnerClass) { + String fileComment = getFileComment(cu); + if (fileComment != null && fileComment.length() > 0) { + buf.replace(0, 0, fileComment + lineDelimiter); + } + cu.commit(false, new SubProgressMonitor(monitor, 1)); + } else { + monitor.worked(1); + } + fCreatedType = createdType; + } finally { + if (createdWorkingCopy != null) { + createdWorkingCopy.destroy(); + } + monitor.done(); + } + } /** * Uses the New Java file template from the code template page to generate a @@ -1445,9 +1456,9 @@ public abstract class NewTypeWizardPage extends NewContainerWizardPage { * @return the created type * @see #createType(IProgressMonitor) */ - // public IType getCreatedType() { - // return fCreatedType; - // } + public IType getCreatedType() { + return fCreatedType; + } // ---- construct cu body---------------- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/builder/PHPIdentifierLocation.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/builder/PHPIdentifierLocation.java index 2dfec02..b374ff5 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/builder/PHPIdentifierLocation.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/builder/PHPIdentifierLocation.java @@ -3,7 +3,6 @@ package net.sourceforge.phpeclipse.builder; import net.sourceforge.phpeclipse.obfuscator.PHPIdentifier; /** - * @author khartlage * */ public class PHPIdentifierLocation extends PHPIdentifier { diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPSyntaxRdr.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPSyntaxRdr.java index b1a1371..ec370fd 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPSyntaxRdr.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPSyntaxRdr.java @@ -168,7 +168,7 @@ public class PHPSyntaxRdr { } else if (Function != null) { syntaxdata.add(new PHPFunction(Function, usage, description)); } else if (Constant != null) { - syntaxdata.add(new PHPConstant(Constant, usage)); + syntaxdata.add(new PHPConstant(Constant, null, description)); } } } @@ -266,9 +266,12 @@ public class PHPSyntaxRdr { // Attr usage = document.createAttribute(USAGE_ATTR); Text usage = document.createTextNode(((PHPFunction) bufferobj).getDescription()); node.appendChild(usage); - // usage.setValue(((PHPFunction) bufferobj).getUsage()); - // attributes.setNamedItem(usage); } + if (bufferobj instanceof PHPConstant) { + // Attr usage = document.createAttribute(USAGE_ATTR); + Text usage = document.createTextNode(((PHPConstant) bufferobj).getDescription()); + node.appendChild(usage); + } } Transformer transformer=TransformerFactory.newInstance().newTransformer(); transformer.setOutputProperty(OutputKeys.METHOD, "xml"); //$NON-NLS-1$ diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/ShowExternalPreviewAction.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/ShowExternalPreviewAction.java index 359084e..13fc4dd 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/ShowExternalPreviewAction.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/ShowExternalPreviewAction.java @@ -35,7 +35,8 @@ public class ShowExternalPreviewAction extends TextEditorAction { super(PHPEditorMessages.getResourceBundle(), "ParserAction.", null); //$NON-NLS-1$ update(); } - public static ShowExternalPreviewAction getInstance() { + +public static ShowExternalPreviewAction getInstance() { return instance; } /** diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPConstant.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPConstant.java index 6f5b1f9..e67d488 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPConstant.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPConstant.java @@ -1,5 +1,7 @@ package net.sourceforge.phpeclipse.phpeditor.php; +import net.sourceforge.phpdt.internal.ui.text.SubstitutionTextReader; + /** * @author Choochter * @@ -9,7 +11,21 @@ package net.sourceforge.phpeclipse.phpeditor.php; * Window>Preferences>Java>Code Generation. */ public class PHPConstant extends PHPElement { - public PHPConstant(String Name, String Description) { - super(Name, Description); + private String fDescription; + + public void setDescription(String description) { + this.fDescription = description; + } + public String getDescription() { + return this.fDescription; + } + + public String getHoverText() { + return super.getHoverText()+"
"+getDescription(); + } + + public PHPConstant(String Name, String usage, String description) { + super(Name, usage); + setDescription(description); } } \ No newline at end of file diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPElement.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPElement.java index 455b979..a64d4db 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPElement.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPElement.java @@ -12,8 +12,8 @@ public abstract class PHPElement { public final void setName(String ElementName) { this.ElementName = ElementName; } - public final void setUsage(String ElementDescription) { - this.ElementUsage = ElementDescription; + public final void setUsage(String usage) { + this.ElementUsage = ""+usage+""; } //Getters @@ -32,12 +32,12 @@ public abstract class PHPElement { public PHPElement() { } - public PHPElement(String Name, String Usage) { - setName(Name); - if ((Usage == null) || (Usage.equals(""))) { - setUsage(Name + " - "); + public PHPElement(String name, String usage) { + setName(name); + if ((usage == null) || (usage.equals(""))) { + setUsage(name + " - "); } else { - setUsage(Usage); + setUsage(usage); } } diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPFunction.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPFunction.java index 4bdbca8..76bd20a 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPFunction.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPFunction.java @@ -9,21 +9,21 @@ package net.sourceforge.phpeclipse.phpeditor.php; * Window>Preferences>Java>Code Generation. */ public class PHPFunction extends PHPElement { - private String FunctionUsage; + private String fDescription; - public void setDescription(String Usage) { - this.FunctionUsage = Usage; + public void setDescription(String description) { + this.fDescription = description; } public String getDescription() { - return this.FunctionUsage; + return this.fDescription; } public String getHoverText() { - return super.getHoverText()+"\n\n"+getDescription(); + return super.getHoverText()+"
"+getDescription(); } - public PHPFunction(String Name, String Description, String Usage) { - super(Name, Description); - setDescription(Usage); + public PHPFunction(String Name, String usage, String description) { + super(Name, usage); + setDescription(description); } } diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml index 170f699..38489e7 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpsyntax.xml @@ -2672,12 +2672,2151 @@ =================================================== *Below this are the various PHP-specific constants * =================================================== - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ERR_NOERR +ERR_DUPLICATE +ERR_EOSCAN +ERR_EMPTY +ERR_CLOSE +ERR_WLOCKED +ERR_LOCKED +ERR_NOLOCK +ERR_READ +ERR_WRITE +ERR_CREATE +ERR_LSEEK +ERR_LENGTH +ERR_OPEN +ERR_WOPEN +ERR_MAGIC +ERR_VERSION +ERR_PGSIZE +ERR_CRC +ERR_PIPE +ERR_NIDX +ERR_MALLOC +ERR_NUSERS +ERR_PREEXIT +ERR_ONTRAP +ERR_PREPROC +ERR_DBPARSE +ERR_DBRUNERR +ERR_DBPREEXIT +ERR_WAIT +ERR_CORRUPT_TUPLE +ERR_WARNING0 +ERR_PANIC +ERR_FIFO +ERR_PERM +ERR_TCL +ERR_RESTRICTED +ERR_USER +ERR_UNKNOWN + + + + + + + + + + + + + + + + + + + + + + + +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +1 +2 +3 +4 +5 +7 +8 +9 +10 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +1 +2 + + + + + + + + + + + + + + + + + + + + + + + + + +Fatal run-time errors. These indicate errors that can not be + recovered from, such as a memory allocation problem. + Execution of the script is halted. +Some value which can be obtained with fstat(1) changed for a + file or directory. +A file or directory was deleted or renamed. +A file was created in a directory. +This event never occurs. +An event in response to fam_cancel_monitor. +An event upon request to monitor a file or directory. When a + directory is monitored, an event for that directory and every file + contained in that directory is issued. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +The default transaction settings are to be used. This default is + determined by the client library, which defines it as + IBASE_WRITE|IBASE_CONCURRENCY|IBASE_WAIT in most cases. +Starts a read-only transaction. +Starts a read-write transaction. +Starts a transaction with the isolation level set to + 'consistency', which means the transaction cannot read from tables + that are being modified by other concurrent transactions. +Starts a transaction with the isolation level set to + 'concurrency' (or 'snapshot'), which means the transaction + has access to all tables, but cannot see changes that were committed + by other transactions after the transaction was started. +Starts a transaction with the isolation level set to + 'read committed'. This flag should be combined with either + IBASE_REC_VERSION or + IBASE_REC_NO_VERSION. This isolation level + allows access to changes that were committed after the transaction + was started. If IBASE_REC_NO_VERSION was + specified, only the latest version of a row can be read. If + IBASE_REC_VERSION was specified, a row can + even be read when a modification to it is pending in a concurrent + transaction. +Indicated that a transaction should wait and retry when a + conflict occurs. +Indicated that a transaction should fail immediately when a + conflict occurs. +Also available as IBASE_TEXTfor backward + compatibility. Causes BLOB contents to be fetched inline, instead of + being fetched as BLOB identifiers. +Causes arrays to be fetched inline. Otherwise, array + identifiers are returned. Array identifiers can only be used as + arguments to INSERT operations, as no functions to handle array + identifiers are currently available. +Causes date and time fields not to be returned as strings, + but as UNIX timestamps (the number of seconds since the epoch, which + is 1-Jan-1970 0:00 UTC). Might be problematic if used with dates + before 1970 on some systems. +string +string +integer +integer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 +2 +4 +8 +16 +32 +64 +-1 +1 +2 +4 +8 +16 +32 +64 +-1 + + + + + + + + + + + + + + + + + + + + + + + +3.14159265358979323846 +2.7182818284590452354 +1.4426950408889634074 +0.43429448190325182765 +0.69314718055994530942 +2.30258509299404568402 +1.57079632679489661923 +0.78539816339744830962 +0.31830988618379067154 +0.63661977236758134308 +1.77245385090551602729 +1.12837916709551257390 +1.41421356237309504880 +1.73205080756887729352 +0.70710678118654752440 +1.14472988584940017414 +0.57721566490153286061 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Use compression protocol +Allow space after function names +Allow interactive_timeout seconds (instead of wait_timeout) of + inactivity before closing the connection. +Columns are returned into the array having the fieldname as the array + index. +Columns are returned into the array having both a numerical index + and the fieldname as the array index. +Columns are returned into the array having a numerical index to the + fields. This index starts with 0, the first field in the result. +Read options from the named group from `my.cnf' or the file specified with MYSQLI_READ_DEFAULT_FILE +Read options from the named option file instead of from my.cnf +Connect timeout in seconds +Enables command LOAD LOCAL INFILE +Command to execute when connecting to MySQL server. Will automatically be re-executed when reconnecting. +Use SSL (encrypted protocol). This option should not be set by application programs; + it is set internally in the MySQL client library +Use compression protocol +Allow interactive_timeout seconds (instead of wait_timeout seconds) of inactivity before closing the connection. The client's session wait_timeout variable will be set to the value of the session interactive_timeout variable. +Allow spaces after function names. Makes all functions names reserved words. +Don't allow the db_name.tbl_name.col_name syntax. + +For using buffered resultsets +For using unbuffered resultsets +Columns are returned into the array having the fieldname as the array index. +Columns are returned into the array having an enumerated index. +Columns are returned into the array having both a numerical index and the fieldname as the associative index. +Indicates that a field is defined as NOT NULL +Field is part of a primary index +Field is part of an unique index. +Field is part of an index. +Field is defined as BLOB +Field is defined as UNSIGNED +Field is defined as ZEROFILL +Field is defined as AUTO_INCREMENT +Field is defined as TIMESTAMP +Field is defined as SET +Field is defined as NUMERIC +Field is part of an multi-index +Field is part of GROUP BY +Field is defined as DECIMAL +Field is defined as TINYINT +Field is defined as INT +Field is defined as INT +Field is defined as FLOAT +Field is defined as DOUBLE +Field is defined as DEFAULT NULL +Field is defined as TIMESTAMP +Field is defined as BIGINT +Field is defined as MEDIUMINT +Field is defined as DATE +Field is defined as TIME +Field is defined as DATETIME +Field is defined as YEAR +Field is defined as DATE +Field is defined as ENUM +Field is defined as SET +Field is defined as TINYBLOB +Field is defined as MEDIUMBLOB +Field is defined as LONGBLOB +Field is defined as BLOB +Field is defined as VARCHAR +Field is defined as CHAR +Field is defined as GEOMETRY +More data available for bind variable +No more data available for bind variable +no color (black) +white +red - supported when terminal is in color mode +green - supported when terminal is in color mod +yellow - supported when terminal is in color mod +blue - supported when terminal is in color mod +cyan - supported when terminal is in color mod +magenta - supported when terminal is in color mod +down arrow +up arrow +left arrow +right arrow +home key (upward+left arrow) +backspace +delete line +insert line +delete character +insert char or enter insert mode +exit insert char mode +clear screen +clear to end of screen +clear to end of line +scroll one line forward +scroll one line backward +next page +previous page +set tab +clear tab +clear all tabs +soft (partial) reset +reset or hard reset +print +lower left +upper left of keypad +upper right of keypad +center of keypad +lower left of keypad +lower right of keypad +back tab +beginning +cancel +close +cmd (command) +copy +create +end +exit +find +help +mark +message +move +next +open +options +previous +redo +ref (reference) +refresh +replace +restart +resume +save +shiftet beg (beginning) +shifted cancel +shifted command +shifted copy +shifted create +shifted delete char +shifted delete line +select +shifted end +shifted end of line +shifted exit +shifted find +shifted help +shifted home +shifted input +shifted left arrow +shifted message +shifted move +shifted next +shifted options +shifted previous +shifted print +shifted redo +shifted replace +shifted right arrow +shifted resume +shifted save +shifted suspend +undo +mouse event has occurred +maximum key value +ctrl pressed during click +shift pressed during click +alt pressed during click +report all mouse events +report mouse position +if there is an error while sending data to the system logger, + write directly to the system console +open the connection to the logger immediately +(default) delay opening the connection until the first + message is logged + +print log message also to standard error +include PID with each message +security/authorization messages (use LOG_AUTHPRIV instead + in systems where that constant is defined) +security/authorization messages (private) +clock daemon (cron and at) +other system daemons +kernel messages +line printer subsystem +mail subsystem +USENET news subsystem +messages generated internally by syslogd +generic user-level messages +UUCP subsystem +system is unusable +action must be taken immediately +critical conditions +error conditions +warning conditions +normal, but significant, condition +informational message +debug-level message +IPv4 Address Resource +Mail Exchanger Resource +Alias (Canonical Name) Resource +Authoritative Name Server Resource +Pointer Resource +Host Info Resource (See IANA's + Operating System Names + for the meaning of these values) +Start of Authority Resource +Text Resource +Any Resource Record. On most systems + this returns all resource records, however + it should not be counted upon for critical + uses. Try DNS_ALL instead. +IPv6 Address Resource +Iteratively query the name server for + each available record type. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Adds text/plain content type headers to encrypted/signed + message. If decrypting or verifying, it strips those headers from + the output - if the decrypted or verified message is not of MIME type + text/plain then an error will occur. +Normally the input message is converted to "canonical" format + which is effectively using CR and LF as end of line: as required by + the S/MIME specification. When this options is present, no + translation occurs. This is useful when handling binary data which + may not be in MIME format. +When verifying a message, certificates (if + any) included in the message are normally searched for the + signing certificate. With this option only the + certificates specified in the extracerts + parameter of openssl_pkcs7_verify are + used. The supplied certificates can still be used as + untrusted CAs however. +Do not verify the signers certificate of a signed + message. +Do not chain verification of signers certificates: that is + don't use the certificates in the signed message as untrusted CAs. +When signing a message the signer's certificate is normally + included - with this option it is excluded. This will reduce the + size of the signed message but the verifier must have a copy of the + signers certificate available locally (passed using the + extracerts to + openssl_pkcs7_verify for example). +Normally when a message is signed, a set of attributes are + included which include the signing time and the supported symmetric + algorithms. With this option they are not included. +When signing a message, use cleartext signing with the MIME + type multipart/signed. This is the default + if you do not specify any flags to + openssl_pkcs7_sign. + If you turn this option off, the message will be signed using + opaque signing, which is more resistant to translation by mail relays + but cannot be read by mail agents that do not support S/MIME. +Don't try and verify the signatures on a message + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Orders results so that $matches[0] is an array of full pattern + matches, $matches[1] is an array of strings matched by the first + parenthesized subpattern, and so on. This flag is only used with + preg_match_all. +Orders results so that $matches[0] is an array of first set of + matches, $matches[1] is an array of second set of matches, and so + on. This flag is only used with preg_match_all. +See the description of + PREG_SPLIT_OFFSET_CAPTURE. This flag is + available since PHP 4.3.0. +This flag tells preg_split to return only non-empty + pieces. +This flag tells preg_split to capture + parenthesized expression in the delimiter pattern as well. This flag + is available since PHP 4.0.5. +If this flag is set, for every occurring match the appendant string + offset will also be returned. Note that this changes the return + values in an array where every element is an array consisting of the + matched string at offset 0 and its string offset within subject at + offset 1. This flag is available since PHP 4.3.0 + and is only used for preg_split. + + + + + + + + + + + + + + + + + + + + + + +integer +integer +integer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Columns are returned into the array having the fieldname as the array + index. +Columns are returned into the array having both a numerical index + and the fieldname as the array index. +Columns are returned into the array having a numerical index to the + fields. This index starts with 0, the first field in the result. +Used with stream_filter_append and + stream_filter_prepend to indicate + that the specified filter should only be applied when + reading +Used with stream_filter_append and + stream_filter_prepend to indicate + that the specified filter should only be applied when + writing +This constant is equivalent to + STREAM_FILTER_READ | + STREAM_FILTER_WRITE +Return Code indicating that the + userspace filter returned buckets in $out. +Return Code indicating that the + userspace filter did not return buckets in $out + (i.e. No data available). +Return Code indicating that the + userspace filter encountered an unrecoverable error + (i.e. Invalid data received). +Flag indicating if the stream + used the include path. +Flag indicating if the wrapper + is responsible for raising errors using trigger_error + during opening of the stream. If this flag is not set, you + should not raise any errors. +Open client socket asynchronously. Used with + stream_socket_client. +Client socket opened with stream_socket_client + should remain persistent between page loads. +Tells a stream created with stream_socket_server + to bind to the specified target. Server sockets should always include this flag. +Tells a stream created with stream_socket_server + and bound using the STREAM_SERVER_BIND flag to start + listening on the socket. Server sockets should always include this flag. +A remote address required for this stream has been resolved, or the resolution + failed. See severity for an indication of which happened. +A connection with an external resource has been established. +Additional authorization is required to access the specified resource. + Typical issued with severity level of + STREAM_NOTIFY_SEVERITY_ERR. +The mime-type of resource has been identified, + refer to message for a description of the + discovered type. +The size of the resource has been discovered. +The external resource has redirected the stream to an alternate + location. Refer to message. +Indicates current progress of the stream transfer in + bytes_transferred and possibly + bytes_max as well. +There is no more data available on the stream. +A generic error occurred on the stream, consult + message and message_code + for details. +Authorization has been completed (with or without success). +Normal, non-error related, notification. +Non critical error condition. Processing may continue. +A critical error occurred. Processing cannot continue. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +