path
stringlengths
5
312
repo_name
stringlengths
5
116
content
stringlengths
2
1.04M
pcap/libc/unix/fn.syscall.html
ebfull/ebfull.github.io
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=../../libc/fn.syscall.html"> </head> <body> <p>Redirecting to <a href="../../libc/fn.syscall.html">../../libc/fn.syscall.html</a>...</p> <script>location.replace("../../libc/fn.syscall.html" + location.search + location.hash);</script> </body> </html>
public/wp-content/plugins/gravityformsmailchimp/css/form_settings.css
madcitygg/madcity.gg
.gaddon-mailchimp-categoryname { font-weight: bold; } .gaddon-setting-checkbox { margin: 5px 0 0 0; } .gaddon-mailchimp-category .gf_animate_sub_settings { padding-left: 10px; }
samples/react/typescript/02 QuizForm/src/css/site.css
Lemoncode/lcFormValidation
.top-buffer{ margin-top: 20px; } .about-page{ position: relative; top: -20px; } .about-page .jumbotron{ margin: 0; background:rgba(9,69,95,0.8); color: white; border-radius: 0 !important; } /*React apply activeClassName to <a> element, but Bootstrap active class is over <li> element*/ .navbar .nav .active, .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus{ background: #e7e7e7 !important; color: #333 !important; }
tests/integration/navigation/sequence/sequence-push-state-disabled-path1-path2-dialog-hash-key-tests.html
ereddate/jquery-mobile
<!DOCTYPE html> <html lang="en"> <head> <!-- forces the base-tests into a push state disabled run and allows for the test suite runner to pick it up as a seperate test set. See test/integration/ls.php, test/integration/runner.js, base-tests.html, and tests/jquery.testHelper.js for more. --> <script src="../../../../js/jquery.js"></script> <script src="../../../jquery.testHelper.js"></script> <script type="text/javascript"> $.testHelper.pushStateRedirect( "./sequence-path1-path2-dialog-hash-key-tests.html" ); </script> </head> <body> </body> </html>
SemanterApp/semanter/libs/OpenCV/javadoc/org/opencv/highgui/VideoCapture.html
jmptable/semanter
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_45) on Sat Dec 28 11:08:51 MSK 2013 --> <TITLE> VideoCapture </TITLE> <META NAME="date" CONTENT="2013-12-28"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="VideoCapture"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> OpenCV 2.4.8</EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../org/opencv/highgui/Highgui.html" title="class in org.opencv.highgui"><B>PREV CLASS</B></A>&nbsp; &nbsp;NEXT CLASS</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/opencv/highgui/VideoCapture.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="VideoCapture.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> org.opencv.highgui</FONT> <BR> Class VideoCapture</H2> <PRE> java.lang.Object <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.opencv.highgui.VideoCapture</B> </PRE> <HR> <DL> <DT><PRE>public class <B>VideoCapture</B><DT>extends java.lang.Object</DL> </PRE> <P> <p>Class for video capturing from video files or cameras. The class provides C++ API for capturing video from cameras or for reading video files. Here is how the class can be used:</p> <p>#include "opencv2/opencv.hpp" <code></p> <p>// C++ code:</p> <p>using namespace cv;</p> <p>int main(int, char)</p> <p>VideoCapture cap(0); // open the default camera</p> <p>if(!cap.isOpened()) // check if we succeeded</p> <p>return -1;</p> <p>Mat edges;</p> <p>namedWindow("edges",1);</p> <p>for(;;)</p> <p>Mat frame;</p> <p>cap >> frame; // get a new frame from camera</p> <p>cvtColor(frame, edges, CV_BGR2GRAY);</p> <p>GaussianBlur(edges, edges, Size(7,7), 1.5, 1.5);</p> <p>Canny(edges, edges, 0, 30, 3);</p> <p>imshow("edges", edges);</p> <p>if(waitKey(30) >= 0) break;</p> <p>// the camera will be deinitialized automatically in VideoCapture destructor</p> <p>return 0;</p> <p>Note: In C API the black-box structure <code>CvCapture</code> is used instead of <code>VideoCapture</code>. </code></p> <p>Note:</p> <ul> <li> A basic sample on using the VideoCapture interface can be found at opencv_source_code/samples/cpp/starter_video.cpp <li> Another basic video processing sample can be found at opencv_source_code/samples/cpp/video_dmtx.cpp <li> (Python) A basic sample on using the VideoCapture interface can be found at opencv_source_code/samples/python2/video.py <li> (Python) Another basic video processing sample can be found at opencv_source_code/samples/python2/video_dmtx.py <li> (Python) A multi threaded video processing sample can be found at opencv_source_code/samples/python2/video_threaded.py </ul> <P> <P> <DL> <DT><B>See Also:</B><DD><a href="http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture">org.opencv.highgui.VideoCapture</a></DL> <HR> <P> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../org/opencv/highgui/VideoCapture.html#VideoCapture()">VideoCapture</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;VideoCapture constructors.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../org/opencv/highgui/VideoCapture.html#VideoCapture(int)">VideoCapture</A></B>(int&nbsp;device)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;VideoCapture constructors.</TD> </TR> </TABLE> &nbsp; <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/highgui/VideoCapture.html#get(int)">get</A></B>(int&nbsp;propId)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified "VideoCapture" property.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;java.util.List&lt;<A HREF="../../../org/opencv/core/Size.html" title="class in org.opencv.core">Size</A>&gt;</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/highgui/VideoCapture.html#getSupportedPreviewSizes()">getSupportedPreviewSizes</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/highgui/VideoCapture.html#grab()">grab</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grabs the next frame from video file or capturing device.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/highgui/VideoCapture.html#isOpened()">isOpened</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if video capturing has been initialized already.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/highgui/VideoCapture.html#open(int)">open</A></B>(int&nbsp;device)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Open video file or a capturing device for video capturing</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/highgui/VideoCapture.html#read(org.opencv.core.Mat)">read</A></B>(<A HREF="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</A>&nbsp;image)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grabs, decodes and returns the next video frame.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/highgui/VideoCapture.html#release()">release</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes video file or capturing device.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/highgui/VideoCapture.html#retrieve(org.opencv.core.Mat)">retrieve</A></B>(<A HREF="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</A>&nbsp;image)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Decodes and returns the grabbed video frame.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/highgui/VideoCapture.html#retrieve(org.opencv.core.Mat, int)">retrieve</A></B>(<A HREF="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</A>&nbsp;image, int&nbsp;channel)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Decodes and returns the grabbed video frame.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/highgui/VideoCapture.html#set(int, double)">set</A></B>(int&nbsp;propId, double&nbsp;value)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a property in the "VideoCapture".</TD> </TR> </TABLE> &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> &nbsp; <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="VideoCapture()"><!-- --></A><H3> VideoCapture</H3> <PRE> public <B>VideoCapture</B>()</PRE> <DL> <DD><p>VideoCapture constructors.</p> <p>Note: In C API, when you finished working with video, release <code>CvCapture</code> structure with <code>cvReleaseCapture()</code>, or use <code>Ptr<CvCapture></code> that calls <code>cvReleaseCapture()</code> automatically in the destructor.</p> <P> <DL> <DT><B>See Also:</B><DD><a href="http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture-videocapture">org.opencv.highgui.VideoCapture.VideoCapture</a></DL> </DL> <HR> <A NAME="VideoCapture(int)"><!-- --></A><H3> VideoCapture</H3> <PRE> public <B>VideoCapture</B>(int&nbsp;device)</PRE> <DL> <DD><p>VideoCapture constructors.</p> <p>Note: In C API, when you finished working with video, release <code>CvCapture</code> structure with <code>cvReleaseCapture()</code>, or use <code>Ptr<CvCapture></code> that calls <code>cvReleaseCapture()</code> automatically in the destructor.</p> <P> <DL> <DT><B>Parameters:</B><DD><CODE>device</CODE> - id of the opened video capturing device (i.e. a camera index). If there is a single camera connected, just pass 0.<DT><B>See Also:</B><DD><a href="http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture-videocapture">org.opencv.highgui.VideoCapture.VideoCapture</a></DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="get(int)"><!-- --></A><H3> get</H3> <PRE> public double <B>get</B>(int&nbsp;propId)</PRE> <DL> <DD>Returns the specified "VideoCapture" property. Note: When querying a property that is not supported by the backend used by the "VideoCapture" class, value 0 is returned. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>propId</CODE> - property identifier; it can be one of the following: * CV_CAP_PROP_FRAME_WIDTH width of the frames in the video stream. * CV_CAP_PROP_FRAME_HEIGHT height of the frames in the video stream.<DT><B>See Also:</B><DD><a href="http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture-get">org.opencv.highgui.VideoCapture.get</a></DL> </DD> </DL> <HR> <A NAME="getSupportedPreviewSizes()"><!-- --></A><H3> getSupportedPreviewSizes</H3> <PRE> public java.util.List&lt;<A HREF="../../../org/opencv/core/Size.html" title="class in org.opencv.core">Size</A>&gt; <B>getSupportedPreviewSizes</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="grab()"><!-- --></A><H3> grab</H3> <PRE> public boolean <B>grab</B>()</PRE> <DL> <DD><p>Grabs the next frame from video file or capturing device.</p> <p>The methods/functions grab the next frame from video file or camera and return true (non-zero) in the case of success.</p> <p>The primary use of the function is in multi-camera environments, especially when the cameras do not have hardware synchronization. That is, you call <code>VideoCapture.grab()</code> for each camera and after that call the slower method <code>VideoCapture.retrieve()</code> to decode and get frame from each camera. This way the overhead on demosaicing or motion jpeg decompression etc. is eliminated and the retrieved frames from different cameras will be closer in time.</p> <p>Also, when a connected camera is multi-head (for example, a stereo camera or a Kinect device), the correct way of retrieving data from it is to call "VideoCapture.grab" first and then call "VideoCapture.retrieve" one or more times with different values of the <code>channel</code> parameter. See https://github.com/Itseez/opencv/tree/master/samples/cpp/openni_capture.cpp</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture-grab">org.opencv.highgui.VideoCapture.grab</a></DL> </DD> </DL> <HR> <A NAME="isOpened()"><!-- --></A><H3> isOpened</H3> <PRE> public boolean <B>isOpened</B>()</PRE> <DL> <DD><p>Returns true if video capturing has been initialized already.</p> <p>If the previous call to <code>VideoCapture</code> constructor or <code>VideoCapture.open</code> succeeded, the method returns true.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture-isopened">org.opencv.highgui.VideoCapture.isOpened</a></DL> </DD> </DL> <HR> <A NAME="open(int)"><!-- --></A><H3> open</H3> <PRE> public boolean <B>open</B>(int&nbsp;device)</PRE> <DL> <DD><p>Open video file or a capturing device for video capturing</p> <p>The methods first call "VideoCapture.release" to close the already opened file or camera.</p> <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>device</CODE> - id of the opened video capturing device (i.e. a camera index).<DT><B>See Also:</B><DD><a href="http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture-open">org.opencv.highgui.VideoCapture.open</a></DL> </DD> </DL> <HR> <A NAME="read(org.opencv.core.Mat)"><!-- --></A><H3> read</H3> <PRE> public boolean <B>read</B>(<A HREF="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</A>&nbsp;image)</PRE> <DL> <DD><p>Grabs, decodes and returns the next video frame.</p> <p>The methods/functions combine "VideoCapture.grab" and "VideoCapture.retrieve" in one call. This is the most convenient method for reading video files or capturing data from decode and return the just grabbed frame. If no frames has been grabbed (camera has been disconnected, or there are no more frames in video file), the methods return false and the functions return NULL pointer.</p> <p>Note: OpenCV 1.x functions <code>cvRetrieveFrame</code> and <code>cv.RetrieveFrame</code> return image stored inside the video capturing structure. It is not allowed to modify or release the image! You can copy the frame using "cvCloneImage" and then do whatever you want with the copy.</p> <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>image</CODE> - a image<DT><B>See Also:</B><DD><a href="http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture-read">org.opencv.highgui.VideoCapture.read</a></DL> </DD> </DL> <HR> <A NAME="release()"><!-- --></A><H3> release</H3> <PRE> public void <B>release</B>()</PRE> <DL> <DD><p>Closes video file or capturing device.</p> <p>The methods are automatically called by subsequent "VideoCapture.open" and by <code>VideoCapture</code> destructor.</p> <p>The C function also deallocates memory and clears <code>*capture</code> pointer.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture-release">org.opencv.highgui.VideoCapture.release</a></DL> </DD> </DL> <HR> <A NAME="retrieve(org.opencv.core.Mat)"><!-- --></A><H3> retrieve</H3> <PRE> public boolean <B>retrieve</B>(<A HREF="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</A>&nbsp;image)</PRE> <DL> <DD><p>Decodes and returns the grabbed video frame.</p> <p>The methods/functions decode and return the just grabbed frame. If no frames has been grabbed (camera has been disconnected, or there are no more frames in video file), the methods return false and the functions return NULL pointer.</p> <p>Note: OpenCV 1.x functions <code>cvRetrieveFrame</code> and <code>cv.RetrieveFrame</code> return image stored inside the video capturing structure. It is not allowed to modify or release the image! You can copy the frame using "cvCloneImage" and then do whatever you want with the copy.</p> <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>image</CODE> - a image<DT><B>See Also:</B><DD><a href="http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture-retrieve">org.opencv.highgui.VideoCapture.retrieve</a></DL> </DD> </DL> <HR> <A NAME="retrieve(org.opencv.core.Mat, int)"><!-- --></A><H3> retrieve</H3> <PRE> public boolean <B>retrieve</B>(<A HREF="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</A>&nbsp;image, int&nbsp;channel)</PRE> <DL> <DD><p>Decodes and returns the grabbed video frame.</p> <p>The methods/functions decode and return the just grabbed frame. If no frames has been grabbed (camera has been disconnected, or there are no more frames in video file), the methods return false and the functions return NULL pointer.</p> <p>Note: OpenCV 1.x functions <code>cvRetrieveFrame</code> and <code>cv.RetrieveFrame</code> return image stored inside the video capturing structure. It is not allowed to modify or release the image! You can copy the frame using "cvCloneImage" and then do whatever you want with the copy.</p> <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>image</CODE> - a image<DD><CODE>channel</CODE> - a channel<DT><B>See Also:</B><DD><a href="http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture-retrieve">org.opencv.highgui.VideoCapture.retrieve</a></DL> </DD> </DL> <HR> <A NAME="set(int, double)"><!-- --></A><H3> set</H3> <PRE> public boolean <B>set</B>(int&nbsp;propId, double&nbsp;value)</PRE> <DL> <DD>Sets a property in the "VideoCapture". <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>propId</CODE> - property identifier; it can be one of the following: * CV_CAP_PROP_FRAME_WIDTH width of the frames in the video stream. * CV_CAP_PROP_FRAME_HEIGHT height of the frames in the video stream.<DD><CODE>value</CODE> - value of the property.<DT><B>See Also:</B><DD><a href="http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture-set">org.opencv.highgui.VideoCapture.set</a></DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> <a href=http://docs.opencv.org>OpenCV 2.4.8 Documentation</a></EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../org/opencv/highgui/Highgui.html" title="class in org.opencv.highgui"><B>PREV CLASS</B></A>&nbsp; &nbsp;NEXT CLASS</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/opencv/highgui/VideoCapture.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="VideoCapture.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
build/scripts/common/directives/sv-loader.html
SvitlanaShepitsena/remax16
<md-progress-circular md-mode="indeterminate" class="md-accent"></md-progress-circular>
vendor/apache-jmeter-2.11/docs/api/org/apache/jmeter/protocol/http/util/accesslog/package-summary.html
tjmaher/elemental-selenium-tips
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_45) on Tue Dec 31 17:08:27 CET 2013 --> <TITLE> org.apache.jmeter.protocol.http.util.accesslog (Apache JMeter API) </TITLE> <META NAME="date" CONTENT="2013-12-31"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="org.apache.jmeter.protocol.http.util.accesslog (Apache JMeter API)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> <b>Apache JMeter</b></EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../../../../../org/apache/jmeter/protocol/http/util/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp; &nbsp;<A HREF="../../../../../../../org/apache/jmeter/protocol/http/visualizers/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../../index.html?org/apache/jmeter/protocol/http/util/accesslog/package-summary.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <H2> Package org.apache.jmeter.protocol.http.util.accesslog </H2> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Interface Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../../../../org/apache/jmeter/protocol/http/util/accesslog/Filter.html" title="interface in org.apache.jmeter.protocol.http.util.accesslog">Filter</A></B></TD> <TD>Description:<br> <br> Filter interface is designed to make it easier to use Access Logs for JMeter test plans.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../../../../org/apache/jmeter/protocol/http/util/accesslog/Generator.html" title="interface in org.apache.jmeter.protocol.http.util.accesslog">Generator</A></B></TD> <TD>Description:<br> <br> Generator is a base interface that defines the minimum methods needed to implement a concrete generator.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../../../../org/apache/jmeter/protocol/http/util/accesslog/LogParser.html" title="interface in org.apache.jmeter.protocol.http.util.accesslog">LogParser</A></B></TD> <TD>Description:<br> <br> LogParser is the base interface for classes implementing concrete parse logic.</TD> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../../../../org/apache/jmeter/protocol/http/util/accesslog/LogFilter.html" title="class in org.apache.jmeter.protocol.http.util.accesslog">LogFilter</A></B></TD> <TD>Description:<br> <br> LogFilter is a basic implementation of Filter interface.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../../../../org/apache/jmeter/protocol/http/util/accesslog/NVPair.html" title="class in org.apache.jmeter.protocol.http.util.accesslog">NVPair</A></B></TD> <TD>Description:<br> <br></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../../../../org/apache/jmeter/protocol/http/util/accesslog/OrderPreservingLogParser.html" title="class in org.apache.jmeter.protocol.http.util.accesslog">OrderPreservingLogParser</A></B></TD> <TD>&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../../../../org/apache/jmeter/protocol/http/util/accesslog/SessionFilter.html" title="class in org.apache.jmeter.protocol.http.util.accesslog">SessionFilter</A></B></TD> <TD>Provides Session Filtering for the AccessLog Sampler.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../../../../org/apache/jmeter/protocol/http/util/accesslog/SharedTCLogParser.html" title="class in org.apache.jmeter.protocol.http.util.accesslog">SharedTCLogParser</A></B></TD> <TD>&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../../../../org/apache/jmeter/protocol/http/util/accesslog/StandardGenerator.html" title="class in org.apache.jmeter.protocol.http.util.accesslog">StandardGenerator</A></B></TD> <TD>Description:<br> <br> StandardGenerator will be the default generator used to pre-process logs.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD WIDTH="15%"><B><A HREF="../../../../../../../org/apache/jmeter/protocol/http/util/accesslog/TCLogParser.html" title="class in org.apache.jmeter.protocol.http.util.accesslog">TCLogParser</A></B></TD> <TD>Description:<br> <br> Currently the parser only handles GET/POST requests.</TD> </TR> </TABLE> &nbsp; <P> <DL> </DL> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> <b>Apache JMeter</b></EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../../../../../org/apache/jmeter/protocol/http/util/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp; &nbsp;<A HREF="../../../../../../../org/apache/jmeter/protocol/http/visualizers/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../../index.html?org/apache/jmeter/protocol/http/util/accesslog/package-summary.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright &#xA9; 1998-2013 Apache Software Foundation. All Rights Reserved. </BODY> </HTML>
docs/components.html
up2vs/todc-bootstrap
--- layout: default title: Components slug: components lead: "Over a dozen reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more." base_url: "../" --- {% include components/glyphicons.html %} {% include components/dropdowns.html %} {% include components/button-groups.html %} {% include components/button-dropdowns.html %} {% include components/input-groups.html %} {% include components/navs.html %} {% include components/navbar.html %} {% include components/masthead.html %} {% include components/toolbar.html %} {% include components/breadcrumbs.html %} {% include components/pagination.html %} {% include components/labels.html %} {% include components/badges.html %} {% include components/jumbotron.html %} {% include components/page-header.html %} {% include components/thumbnails.html %} {% include components/alerts.html %} {% include components/progress-bars.html %} {% include components/media.html %} {% include components/list-group.html %} {% include components/panels.html %} {% include components/responsive-embed.html %} {% include components/wells.html %} {% include components/scrollbars.html %} {% include components/scrollable-shadow.html %}
fellows.html
hanafiah/jomwebjohor.github.io
--- layout: page title: #Fellows permalink: /fellows/ --- <style> .clear { clear: both; margin-bottom: 30px; } </style> {% for author_item in site.authors %} {% assign key = author_item[0] %} {% assign author = author_item[1] %} <div class="clear"></div> <hr /> {% include ahli.html %} {% endfor %}
third-party/src/boost_1_56_0/doc/html/boost_asio/reference/buffer/overload3.html
rkq/cxxexp
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>buffer (3 of 28 overloads)</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> <link rel="up" href="../buffer.html" title="buffer"> <link rel="prev" href="overload2.html" title="buffer (2 of 28 overloads)"> <link rel="next" href="overload4.html" title="buffer (4 of 28 overloads)"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> <td align="center"><a href="../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload4.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> <a name="boost_asio.reference.buffer.overload3"></a><a class="link" href="overload3.html" title="buffer (3 of 28 overloads)">buffer (3 of 28 overloads)</a> </h4></div></div></div> <p> Create a new non-modifiable buffer from an existing buffer. </p> <pre class="programlisting"><span class="identifier">const_buffers_1</span> <span class="identifier">buffer</span><span class="special">(</span> <span class="keyword">const</span> <span class="identifier">const_buffer</span> <span class="special">&amp;</span> <span class="identifier">b</span><span class="special">);</span> </pre> <h6> <a name="boost_asio.reference.buffer.overload3.h0"></a> <span class="phrase"><a name="boost_asio.reference.buffer.overload3.return_value"></a></span><a class="link" href="overload3.html#boost_asio.reference.buffer.overload3.return_value">Return Value</a> </h6> <p> <code class="computeroutput"><span class="identifier">const_buffers_1</span><span class="special">(</span><span class="identifier">b</span><span class="special">)</span></code>. </p> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2003-2014 Christopher M. Kohlhoff<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload4.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
fragdenstaat_de/theme/templates/publicbody/jurisdiction/brandenburg.html
catcosmo/fragdenstaat_de
{% extends 'publicbody/jurisdiction/berlin-brandenburg.html' %}
src/Umbraco.Web.UI.Client/src/views/components/users/umb-user-group-preview.html
marcemarc/Umbraco-CMS
<div class="umb-user-group-preview"> <umb-icon icon="{{icon}}" class="umb-user-group-preview__icon"></umb-icon> <div class="umb-user-group-preview__content"> <div class="umb-user-group-preview__name">{{ name }}</div> <div class="umb-user-group-preview__permissions" ng-if="sections"> <span> <span class="bold"><localize key="main_sections">Sections</localize>:</span> <span ng-repeat="section in sections" class="umb-user-group-preview__permission">{{ section.name }}</span> <span ng-if="sections.length === 0">All sections</span> </span> </div> <div class="umb-user-group-preview__permissions" ng-if="!hideContentStartNode"> <span> <span class="bold"><localize key="user_startnode">Content start node</localize>:</span> <span ng-if="!contentStartNode"><localize key="user_noStartNode">No start node selected</localize></span> <span ng-if="contentStartNode">{{ contentStartNode.name }}</span> </span> </div> <div class="umb-user-group-preview__permissions" ng-if="!hideMediaStartNode"> <span> <span class="bold"><localize key="user_mediastartnode">Media start node</localize>:</span> <span ng-if="!mediaStartNode"><localize key="user_noStartNode">No start node selected</localize></span> <span ng-if="mediaStartNode">{{ mediaStartNode.name }}</span> </span> </div> <div class="umb-user-group-preview__permissions" ng-if="permissions"> <span> <span class="bold"><localize key="general_rights">Permissions</localize>:</span> <span ng-repeat="permission in permissions" class="umb-user-group-preview__permission">{{ permission.name }}</span> </span> </div> </div> <div class="umb-user-group-preview__actions"> <button class="btn-link umb-user-group-preview__action" title="Edit" ng-if="allowEdit" ng-click="onEdit()"><localize key="general_edit">Edit</localize></button> <button class="btn-link umb-user-group-preview__action umb-user-group-preview__action--red" title="Remove" ng-if="allowRemove" ng-click="onRemove()"><localize key="general_remove">Remove</localize></button> </div> </div>
sites/all/themes/nweurope2016/css/nweurope2016-alpha-default-wide.css
civicrm/civicon
/* This file will hold styles that are loaded using the same media query as the wide grid. */ /* .hp-intro { width: 65%; } .front .node-page { width: 70%; } #zone-preface-wrapper { background: #0B6186 url(images/logos-wide.png) no-repeat center center; } #zone-preface { background: url(images/dude-75.png) repeat-x 0 bottom; padding-bottom: 86px; } /* sponsors */ /* back to bigger size ribbons .gold .views-row, .lunch .views-row { width: 170px; margin: 0 15px; background: url(images/gold-wide.png) no-repeat center bottom; padding-bottom: 78px; } .lunch .views-row { float: none; background-image: url(images/lunch-wide.png); } .silver .views-row { width: 120px; margin: 0 15px; background: url(images/silver-wide.png) no-repeat center bottom; padding-bottom: 64px; } .gold .views-field-field-sponsor-logo { height: 140px; } .silver .views-field-field-sponsor-logo { height: 60px; padding-top: 10px; } /* taking off relevant margins to keep ribbon rows centered (margin styles above override ones in normal.css) .gold .views-row-last, .silver .views-row-last { margin-right: 0; } .gold .views-row-first, .silver .views-row-first { margin-left: 0; } */
myodd/boost/libs/spirit/doc/html/spirit/lex/abstracts/lexer_static_model.html
FFMG/myoddweb.piger
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>The Static Lexer Model</title> <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../index.html" title="Spirit 2.5.2"> <link rel="up" href="../abstracts.html" title="Abstracts"> <link rel="prev" href="lexer_semantic_actions.html" title="Lexer Semantic Actions"> <link rel="next" href="../quick_reference.html" title="Quick Reference"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> <td align="center"><a href="../../../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="lexer_semantic_actions.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../abstracts.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../quick_reference.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> <a name="spirit.lex.abstracts.lexer_static_model"></a><a class="link" href="lexer_static_model.html" title="The Static Lexer Model">The <span class="emphasis"><em>Static</em></span> Lexer Model</a> </h4></div></div></div> <p> The documentation of <span class="emphasis"><em>Spirit.Lex</em></span> so far mostly was about describing the features of the <span class="emphasis"><em>dynamic</em></span> model, where the tables needed for lexical analysis are generated from the regular expressions at runtime. The big advantage of the dynamic model is its flexibility, and its integration with the <a href="http://boost-spirit.com" target="_top">Spirit</a> library and the C++ host language. Its big disadvantage is the need to spend additional runtime to generate the tables, which especially might be a limitation for larger lexical analyzers. The <span class="emphasis"><em>static</em></span> model strives to build upon the smooth integration with <a href="http://boost-spirit.com" target="_top">Spirit</a> and C++, and reuses large parts of the <span class="emphasis"><em>Spirit.Lex</em></span> library as described so far, while overcoming the additional runtime requirements by using pre-generated tables and tokenizer routines. To make the code generation as simple as possible, the static model reuses the token definition types developed for the <span class="emphasis"><em>dynamic</em></span> model without any changes. As will be shown in this section, building a code generator based on an existing token definition type is a matter of writing 3 lines of code. </p> <p> Assuming you already built a dynamic lexer for your problem, there are two more steps needed to create a static lexical analyzer using <span class="emphasis"><em>Spirit.Lex</em></span>: </p> <div class="orderedlist"><ol class="orderedlist" type="1"> <li class="listitem"> generating the C++ code for the static analyzer (including the tokenization function and corresponding tables), and </li> <li class="listitem"> modifying the dynamic lexical analyzer to use the generated code. </li> </ol></div> <p> Both steps are described in more detail in the two sections below (for the full source code used in this example see the code here: <a href="../../../../../example/lex/static_lexer/word_count_tokens.hpp" target="_top">the common token definition</a>, <a href="../../../../../example/lex/static_lexer/word_count_generate.cpp" target="_top">the code generator</a>, <a href="../../../../../example/lex/static_lexer/word_count_static.hpp" target="_top">the generated code</a>, and <a href="../../../../../example/lex/static_lexer/word_count_static.cpp" target="_top">the static lexical analyzer</a>). </p> <p> But first we provide the code snippets needed to further understand the descriptions. Both, the definition of the used token identifier and the of the token definition class in this example are put into a separate header file to make these available to the code generator and the static lexical analyzer. </p> <p> </p> <pre class="programlisting"><span class="keyword">enum</span> <span class="identifier">tokenids</span> <span class="special">{</span> <span class="identifier">IDANY</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">lex</span><span class="special">::</span><span class="identifier">min_token_id</span> <span class="special">+</span> <span class="number">1</span><span class="special">,</span> <span class="special">};</span> </pre> <p> </p> <p> The important point here is, that the token definition class is not different from a similar class to be used for a dynamic lexical analyzer. The library has been designed in a way, that all components (dynamic lexical analyzer, code generator, and static lexical analyzer) can reuse the very same token definition syntax. </p> <p> </p> <pre class="programlisting"><span class="comment">// This token definition class can be used without any change for all three</span> <span class="comment">// possible use cases: a dynamic lexical analyzer, a code generator, and a</span> <span class="comment">// static lexical analyzer.</span> <span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">BaseLexer</span><span class="special">&gt;</span> <span class="keyword">struct</span> <span class="identifier">word_count_tokens</span> <span class="special">:</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexer</span><span class="special">&lt;</span><span class="identifier">BaseLexer</span><span class="special">&gt;</span> <span class="special">{</span> <span class="identifier">word_count_tokens</span><span class="special">()</span> <span class="special">:</span> <span class="identifier">word_count_tokens</span><span class="special">::</span><span class="identifier">base_type</span><span class="special">(</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">lex</span><span class="special">::</span><span class="identifier">match_flags</span><span class="special">::</span><span class="identifier">match_not_dot_newline</span><span class="special">)</span> <span class="special">{</span> <span class="comment">// define tokens and associate them with the lexer</span> <span class="identifier">word</span> <span class="special">=</span> <span class="string">"[^ \t\n]+"</span><span class="special">;</span> <span class="keyword">this</span><span class="special">-&gt;</span><span class="identifier">self</span> <span class="special">=</span> <span class="identifier">word</span> <span class="special">|</span> <span class="char">'\n'</span> <span class="special">|</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">lex</span><span class="special">::</span><span class="identifier">token_def</span><span class="special">&lt;&gt;(</span><span class="string">"."</span><span class="special">,</span> <span class="identifier">IDANY</span><span class="special">);</span> <span class="special">}</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">lex</span><span class="special">::</span><span class="identifier">token_def</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&gt;</span> <span class="identifier">word</span><span class="special">;</span> <span class="special">};</span> </pre> <p> </p> <p> The only thing changing between the three different use cases is the template parameter used to instantiate a concrete token definition. For the dynamic model and the code generator you probably will use the <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">lexer</span><span class="special">&lt;&gt;</span></code> template, where for the static model you will use the <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">static_lexer</span><span class="special">&lt;&gt;</span></code> type as the template parameter. </p> <p> This example not only shows how to build a static lexer, but it additionally demonstrates how such a lexer can be used for parsing in conjunction with a <span class="emphasis"><em>Spirit.Qi</em></span> grammar. For completeness, we provide the simple grammar used in this example. As you can see, this grammar does not have any dependencies on the static lexical analyzer, and for this reason it is not different from a grammar used either without a lexer or using a dynamic lexical analyzer as described before. </p> <p> </p> <pre class="programlisting"><span class="comment">// This is an ordinary grammar definition following the rules defined by </span> <span class="comment">// Spirit.Qi. There is nothing specific about it, except it gets the token</span> <span class="comment">// definition class instance passed to the constructor to allow accessing the</span> <span class="comment">// embedded token_def&lt;&gt; instances.</span> <span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">&gt;</span> <span class="keyword">struct</span> <span class="identifier">word_count_grammar</span> <span class="special">:</span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">grammar</span><span class="special">&lt;</span><span class="identifier">Iterator</span><span class="special">&gt;</span> <span class="special">{</span> <span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">TokenDef</span><span class="special">&gt;</span> <span class="identifier">word_count_grammar</span><span class="special">(</span><span class="identifier">TokenDef</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">tok</span><span class="special">)</span> <span class="special">:</span> <span class="identifier">word_count_grammar</span><span class="special">::</span><span class="identifier">base_type</span><span class="special">(</span><span class="identifier">start</span><span class="special">)</span> <span class="special">,</span> <span class="identifier">c</span><span class="special">(</span><span class="number">0</span><span class="special">),</span> <span class="identifier">w</span><span class="special">(</span><span class="number">0</span><span class="special">),</span> <span class="identifier">l</span><span class="special">(</span><span class="number">0</span><span class="special">)</span> <span class="special">{</span> <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">phoenix</span><span class="special">::</span><span class="identifier">ref</span><span class="special">;</span> <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">phoenix</span><span class="special">::</span><span class="identifier">size</span><span class="special">;</span> <span class="comment">// associate the defined tokens with the lexer, at the same time </span> <span class="comment">// defining the actions to be executed </span> <span class="identifier">start</span> <span class="special">=</span> <span class="special">*(</span> <span class="identifier">tok</span><span class="special">.</span><span class="identifier">word</span> <span class="special">[</span> <span class="special">++</span><span class="identifier">ref</span><span class="special">(</span><span class="identifier">w</span><span class="special">),</span> <span class="identifier">ref</span><span class="special">(</span><span class="identifier">c</span><span class="special">)</span> <span class="special">+=</span> <span class="identifier">size</span><span class="special">(</span><span class="identifier">_1</span><span class="special">)</span> <span class="special">]</span> <span class="special">|</span> <span class="identifier">lit</span><span class="special">(</span><span class="char">'\n'</span><span class="special">)</span> <span class="special">[</span> <span class="special">++</span><span class="identifier">ref</span><span class="special">(</span><span class="identifier">l</span><span class="special">),</span> <span class="special">++</span><span class="identifier">ref</span><span class="special">(</span><span class="identifier">c</span><span class="special">)</span> <span class="special">]</span> <span class="special">|</span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">token</span><span class="special">(</span><span class="identifier">IDANY</span><span class="special">)</span> <span class="special">[</span> <span class="special">++</span><span class="identifier">ref</span><span class="special">(</span><span class="identifier">c</span><span class="special">)</span> <span class="special">]</span> <span class="special">)</span> <span class="special">;</span> <span class="special">}</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">c</span><span class="special">,</span> <span class="identifier">w</span><span class="special">,</span> <span class="identifier">l</span><span class="special">;</span> <span class="comment">// counter for characters, words, and lines</span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">rule</span><span class="special">&lt;</span><span class="identifier">Iterator</span><span class="special">&gt;</span> <span class="identifier">start</span><span class="special">;</span> <span class="special">};</span> </pre> <p> </p> <h6> <a name="spirit.lex.abstracts.lexer_static_model.h0"></a> <span class="phrase"><a name="spirit.lex.abstracts.lexer_static_model.generating_the_static_analyzer"></a></span><a class="link" href="lexer_static_model.html#spirit.lex.abstracts.lexer_static_model.generating_the_static_analyzer">Generating the Static Analyzer</a> </h6> <p> The first additional step to perform in order to create a static lexical analyzer is to create a small stand alone program for creating the lexer tables and the corresponding tokenization function. For this purpose the <span class="emphasis"><em>Spirit.Lex</em></span> library exposes a special API - the function <code class="computeroutput"><span class="identifier">generate_static_dfa</span><span class="special">()</span></code> . It implements the whole code generator, no further code is needed. All what it takes to invoke this function is to supply a token definition instance, an output stream to use to generate the code to, and an optional string to be used as a suffix for the name of the generated function. All in all just a couple lines of code. </p> <p> </p> <pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">argc</span><span class="special">,</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">argv</span><span class="special">[])</span> <span class="special">{</span> <span class="comment">// create the lexer object instance needed to invoke the generator</span> <span class="identifier">word_count_tokens</span><span class="special">&lt;</span><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">lexer</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">word_count</span><span class="special">;</span> <span class="comment">// the token definition</span> <span class="comment">// open the output file, where the generated tokenizer function will be </span> <span class="comment">// written to</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">ofstream</span> <span class="identifier">out</span><span class="special">(</span><span class="identifier">argc</span> <span class="special">&lt;</span> <span class="number">2</span> <span class="special">?</span> <span class="string">"word_count_static.hpp"</span> <span class="special">:</span> <span class="identifier">argv</span><span class="special">[</span><span class="number">1</span><span class="special">]);</span> <span class="comment">// invoke the generator, passing the token definition, the output stream </span> <span class="comment">// and the name suffix of the tables and functions to be generated</span> <span class="comment">//</span> <span class="comment">// The suffix "wc" used below results in a type lexertl::static_::lexer_wc</span> <span class="comment">// to be generated, which needs to be passed as a template parameter to the </span> <span class="comment">// lexertl::static_lexer template (see word_count_static.cpp).</span> <span class="keyword">return</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">generate_static_dfa</span><span class="special">(</span><span class="identifier">word_count</span><span class="special">,</span> <span class="identifier">out</span><span class="special">,</span> <span class="string">"wc"</span><span class="special">)</span> <span class="special">?</span> <span class="number">0</span> <span class="special">:</span> <span class="special">-</span><span class="number">1</span><span class="special">;</span> <span class="special">}</span> </pre> <p> </p> <p> The shown code generator will generate output, which should be stored in a file for later inclusion into the static lexical analyzer as shown in the next topic (the full generated code can be viewed <a href="../../../../../example/lex/static_lexer/word_count_static.hpp" target="_top">here</a>). </p> <div class="note"><table border="0" summary="Note"> <tr> <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../images/note.png"></td> <th align="left">Note</th> </tr> <tr><td align="left" valign="top"><p> The generated code will have compiled in the version number of the current <span class="emphasis"><em>Spirit.Lex</em></span> library. This version number is used at compilation time of your static lexer object to ensure this is compiled using exactly the same version of the <span class="emphasis"><em>Spirit.Lex</em></span> library as the lexer tables have been generated with. If the versions do not match you will see an compilation error mentioning an <code class="computeroutput"><span class="identifier">incompatible_static_lexer_version</span></code>. </p></td></tr> </table></div> <h6> <a name="spirit.lex.abstracts.lexer_static_model.h1"></a> <span class="phrase"><a name="spirit.lex.abstracts.lexer_static_model.modifying_the_dynamic_analyzer"></a></span><a class="link" href="lexer_static_model.html#spirit.lex.abstracts.lexer_static_model.modifying_the_dynamic_analyzer">Modifying the Dynamic Analyzer</a> </h6> <p> The second required step to convert an existing dynamic lexer into a static one is to change your main program at two places. First, you need to change the type of the used lexer (that is the template parameter used while instantiating your token definition class). While in the dynamic model we have been using the <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">lexer</span><span class="special">&lt;&gt;</span></code> template, we now need to change that to the <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">static_lexer</span><span class="special">&lt;&gt;</span></code> type. The second change is tightly related to the first one and involves correcting the corresponding <code class="computeroutput"><span class="preprocessor">#include</span></code> statement to: </p> <p> </p> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">lex_static_lexertl</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> </pre> <p> </p> <p> Otherwise the main program is not different from an equivalent program using the dynamic model. This feature makes it easy to develop the lexer in dynamic mode and to switch to the static mode after the code has been stabilized. The simple generator application shown above enables the integration of the code generator into any existing build process. The following code snippet provides the overall main function, highlighting the code to be changed. </p> <p> </p> <pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">argc</span><span class="special">,</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">argv</span><span class="special">[])</span> <span class="special">{</span> <span class="comment">// Define the token type to be used: 'std::string' is available as the type </span> <span class="comment">// of the token value.</span> <span class="keyword">typedef</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">token</span><span class="special">&lt;</span> <span class="keyword">char</span> <span class="keyword">const</span><span class="special">*,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="identifier">token_type</span><span class="special">;</span> <span class="comment">// Define the lexer type to be used as the base class for our token </span> <span class="comment">// definition.</span> <span class="comment">//</span> <span class="comment">// This is the only place where the code is different from an equivalent</span> <span class="comment">// dynamic lexical analyzer. We use the `lexertl::static_lexer&lt;&gt;` instead of</span> <span class="comment">// the `lexertl::lexer&lt;&gt;` as the base class for our token defintion type.</span> <span class="comment">//</span> <span class="comment">// As we specified the suffix "wc" while generating the static tables we </span> <span class="comment">// need to pass the type lexertl::static_::lexer_wc as the second template</span> <span class="comment">// parameter below (see word_count_generate.cpp).</span> <span class="keyword">typedef</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">static_lexer</span><span class="special">&lt;</span> <span class="identifier">token_type</span><span class="special">,</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">static_</span><span class="special">::</span><span class="identifier">lexer_wc</span> <span class="special">&gt;</span> <span class="identifier">lexer_type</span><span class="special">;</span> <span class="comment">// Define the iterator type exposed by the lexer.</span> <span class="keyword">typedef</span> <span class="identifier">word_count_tokens</span><span class="special">&lt;</span><span class="identifier">lexer_type</span><span class="special">&gt;::</span><span class="identifier">iterator_type</span> <span class="identifier">iterator_type</span><span class="special">;</span> <span class="comment">// Now we use the types defined above to create the lexer and grammar</span> <span class="comment">// object instances needed to invoke the parsing process.</span> <span class="identifier">word_count_tokens</span><span class="special">&lt;</span><span class="identifier">lexer_type</span><span class="special">&gt;</span> <span class="identifier">word_count</span><span class="special">;</span> <span class="comment">// Our lexer</span> <span class="identifier">word_count_grammar</span><span class="special">&lt;</span><span class="identifier">iterator_type</span><span class="special">&gt;</span> <span class="identifier">g</span> <span class="special">(</span><span class="identifier">word_count</span><span class="special">);</span> <span class="comment">// Our parser</span> <span class="comment">// Read in the file into memory.</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str</span> <span class="special">(</span><span class="identifier">read_from_file</span><span class="special">(</span><span class="number">1</span> <span class="special">==</span> <span class="identifier">argc</span> <span class="special">?</span> <span class="string">"word_count.input"</span> <span class="special">:</span> <span class="identifier">argv</span><span class="special">[</span><span class="number">1</span><span class="special">]));</span> <span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">first</span> <span class="special">=</span> <span class="identifier">str</span><span class="special">.</span><span class="identifier">c_str</span><span class="special">();</span> <span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">last</span> <span class="special">=</span> <span class="special">&amp;</span><span class="identifier">first</span><span class="special">[</span><span class="identifier">str</span><span class="special">.</span><span class="identifier">size</span><span class="special">()];</span> <span class="comment">// Parsing is done based on the token stream, not the character stream.</span> <span class="keyword">bool</span> <span class="identifier">r</span> <span class="special">=</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize_and_parse</span><span class="special">(</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">,</span> <span class="identifier">word_count</span><span class="special">,</span> <span class="identifier">g</span><span class="special">);</span> <span class="keyword">if</span> <span class="special">(</span><span class="identifier">r</span><span class="special">)</span> <span class="special">{</span> <span class="comment">// success</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"lines: "</span> <span class="special">&lt;&lt;</span> <span class="identifier">g</span><span class="special">.</span><span class="identifier">l</span> <span class="special">&lt;&lt;</span> <span class="string">", words: "</span> <span class="special">&lt;&lt;</span> <span class="identifier">g</span><span class="special">.</span><span class="identifier">w</span> <span class="special">&lt;&lt;</span> <span class="string">", characters: "</span> <span class="special">&lt;&lt;</span> <span class="identifier">g</span><span class="special">.</span><span class="identifier">c</span> <span class="special">&lt;&lt;</span> <span class="string">"\n"</span><span class="special">;</span> <span class="special">}</span> <span class="keyword">else</span> <span class="special">{</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">rest</span><span class="special">(</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">);</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cerr</span> <span class="special">&lt;&lt;</span> <span class="string">"Parsing failed\n"</span> <span class="special">&lt;&lt;</span> <span class="string">"stopped at: \""</span> <span class="special">&lt;&lt;</span> <span class="identifier">rest</span> <span class="special">&lt;&lt;</span> <span class="string">"\"\n"</span><span class="special">;</span> <span class="special">}</span> <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span> <span class="special">}</span> </pre> <p> </p> <div class="important"><table border="0" summary="Important"> <tr> <td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]" src="../../../images/important.png"></td> <th align="left">Important</th> </tr> <tr><td align="left" valign="top"><p> The generated code for the static lexer contains the token ids as they have been assigned, either explicitly by the programmer or implicitly during lexer construction. It is your responsibility to make sure that all instances of a particular static lexer type use exactly the same token ids. The constructor of the lexer object has a second (default) parameter allowing it to designate a starting token id to be used while assigning the ids to the token definitions. The requirement above is fulfilled by default as long as no <code class="computeroutput"><span class="identifier">first_id</span></code> is specified during construction of the static lexer instances. </p></td></tr> </table></div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Joel de Guzman, Hartmut Kaiser<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="lexer_semantic_actions.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../abstracts.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../quick_reference.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
xe/modules/trash/tpl/trash_list.html
yjkim/toolbe
<script> var confirm_restore_msg = '{$lang->confirm_restore}'; var no_text_comment = '{$lang->no_text_comment}'; </script> <load target="js/trash_admin.js" /> <div class="x_page-header"> <h1>{$lang->trash} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_content_trash" target="_blank">{$lang->help}</a></h1> </div> <div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/trash/tpl/trash_list/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}"> <p>{$XE_VALIDATOR_MESSAGE}</p> </div> <form ruleset="emptyTrash" action="./" method="post"> <input type="hidden" name="module" value="trash" /> <input type="hidden" name="act" value="procTrashAdminEmptyTrash" /> <input type="hidden" name="page" value="{$page}" /> <input type="hidden" name="is_all" value="true" /> <p> <button type="submit" class="x_btn x_btn-warning x_btn-primary" name="is_all" value="true">{$lang->empty_trash_all}</button> &nbsp;{$lang->remove_all_trash_item} </p> <table id="trashListTable" class="x_table x_table-striped x_table-hover"> <caption> <strong>{$lang->all}({number_format($total_count)})</strong> <div class="x_pull-right x_btn-group"> <a href="#fo_list" class="x_btn modalAnchor" data-name="is_all" data-value="false">{$lang->delete}</a> <a href="#fo_list" class="x_btn modalAnchor" data-name="act" data-value="procTrashAdminRestore">{$lang->restore}</a> </div> </caption> <thead> <tr> <th scope="col" class="title">{$lang->document}</th> <th scope="col" class="nowr">{$lang->origin_module_type}</th> <th scope="col" class="nowr">{$lang->trash_nick_name}</th> <th scope="col" class="nowr">{$lang->trash_date}</th> <th scope="col" class="nowr">{$lang->ipaddress}</th> <th scope="col" class="title">{$lang->trash_description}</th> <th scope="col"><input type="checkbox" title="Check All" data-name="cart" /></th> </tr> </thead> <tbody> <tr loop="$trash_list => $no, $oTrashVO"> <td class="title"> <strong cond="!trim($oTrashVO->getTitle()) && $oTrashVO->getOriginModule() == 'comment'">{$lang->no_text_comment}</strong> <block cond="trim($oTrashVO->getTitle())"> <block cond="isset($module_list[$oTrashVO->unserializedObject['module_srl']])"> <a href="{getUrl('', 'mid', $module_list[$oTrashVO->unserializedObject['module_srl']]->mid)}" target="_blank">{$module_list[$oTrashVO->unserializedObject['module_srl']]->browser_title}</a> - </block> <a href="{getUrl('act','dispTrashAdminView','trash_srl',$oTrashVO->getTrashSrl())}">{$oTrashVO->getTitle()}</a> </block> </td> <td class="nowr"><!--@if($oTrashVO->getOriginModule() == 'document')-->{$lang->document}<!--@else-->{$lang->comment}<!--@end--></td> <td class="nowr"><a href="#popup_menu_area" class="member_{$oTrashVO->getRemoverSrl()}">{$oTrashVO->getNickName()}</a></td> <td class="nowr">{zdate($oTrashVO->getRegdate(), "Y-m-d H:i:s")}</td> <td class="nowr">{$oTrashVO->getIpaddress()}</td> <td class="title">{$oTrashVO->getDescription()}</td> <td><input type="checkbox" name="cart" value="{$oTrashVO->getTrashSrl()}" /></td> </tr> <tr cond="!$trash_list"> <td>{$lang->no_documents}</td> </tr> </tbody> </table> <div class="x_pull-right x_btn-group"> <a href="#fo_list" class="x_btn modalAnchor" data-name="is_all" data-value="false">{$lang->delete}</a> <a href="#fo_list" class="x_btn modalAnchor" data-name="act" data-value="procTrashAdminRestore">{$lang->restore}</a> </div> </form> <form action="" class="x_pagination"> <input type="hidden" name="error_return_url" value="" /> <input type="hidden" name="module" value="{$module}" /> <input type="hidden" name="act" value="{$act}" /> <input cond="$search_keyword" type="hidden" name="search_keyword" value="{$search_keyword}" /> <input cond="$search_target" type="hidden" name="search_target" value="{$search_target}" /> <ul> <li class="x_disabled"|cond="!$page || $page == 1"><a href="{getUrl('page', '')}">&laquo; {$lang->first_page}</a></li> <block cond="$page_navigation->first_page != 1 && $page_navigation->first_page + $page_navigation->page_count > $page_navigation->last_page - 1 && $page_navigation->page_count != $page_navigation->total_page"> {@$isGoTo = true} <li> <a href="#goTo" data-toggle title="{$lang->cmd_go_to_page}">&hellip;</a> <span cond="$isGoTo" id="goTo" class="x_input-append"> <input type="number" min="1" max="{$page_navigation->last_page}" required name="page" title="{$lang->cmd_go_to_page}" /> <button type="submit" class="x_add-on">Go</button> </span> </li> </block> <!--@while($page_no = $page_navigation->getNextPage())--> {@$last_page = $page_no} <li class="x_active"|cond="$page_no == $page"><a href="{getUrl('page', $page_no)}">{$page_no}</a></li> <!--@end--> <block cond="$last_page != $page_navigation->last_page && $last_page + 1 != $page_navigation->last_page"> {@$isGoTo = true} <li> <a href="#goTo" data-toggle title="{$lang->cmd_go_to_page}">&hellip;</a> <span cond="$isGoTo" id="goTo" class="x_input-append"> <input type="number" min="1" max="{$page_navigation->last_page}" required name="page" title="{$lang->cmd_go_to_page}" /> <button type="submit" class="x_add-on">Go</button> </span> </li> </block> <li class="x_disabled"|cond="$page == $page_navigation->last_page"><a href="{getUrl('page', $page_navigation->last_page)}" title="{$page_navigation->last_page}">{$lang->last_page} &raquo;</a></li> </ul> </form> <form ruleset="emptyTrash" id="fo_list" action="./" method="post" class="x_modal"> <input type="hidden" name="module" value="trash" /> <input type="hidden" name="act" value="procTrashAdminEmptyTrash" /> <input type="hidden" name="page" value="{$page}" /> <input type="hidden" name="is_all" value="false" /> <input type="hidden" name="origin_module" value="{$origin_module}" /> <input type="hidden" name="xe_validator_id" value="modules/trash/tpl/trash_list/1" /> <div class="x_modal-header"> <h1>{$lang->document_manager}: <span class="_sub"></span></h1> </div> <div class="x_modal-body"> <table id="trashManageListTable" class="x_table x_table-striped x_table-hover"> <caption> <strong>{$lang->selected_document} <span id="selectedTrashCount"></span></strong> </caption> <thead> <tr> <th scope="col" class="title">{$lang->document}</th> <th scope="col" class="nowr">{$lang->trash_nick_name}</th> <th scope="col" class="nowr">{$lang->ipaddress}</th> </tr> </thead> <tbody> </tbody> </table> </div> <div class="x_modal-footer"> <button type="submit" class="x_btn x_btn-inverse x_pull-right" name="is_all|act" value="false|procTrashAdminRestore">{$lang->confirm}</button> </div> </form> <script> jQuery(function($){ // Modal anchor activation var $docTable = $('#trashListTable'); $docTable.find(':checkbox').change(function(){ var $modalAnchor = $('a[data-value]'); if($docTable.find('tbody :checked').length == 0){ $modalAnchor.removeAttr('href').addClass('x_disabled'); } else { $modalAnchor.attr('href','#fo_list').removeClass('x_disabled'); } }).change(); // Modal anchor button action $('a[data-value]').bind('before-open.mw', function(){ if($docTable.find('tbody :checked').length == 0){ $('body').css('overflow','auto'); alert('{$lang->msg_not_selected_document}'); return false; } else { var $this = $(this); var thisName = $this.attr('data-name'); var thisValue = $this.attr('data-value'); var thisText = $this.text(); getTrashList(); $('#fo_list').find('.x_modal-header ._sub').text(thisText).end().find('[type="submit"]').val(thisValue).attr('name',thisName).text(thisText); } }); }); </script>
src/java.xml/share/classes/javax/xml/xpath/package.html
FauxFaux/jdk9-jaxp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <!-- Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. This code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 only, as published by the Free Software Foundation. Oracle designates this particular file as subject to the "Classpath" exception as provided by Oracle in the LICENSE file that accompanied this code. This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details (a copy is included in the LICENSE file that accompanied this code). You should have received a copy of the GNU General Public License version 2 along with this work; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA or visit www.oracle.com if you need additional information or have any questions. --> </head> <body bgcolor="white"> This package provides an <em>object-model neutral</em> API for the evaluation of XPath expressions and access to the evaluation environment. <p> The XPath API supports <a href="http://www.w3.org/TR/xpath"> XML Path Language (XPath) Version 1.0</a> <hr /> <ul> <li><a href='#XPath.Overview'>1. XPath Overview</a></li> <li><a href='#XPath.Expressions'>2. XPath Expressions</a></li> <li><a href='#XPath.Datatypes'>3. XPath Data Types</a> <ul> <li><a href='#XPath.Datatypes.QName'>3.1 QName Types</a> <li><a href='#XPath.Datatypes.Class'>3.2 Class Types</a> <li><a href='#XPath.Datatypes.Enum'>3.3 Enum Types</a> </ul> </li> <li><a href='#XPath.Context'>4. XPath Context</a></li> <li><a href='#XPath.Use'>5. Using the XPath API</a></li> </ul> <p> <a name="XPath.Overview"></a> <h3>1. XPath Overview</h3> <p>The XPath language provides a simple, concise syntax for selecting nodes from an XML document. XPath also provides rules for converting a node in an XML document object model (DOM) tree to a boolean, double, or string value. XPath is a W3C-defined language and an official W3C recommendation; the W3C hosts the XML Path Language (XPath) Version 1.0 specification. </p> <p>XPath started in life in 1999 as a supplement to the XSLT and XPointer languages, but has more recently become popular as a stand-alone language, as a single XPath expression can be used to replace many lines of DOM API code. </p> <a name="XPath.Expressions"></a> <h3>2. XPath Expressions</h3> <p>An XPath <em>expression</em> is composed of a <em>location path</em> and one or more optional <em>predicates</em>. Expressions may also include XPath variables. </p> <p>The following is an example of a simple XPath expression:</p> <blockquote> <pre> /foo/bar </pre> </blockquote> <p>This example would select the <code>&lt;bar&gt;</code> element in an XML document such as the following:</p> <blockquote> <pre> &lt;foo&gt; &lt;bar/&gt; &lt;/foo&gt; </pre> </blockquote> <p>The expression <code>/foo/bar</code> is an example of a location path. While XPath location paths resemble Unix-style file system paths, an important distinction is that XPath expressions return <em>all</em> nodes that match the expression. Thus, all three <code>&lt;bar&gt;</code> elements in the following document would be selected by the <code>/foo/bar</code> expression:</p> <blockquote> <pre> &lt;foo&gt; &lt;bar/&gt; &lt;bar/&gt; &lt;bar/&gt; &lt;/foo&gt; </pre> </blockquote> <p>A special location path operator, <code>//</code>, selects nodes at any depth in an XML document. The following example selects all <code>&lt;bar&gt;</code> elements regardless of their location in a document:</p> <blockquote> <pre> //bar </pre> </blockquote> <p>A wildcard operator, *, causes all element nodes to be selected. The following example selects all children elements of a <code>&lt;foo&gt;</code> element: <blockquote> <pre> /foo/* </pre> </blockquote> <p>In addition to element nodes, XPath location paths may also address attribute nodes, text nodes, comment nodes, and processing instruction nodes. The following table gives examples of location paths for each of these node types:</p> <table border="1"> <tr> <td>Location Path</td> <td>Description</td> </tr> <tr> <td> <code>/foo/bar/<strong>@id</strong></code> </td> <td>Selects the attribute <code>id</code> of the <code>&lt;bar&gt;</code> element </td> </tr> <tr> <td><code>/foo/bar/<strong>text()</strong></code> </td> <td>Selects the text nodes of the <code>&lt;bar&gt;</code> element. No distinction is made between escaped and non-escaped character data. </td> </tr> <tr> <td><code>/foo/bar/<strong>comment()</strong></code> </td> <td>Selects all comment nodes contained in the <code>&lt;bar&gt;</code> element. </td> </tr> <tr> <td><code>/foo/bar/<strong>processing-instruction()</strong></code> </td> <td>Selects all processing-instruction nodes contained in the <code>&lt;bar&gt;</code> element. </td> </tr> </table> <p>Predicates allow for refining the nodes selected by an XPath location path. Predicates are of the form <code>[<em>expression</em>]</code>. The following example selects all <code>&lt;foo&gt;</code> elements that contain an <code>include</code> attribute with the value of <code>true</code>:</p> <blockquote> <pre> //foo[@include='true'] </pre> </blockquote> <p>Predicates may be appended to each other to further refine an expression, such as:</p> <blockquote> <pre> //foo[@include='true'][@mode='bar'] </pre> </blockquote> <a name="XPath.Datatypes"></a> <h3>3. XPath Data Types</h3> <p>While XPath expressions select nodes in the XML document, the XPath API allows the selected nodes to be coalesced into one of the following data types:</p> <ul> <li><code>Boolean</code></li> <li><code>Number</code></li> <li><code>String</code></li> </ul> <a name="XPath.Datatypes.QName"></a> <h3>3.1 QName types</h3> The XPath API defines the following {@link javax.xml.namespace.QName} types to represent return types of an XPath evaluation: <ul> <li>{@link javax.xml.xpath.XPathConstants#NODESET}</li> <li>{@link javax.xml.xpath.XPathConstants#NODE}</li> <li>{@link javax.xml.xpath.XPathConstants#STRING}</li> <li>{@link javax.xml.xpath.XPathConstants#BOOLEAN}</li> <li>{@link javax.xml.xpath.XPathConstants#NUMBER}</li> </ul> <p>The return type is specified by a {@link javax.xml.namespace.QName} parameter in method call used to evaluate the expression, which is either a call to <code>XPathExpression.evalute(...)</code> or <code>XPath.evaluate(...)</code> methods. <p>When a <code>Boolean</code> return type is requested, <code>Boolean.TRUE</code> is returned if one or more nodes were selected; otherwise, <code>Boolean.FALSE</code> is returned. <p>The <code>String</code> return type is a convenience for retrieving the character data from a text node, attribute node, comment node, or processing-instruction node. When used on an element node, the value of the child text nodes is returned. <p>The <code>Number</code> return type attempts to coalesce the text of a node to a <code>double</code> data type. <a name="XPath.Datatypes.Class"></a> <h3>3.2 Class types</h3> In addition to the QName types, the XPath API supports the use of Class types through the <code>XPathExpression.evaluteExpression(...)</code> or <code>XPath.evaluateExpression(...)</code> methods. The XPath data types are mapped to Class types as follows: <ul> <li><code>Boolean</code> -- <code>Boolean.class</code></li> <li><code>Number</code> -- <code>Number.class</code></li> <li><code>String</code> -- <code>String.class</code></li> <li><code>Nodeset</code> -- <code>XPathNodes.class</code></li> <li><code>Node</code> -- <code>Node.class</code></li> </ul> <p> Of the subtypes of Number, only Double, Integer and Long are supported. <a name="XPath.Datatypes.Enum"></a> <h3>3.3 Enum types</h3> Enum types are defined in {@link javax.xml.xpath.XPathEvaluationResult.XPathResultType} that provide mappings between the QName and Class types above. The result of evaluating an expression using the <code>XPathExpression.evaluteExpression(...)</code> or <code>XPath.evaluateExpression(...)</code> methods will be of one of these types. <a name="XPath.Context"></a> <h3>4. XPath Context</h3> <p>XPath location paths may be relative to a particular node in the document, known as the <code>context</code>. A context consists of: <ul> <li>a node (the context node)</li> <li>a pair of non-zero positive integers (the context position and the context size)</li> <li>a set of variable bindings</li> <li>a function library</li> <li>the set of namespace declarations in scope for the expression</li> </ul> <p> It is an XML document tree represented as a hierarchy of nodes, a {@link org.w3c.dom.Node} for example, in the JDK implementation. <a name="XPath.Use"></a> <h3>5. Using the XPath API</h3> Consider the following XML document: <blockquote> <pre> &lt;widgets&gt; &lt;widget&gt; &lt;manufacturer/&gt; &lt;dimensions/&gt; &lt;/widget&gt; &lt;/widgets&gt; </pre> </blockquote> <p> The <code>&lt;widget&gt;</code> element can be selected with the following process: <blockquote> <pre> // parse the XML as a W3C Document DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); Document document = builder.parse(new File("/widgets.xml")); //Get an XPath object and evaluate the expression XPath xpath = XPathFactory.newInstance().newXPath(); String expression = "/widgets/widget"; Node widgetNode = (Node) xpath.evaluate(expression, document, XPathConstants.NODE); //or using the evaluateExpression method Node widgetNode = xpath.evaluateExpression(expression, document, Node.class); </pre> </blockquote> <p>With a reference to the <code>&lt;widget&gt;</code> element, a relative XPath expression can be written to select the <code>&lt;manufacturer&gt;</code> child element:</p> <blockquote> <pre> XPath xpath = XPathFactory.newInstance().newXPath(); <strong>String expression = "manufacturer";</strong> Node manufacturerNode = (Node) xpath.evaluate(expression, <strong>widgetNode</strong>, XPathConstants.NODE); //or using the evaluateExpression method Node manufacturerNode = xpath.evaluateExpression(expression, <strong>widgetNode</strong>, Node.class); </pre> </blockquote> <p> In the above example, the XML file is read into a DOM Document before being passed to the XPath API. The following code demonstrates the use of InputSource to leave it to the XPath implementation to process it: <blockquote> <pre> XPath xpath = XPathFactory.newInstance().newXPath(); String expression = "/widgets/widget"; InputSource inputSource = new InputSource("widgets.xml"); NodeList nodes = (NodeList) xpath.evaluate(expression, inputSource, XPathConstants.NODESET); //or using the evaluateExpression method XPathNodes nodes = xpath.evaluate(expression, inputSource, XPathNodes.class); </pre> </blockquote> <p> In the above cases, the type of the expected results are known. In case where the result type is unknown or any type, the {@link javax.xml.xpath.XPathEvaluationResult} may be used to determine the return type. The following code demonstrates the usage: <blockquote> <pre> XPathEvaluationResult&lt;?&gt; result = xpath.evaluateExpression(expression, document); switch (result.type()) { case NODESET: XPathNodes nodes = (XPathNodes)result.value(); ... break; } </pre> </blockquote> <p> The XPath 1.0 Number data type is defined as a double. However, the XPath specification also provides functions that returns Integer type. To facilitate such operations, the XPath API allows Integer and Long to be used in {@code evaluateExpression} method such as the following code: <blockquote> <pre> int count = xpath.evaluate("count(/widgets/widget)", document, Integer.class); </pre> </blockquote> @since 1.5 </body> </html>
src/3dparty/qwt-5.2.0/doc/html/qwt__slider_8h-source.html
iut-ibk/DynaMind-Gui
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Qwt User&#39;s Guide: qwt_slider.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.8 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File&nbsp;List</span></a></li> </ul> </div> <h1>qwt_slider.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************</span> <a name="l00002"></a>00002 <span class="comment"> * Qwt Widget Library</span> <a name="l00003"></a>00003 <span class="comment"> * Copyright (C) 1997 Josef Wilgen</span> <a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2002 Uwe Rathmann</span> <a name="l00005"></a>00005 <span class="comment"> *</span> <a name="l00006"></a>00006 <span class="comment"> * This library is free software; you can redistribute it and/or</span> <a name="l00007"></a>00007 <span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span> <a name="l00008"></a>00008 <span class="comment"> *****************************************************************************/</span> <a name="l00009"></a>00009 <a name="l00010"></a>00010 <span class="comment">// vim: expandtab</span> <a name="l00011"></a>00011 <a name="l00012"></a>00012 <span class="preprocessor">#ifndef QWT_SLIDER_H</span> <a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define QWT_SLIDER_H</span> <a name="l00014"></a>00014 <span class="preprocessor"></span> <a name="l00015"></a>00015 <span class="preprocessor">#include "qwt_global.h"</span> <a name="l00016"></a>00016 <span class="preprocessor">#include "qwt_abstract_scale.h"</span> <a name="l00017"></a>00017 <span class="preprocessor">#include "qwt_abstract_slider.h"</span> <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="keyword">class </span><a class="code" href="class_qwt_scale_draw.html" title="A class for drawing scales.">QwtScaleDraw</a>; <a name="l00020"></a>00020 <a name="l00034"></a><a class="code" href="class_qwt_slider.html">00034</a> <span class="keyword">class </span>QWT_EXPORT <a class="code" href="class_qwt_slider.html" title="The Slider Widget.">QwtSlider</a> : <span class="keyword">public</span> <a class="code" href="class_qwt_abstract_slider.html" title="An abstract base class for slider widgets.">QwtAbstractSlider</a>, <span class="keyword">public</span> <a class="code" href="class_qwt_abstract_scale.html" title="An abstract base class for classes containing a scale.">QwtAbstractScale</a> <a name="l00035"></a>00035 { <a name="l00036"></a>00036 Q_OBJECT <a name="l00037"></a>00037 Q_ENUMS( <a class="code" href="class_qwt_slider.html#10836f1e83b9c8ef8e229bf7c65c3659">ScalePos</a> ) <a name="l00038"></a>00038 Q_ENUMS( <a class="code" href="class_qwt_slider.html#60df2c6dd8d5419625a2f3f024bf29c6">BGSTYLE</a> ) <a name="l00039"></a>00039 Q_PROPERTY( <a class="code" href="class_qwt_slider.html#10836f1e83b9c8ef8e229bf7c65c3659">ScalePos</a> scalePosition READ scalePosition <a name="l00040"></a>00040 WRITE setScalePosition ) <a name="l00041"></a>00041 Q_PROPERTY( <a class="code" href="class_qwt_slider.html#60df2c6dd8d5419625a2f3f024bf29c6">BGSTYLE</a> bgStyle READ bgStyle WRITE setBgStyle ) <a name="l00042"></a>00042 Q_PROPERTY( <span class="keywordtype">int</span> thumbLength READ thumbLength WRITE setThumbLength ) <a name="l00043"></a>00043 Q_PROPERTY( <span class="keywordtype">int</span> thumbWidth READ thumbWidth WRITE setThumbWidth ) <a name="l00044"></a>00044 Q_PROPERTY( <span class="keywordtype">int</span> borderWidth READ borderWidth WRITE setBorderWidth ) <a name="l00045"></a>00045 <a name="l00046"></a>00046 <span class="keyword">public</span>: <a name="l00047"></a>00047 <a name="l00056"></a><a class="code" href="class_qwt_slider.html#10836f1e83b9c8ef8e229bf7c65c3659">00056</a> <span class="keyword">enum</span> <a class="code" href="class_qwt_slider.html#10836f1e83b9c8ef8e229bf7c65c3659">ScalePos</a> <a name="l00057"></a>00057 { <a name="l00058"></a>00058 NoScale, <a name="l00059"></a>00059 <a name="l00060"></a>00060 LeftScale, <a name="l00061"></a>00061 RightScale, <a name="l00062"></a>00062 TopScale, <a name="l00063"></a>00063 BottomScale <a name="l00064"></a>00064 }; <a name="l00065"></a>00065 <a name="l00070"></a><a class="code" href="class_qwt_slider.html#60df2c6dd8d5419625a2f3f024bf29c6">00070</a> <span class="keyword">enum</span> <a class="code" href="class_qwt_slider.html#60df2c6dd8d5419625a2f3f024bf29c6">BGSTYLE</a> <a name="l00071"></a>00071 { <a name="l00072"></a>00072 BgTrough = 0x1, <a name="l00073"></a>00073 BgSlot = 0x2, <a name="l00074"></a>00074 BgBoth = BgTrough | BgSlot <a name="l00075"></a>00075 }; <a name="l00076"></a>00076 <a name="l00077"></a>00077 <span class="keyword">explicit</span> <a class="code" href="class_qwt_slider.html" title="The Slider Widget.">QwtSlider</a>(QWidget *parent, <a name="l00078"></a>00078 Qt::Orientation = Qt::Horizontal, <a name="l00079"></a>00079 ScalePos = NoScale, BGSTYLE bgStyle = BgTrough); <a name="l00080"></a>00080 <span class="preprocessor">#if QT_VERSION &lt; 0x040000</span> <a name="l00081"></a>00081 <span class="preprocessor"></span> <span class="keyword">explicit</span> <a class="code" href="class_qwt_slider.html" title="The Slider Widget.">QwtSlider</a>(QWidget *parent, <span class="keyword">const</span> <span class="keywordtype">char</span> *name); <a name="l00082"></a>00082 <span class="preprocessor">#endif</span> <a name="l00083"></a>00083 <span class="preprocessor"></span> <a name="l00084"></a>00084 <span class="keyword">virtual</span> ~<a class="code" href="class_qwt_slider.html" title="The Slider Widget.">QwtSlider</a>(); <a name="l00085"></a>00085 <a name="l00086"></a>00086 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_slider.html#6b0fdc50bfbb0a8bb40f0dc6bf493b2c" title="Set the orientation.">setOrientation</a>(Qt::Orientation); <a name="l00087"></a>00087 <a name="l00088"></a>00088 <span class="keywordtype">void</span> setBgStyle(BGSTYLE); <a name="l00089"></a>00089 BGSTYLE bgStyle() <span class="keyword">const</span>; <a name="l00090"></a>00090 <a name="l00091"></a>00091 <span class="keywordtype">void</span> setScalePosition(ScalePos s); <a name="l00092"></a>00092 ScalePos scalePosition() <span class="keyword">const</span>; <a name="l00093"></a>00093 <a name="l00094"></a>00094 <span class="keywordtype">int</span> thumbLength() <span class="keyword">const</span>; <a name="l00095"></a>00095 <span class="keywordtype">int</span> thumbWidth() <span class="keyword">const</span>; <a name="l00096"></a>00096 <span class="keywordtype">int</span> borderWidth() <span class="keyword">const</span>; <a name="l00097"></a>00097 <a name="l00098"></a>00098 <span class="keywordtype">void</span> setThumbLength(<span class="keywordtype">int</span> l); <a name="l00099"></a>00099 <span class="keywordtype">void</span> setThumbWidth(<span class="keywordtype">int</span> w); <a name="l00100"></a>00100 <span class="keywordtype">void</span> setBorderWidth(<span class="keywordtype">int</span> bw); <a name="l00101"></a>00101 <span class="keywordtype">void</span> setMargins(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y); <a name="l00102"></a>00102 <a name="l00103"></a>00103 <span class="keyword">virtual</span> QSize sizeHint() <span class="keyword">const</span>; <a name="l00104"></a>00104 <span class="keyword">virtual</span> QSize minimumSizeHint() <span class="keyword">const</span>; <a name="l00105"></a>00105 <a name="l00106"></a>00106 <span class="keywordtype">void</span> setScaleDraw(<a class="code" href="class_qwt_scale_draw.html" title="A class for drawing scales.">QwtScaleDraw</a> *); <a name="l00107"></a>00107 <span class="keyword">const</span> <a class="code" href="class_qwt_scale_draw.html" title="A class for drawing scales.">QwtScaleDraw</a> *scaleDraw() <span class="keyword">const</span>; <a name="l00108"></a>00108 <a name="l00109"></a>00109 <span class="keyword">protected</span>: <a name="l00110"></a>00110 <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="class_qwt_abstract_slider.html#6e26a993536813c2d9846a28f3c27aa7" title="Determine the value corresponding to a specified poind.">getValue</a>(<span class="keyword">const</span> QPoint &amp;p); <a name="l00111"></a>00111 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_slider.html#dcb6819c88cfa27e9ea3d8828479ea0b" title="Determine what to do when the user presses a mouse button.">getScrollMode</a>(<span class="keyword">const</span> QPoint &amp;p, <a name="l00112"></a>00112 <span class="keywordtype">int</span> &amp;scrollMode, <span class="keywordtype">int</span> &amp;direction); <a name="l00113"></a>00113 <a name="l00114"></a>00114 <span class="keywordtype">void</span> draw(QPainter *p, <span class="keyword">const</span> QRect&amp; update_rect); <a name="l00115"></a>00115 <span class="keyword">virtual</span> <span class="keywordtype">void</span> drawSlider (QPainter *p, <span class="keyword">const</span> QRect &amp;r); <a name="l00116"></a>00116 <span class="keyword">virtual</span> <span class="keywordtype">void</span> drawThumb(QPainter *p, <span class="keyword">const</span> QRect &amp;, <span class="keywordtype">int</span> pos); <a name="l00117"></a>00117 <a name="l00118"></a>00118 <span class="keyword">virtual</span> <span class="keywordtype">void</span> resizeEvent(QResizeEvent *e); <a name="l00119"></a>00119 <span class="keyword">virtual</span> <span class="keywordtype">void</span> paintEvent (QPaintEvent *e); <a name="l00120"></a>00120 <a name="l00121"></a>00121 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_slider.html#2f04dc51e4402b51fef3250bcc99dc7f">valueChange</a>(); <a name="l00122"></a>00122 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_qwt_double_range.html#3583134a1ac32706aa4742088bb9d4dc" title="Notify a change of the range.">rangeChange</a>(); <a name="l00123"></a>00123 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_scale.html#0dbb7bdc557c0a7b163643e41970ed6a" title="Notify changed scale.">scaleChange</a>(); <a name="l00124"></a>00124 <span class="keyword">virtual</span> <span class="keywordtype">void</span> fontChange(<span class="keyword">const</span> QFont &amp;oldFont); <a name="l00125"></a>00125 <a name="l00126"></a>00126 <span class="keywordtype">void</span> layoutSlider( <span class="keywordtype">bool</span> update = <span class="keyword">true</span> ); <a name="l00127"></a>00127 <span class="keywordtype">int</span> xyPosition(<span class="keywordtype">double</span> v) <span class="keyword">const</span>; <a name="l00128"></a>00128 <a name="l00129"></a>00129 <a class="code" href="class_qwt_scale_draw.html" title="A class for drawing scales.">QwtScaleDraw</a> *scaleDraw(); <a name="l00130"></a>00130 <a name="l00131"></a>00131 <span class="keyword">private</span>: <a name="l00132"></a>00132 <span class="keywordtype">void</span> initSlider(Qt::Orientation, ScalePos scalePos, BGSTYLE bgStyle); <a name="l00133"></a>00133 <a name="l00134"></a>00134 <span class="keyword">class </span>PrivateData; <a name="l00135"></a>00135 PrivateData *d_data; <a name="l00136"></a>00136 }; <a name="l00137"></a>00137 <a name="l00138"></a>00138 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 22 16:41:17 2009 for Qwt User's Guide by&nbsp; <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> </body> </html>
wp-content/plugins/jetpack/modules/likes/style.css
Fayded/crossfitCal
#wpadminbar li#wp-admin-bar-admin-bar-likes-widget { width: 61px; } #wpadminbar iframe.admin-bar-likes-widget { width: 61px; height: 28px; min-height: 28px; border-width: 0px; position: absolute; top: 0; } div.jetpack-likes-widget-wrapper { width: 100%; } div.jetpack-likes-widget-wrapper.slim-likes-widget { width: 1px; /* initial default */ } #likes-other-gravatars { display: none; position: absolute; padding: 10px; background-color: #000; border-width: 0; opacity: 0.88; filter: alpha(opacity=88); box-shadow: 0 0 10px black; min-width: 130px; z-index: 1000; } #likes-other-gravatars * { line-height: normal; } #likes-other-gravatars .likes-text { color: white; font-size: 14px; padding-bottom: 5px; } #likes-other-gravatars ul, #likes-other-gravatars li { margin: 0; padding: 0; text-indent: 0; list-style-type: none; } #likes-other-gravatars li::before { content: ""; } #likes-other-gravatars ul.wpl-avatars { overflow: auto; display: block; position: absolute; max-height: 190px; } #likes-other-gravatars ul.wpl-avatars li { width: 32px; height: 32px; float: left; margin: 0 5px 5px 0; } #likes-other-gravatars ul.wpl-avatars li a { margin: 0 2px 0 0; border-bottom: none !important; display: block; } #likes-other-gravatars ul.wpl-avatars li a img { background: none; border: none; margin: 0 !important; padding: 0 !important; position: static; } div.sd-box { border-top: 1px solid #ddd; border-top: 1px solid rgba(0,0,0,.13); } h3.sd-title { font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; margin: 3px 0; padding: 0; text-transform: none; letter-spacing: 0; line-height: 1; font-weight: bold; width: 15.625%; /* 100px / 640px */ float: left; position: static; background: none; border: none; } .rtl .sd-title { float: right; text-align: right; } .entry-content .post-likes-widget, .post-likes-widget, .comment-likes-widget { margin: 0; border-width: 0; } .post-likes-widget-placeholder { margin: 0; border-width: 0; } .post-likes-widget-placeholder .button { margin: 0; padding: 0; display: inline-block; background: #efefef; background: -moz-linear-gradient(top, #f7f7f7 0%, #efefef 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#efefef)); background: -webkit-linear-gradient(top, #f7f7f7 0%,#efefef 100%); background: -o-linear-gradient(top, #f7f7f7 0%,#efefef 100%); background: -ms-linear-gradient(top, #f7f7f7 0%,#efefef 100%); background: linear-gradient(top, #f7f7f7 0%,#efefef 100%); border-radius: 3px; border: 1px solid #ddd !important; box-shadow: inset 0 1px 0 #fff; color: #999; text-decoration: none; line-height: 1; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: normal; } .post-likes-widget-placeholder .button span { padding: 1px 5px 1px 2px; display: block; opacity: .8; line-height: 1.5em; text-shadow: none; } .post-likes-widget-placeholder .button span:before { color: #97A8CC; font-family: "Noticons"; content: '\2605'; font-size: 16px; line-height: 0; text-shadow: 0 1px 0 #fff; position: relative; top: 3px; } .post-likes-widget-placeholder .loading { color: #999; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } .post-likes-widget { width: 82.125%; display: none; float: right; } .slim-likes-widget .post-likes-widget { width: auto; float: none; } /* Like Special cases (display on it's own) */ div.sharedaddy.sd-like-enabled .sd-like h3 { display: none; } div.sharedaddy.sd-like-enabled .sd-like .post-likes-widget { width: 100%; float: none; } div.sharedaddy.sd-rating-enabled .sd-like .post-likes-widget, div.sharedaddy.sd-sharing-enabled .sd-like .post-likes-widget { width: 82.125%; float: right; } div.sharedaddy.sd-rating-enabled .sd-like h3, div.sharedaddy.sd-sharing-enabled .sd-like h3 { display: block; } .comment-likes-widget { width: 100%; }
moodledata/temp/tool_installaddon/e0ed58f6739b5b0046a0987387a960a2/contents/mr/docs/elementindex_mr.html
jnhl/theCELL-moodle
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title></title> <link rel="stylesheet" href="media/stylesheet.css" /> </head> <body> <a name="top"></a> <h2>[mr] element index</h2> <a href="elementindex.html">All elements</a> <br /> <div class="index-letter-menu"> <a class="index-letter" href="elementindex_mr.html#a">a</a> <a class="index-letter" href="elementindex_mr.html#b">b</a> <a class="index-letter" href="elementindex_mr.html#c">c</a> <a class="index-letter" href="elementindex_mr.html#d">d</a> <a class="index-letter" href="elementindex_mr.html#e">e</a> <a class="index-letter" href="elementindex_mr.html#f">f</a> <a class="index-letter" href="elementindex_mr.html#g">g</a> <a class="index-letter" href="elementindex_mr.html#h">h</a> <a class="index-letter" href="elementindex_mr.html#i">i</a> <a class="index-letter" href="elementindex_mr.html#k">k</a> <a class="index-letter" href="elementindex_mr.html#l">l</a> <a class="index-letter" href="elementindex_mr.html#m">m</a> <a class="index-letter" href="elementindex_mr.html#n">n</a> <a class="index-letter" href="elementindex_mr.html#o">o</a> <a class="index-letter" href="elementindex_mr.html#p">p</a> <a class="index-letter" href="elementindex_mr.html#q">q</a> <a class="index-letter" href="elementindex_mr.html#r">r</a> <a class="index-letter" href="elementindex_mr.html#s">s</a> <a class="index-letter" href="elementindex_mr.html#t">t</a> <a class="index-letter" href="elementindex_mr.html#u">u</a> <a class="index-letter" href="elementindex_mr.html#v">v</a> <a class="index-letter" href="elementindex_mr.html#w">w</a> <a class="index-letter" href="elementindex_mr.html#z">z</a> <a class="index-letter" href="elementindex_mr.html#_">_</a> </div> <a name="_"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">_</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$_change</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#var$_change">mr_db_record::$_change</a> in record.php</div> <div class="index-item-description">Changed values in the record</div> </dd> <dt class="field"> <span class="var-title">$_delete</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#var$_delete">mr_db_record::$_delete</a> in record.php</div> <div class="index-item-description">Is the record flagged to be deleted</div> </dd> <dt class="field"> <span class="var-title">$_helper_namespace</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_abstract.html#var$_helper_namespace">mr_helper_abstract::$_helper_namespace</a> in abstract.php</div> <div class="index-item-description">The namespace of the mr_helper that created this helper instance</div> </dd> <dt class="field"> <span class="var-title">$_ipAddresses</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_ip.html#var$_ipAddresses">mr_server_validate_ip::$_ipAddresses</a> in ip.php</div> <div class="index-item-description">IP Address schema to validate against</div> </dd> <dt class="field"> <span class="var-title">$_messageTemplates</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_test.html#var$_messageTemplates">mr_server_validate_test::$_messageTemplates</a> in test.php</div> <div class="index-item-description">Error message templates</div> </dd> <dt class="field"> <span class="var-title">$_messageTemplates</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_ip.html#var$_messageTemplates">mr_server_validate_ip::$_messageTemplates</a> in ip.php</div> <div class="index-item-description">Error message templates</div> </dd> <dt class="field"> <span class="var-title">$_messageTemplates</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_secure.html#var$_messageTemplates">mr_server_validate_secure::$_messageTemplates</a> in secure.php</div> <div class="index-item-description">Error message templates</div> </dd> <dt class="field"> <span class="var-title">$_messageTemplates</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_token.html#var$_messageTemplates">mr_server_validate_token::$_messageTemplates</a> in token.php</div> <div class="index-item-description">Error message templates</div> </dd> <dt class="field"> <span class="var-title">$_messageTemplates</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_login.html#var$_messageTemplates">mr_server_validate_login::$_messageTemplates</a> in login.php</div> <div class="index-item-description">Error message templates</div> </dd> <dt class="field"> <span class="var-title">$_messageTemplates</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_method.html#var$_messageTemplates">mr_server_validate_method::$_messageTemplates</a> in method.php</div> <div class="index-item-description">Error message templates</div> </dd> <dt class="field"> <span class="var-title">$_method</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_method.html#var$_method">mr_server_validate_method::$_method</a> in method.php</div> <div class="index-item-description">Request Method</div> </dd> <dt class="field"> <span class="var-title">$_paramname</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_token.html#var$_paramname">mr_server_validate_token::$_paramname</a> in token.php</div> <div class="index-item-description">Token parameter name</div> </dd> <dt class="field"> <span class="var-title">$_parampassword</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_login.html#var$_parampassword">mr_server_validate_login::$_parampassword</a> in login.php</div> <div class="index-item-description">Password parameter name</div> </dd> <dt class="field"> <span class="var-title">$_paramusername</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_login.html#var$_paramusername">mr_server_validate_login::$_paramusername</a> in login.php</div> <div class="index-item-description">Username parameter name</div> </dd> <dt class="field"> <span class="var-title">$_record</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#var$_record">mr_db_record::$_record</a> in record.php</div> <div class="index-item-description">The record</div> </dd> <dt class="field"> <span class="var-title">$_table</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#var$_table">mr_db_record::$_table</a> in record.php</div> <div class="index-item-description">The record's table</div> </dd> <dt class="field"> <span class="var-title">$_token</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_token.html#var$_token">mr_server_validate_token::$_token</a> in token.php</div> <div class="index-item-description">The expected token</div> </dd> <dt class="field"> <span class="var-title">$_value</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_hidden.html#var$_value">mr_html_filter_hidden::$_value</a> in hidden.php</div> <div class="index-item-description">Value of the hidden field</div> </dd> <dt class="field"> <span class="method-title">_cache</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_cache.html#method_cache">mr_helper_cache::_cache()</a> in cache.php</div> <div class="index-item-description">Return mr_cache based on the current namespace</div> </dd> <dt class="field"> <span class="method-title">_flush_deletes</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_queue.html#method_flush_deletes">mr_db_queue::_flush_deletes()</a> in queue.php</div> <div class="index-item-description">Flushes deletes</div> </dd> <dt class="field"> <span class="method-title">_flush_inserts</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_queue.html#method_flush_inserts">mr_db_queue::_flush_inserts()</a> in queue.php</div> <div class="index-item-description">Flushes inserts</div> </dd> <dt class="field"> <span class="method-title">_init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#method_init">mr_report_abstract::_init()</a> in abstract.php</div> <div class="index-item-description">Run init routines</div> </dd> <dt class="field"> <span class="method-title">_set_helper_namespace</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_load.html#method_set_helper_namespace">mr_helper_load::_set_helper_namespace()</a> in load.php</div> <div class="index-item-description">Set the namespace of the mr_helper that created this instance</div> </dd> <dt class="field"> <span class="method-title">_set_helper_namespace</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_abstract.html#method_set_helper_namespace">mr_helper_abstract::_set_helper_namespace()</a> in abstract.php</div> <div class="index-item-description">Set the namespace of the mr_helper that created this instance</div> </dd> <dt class="field"> <span class="method-title">__call</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#method__call">mr_html_filter::__call()</a> in filter.php</div> <div class="index-item-description">Use this to add new filters to the filter model</div> </dd> <dt class="field"> <span class="method-title">__call</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_cache.html#method__call">mr_helper_cache::__call()</a> in cache.php</div> <div class="index-item-description">Direct all other calls to mr_cache</div> </dd> <dt class="field"> <span class="method-title">__call</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#method__call">mr_html_tag::__call()</a> in tag.php</div> <div class="index-item-description">This is where all of the real work is done.</div> </dd> <dt class="field"> <span class="method-title">__call</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_readonly.html#method__call">mr_readonly::__call()</a> in readonly.php</div> <div class="index-item-description">Provides dynamic get_{dataMember}() method access</div> </dd> <dt class="field"> <span class="method-title">__call</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_tag.html#method__call">mr_helper_tag::__call()</a> in tag.php</div> <div class="index-item-description">Direct all other calls to mr_html_tag</div> </dd> <dt class="field"> <span class="method-title">__call</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper.html#method__call">mr_helper::__call()</a> in helper.php</div> <div class="index-item-description">Call a helper's direct method</div> </dd> <dt class="field"> <span class="method-title">__call</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#method__call">mr_db_table::__call()</a> in table.php</div> <div class="index-item-description">Route calls to Moodle's lib/dmllib.php functions</div> </dd> <dt class="field"> <span class="method-title">__call</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_response_abstract.html#method__call">mr_server_response_abstract::__call()</a> in abstract.php</div> <div class="index-item-description">Handle undefined method calls</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_preferences.html#method__construct">mr_preferences::__construct()</a> in preferences.php</div> <div class="index-item-description">Constructor: set defaults</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_numberrange.html#method__construct">mr_html_filter_numberrange::__construct()</a> in numberrange.php</div> <div class="index-item-description">Construct</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#method__construct">mr_html_paging::__construct()</a> in paging.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_queue.html#method__construct">mr_db_queue::__construct()</a> in queue.php</div> <div class="index-item-description">Construct</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_number.html#method__construct">mr_format_number::__construct()</a> in number.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_select.html#method__construct">mr_html_filter_select::__construct()</a> in select.php</div> <div class="index-item-description">Adding an options param for the select options</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#method__construct">mr_html_tag::__construct()</a> in tag.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_tag.html#method__construct">mr_helper_tag::__construct()</a> in tag.php</div> <div class="index-item-description">Create new instance of mr_html_tag</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tabs.html#method__construct">mr_html_tabs::__construct()</a> in tabs.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_textarea.html#method__construct">mr_html_filter_textarea::__construct()</a> in textarea.php</div> <div class="index-item-description">Construct</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_token.html#method__construct">mr_server_validate_token::__construct()</a> in token.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_var.html#method__construct">mr_var::__construct()</a> in var.php</div> <div class="index-item-description">Setup with initial values</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_user.html#method__construct">mr_fixture_user::__construct()</a> in user.php</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#method__construct">mr_html_table::__construct()</a> in table.php</div> <div class="index-item-description">Setup</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#method__construct">mr_db_table::__construct()</a> in table.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role.html#method__construct">mr_fixture_role::__construct()</a> in role.php</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_recordset.html#method__construct">mr_repository_recordset::__construct()</a> in recordset.php</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_notify.html#method__construct">mr_html_notify::__construct()</a> in notify.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_selectmulti.html#method__construct">mr_html_filter_selectmulti::__construct()</a> in selectmulti.php</div> <div class="index-item-description">Adding an options param for the select options</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_string.html#method__construct">mr_format_string::__construct()</a> in string.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_selectmultiplus.html#method__construct">mr_html_filter_selectmultiplus::__construct()</a> in selectmultiplus.php</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#method__construct">mr_db_record::__construct()</a> in record.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_manager.html#method__construct">mr_fixture_manager::__construct()</a> in manager.php</div> <div class="index-item-description">Registers itself with all known instances</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column.html#method__construct">mr_html_table_column::__construct()</a> in column.php</div> <div class="index-item-description">Column definition</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_checkbox.html#method__construct">mr_html_filter_checkbox::__construct()</a> in checkbox.php</div> <div class="index-item-description">Checkbox filter constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_cache.html#method__construct">mr_cache::__construct()</a> in cache.php</div> <div class="index-item-description">Constructor - create a new interface to the cache</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_autoload.html#method__construct">mr_autoload::__construct()</a> in autoload.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#method__construct">mr_controller::__construct()</a> in controller.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_course.html#method__construct">mr_fixture_course::__construct()</a> in course.php</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#method__construct">mr_fixture_enrollment::__construct()</a> in enrollment.php</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_dump.html#method__construct">mr_db_dump::__construct()</a> in dump.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_method.html#method__construct">mr_server_validate_method::__construct()</a> in method.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_autocompleteid.html#method__construct">mr_html_filter_autocompleteid::__construct()</a> in autocompleteid.php</div> <div class="index-item-description">Adding an options param for the select options</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_autocomplete.html#method__construct">mr_html_filter_autocomplete::__construct()</a> in autocomplete.php</div> <div class="index-item-description">Adding an options param for the select options</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_model_abstract.html#method__construct">mr_model_abstract::__construct()</a> in abstract.php</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_abstract.html#method__construct">mr_fixture_abstract::__construct()</a> in abstract.php</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_abstract.html#method__construct">mr_lock_abstract::__construct()</a> in abstract.php</div> <div class="index-item-description">Lock setup</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_response_abstract.html#method__construct">mr_server_response_abstract::__construct()</a> in abstract.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_service_abstract.html#method__construct">mr_server_service_abstract::__construct()</a> in abstract.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#method__construct">mr_fixture_role_assignment::__construct()</a> in assignment.php</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#method__construct">mr_report_abstract::__construct()</a> in abstract.php</div> <div class="index-item-description">Construct</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#method__construct">mr_server_abstract::__construct()</a> in abstract.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#method__construct">mr_file_export::__construct()</a> in export.php</div> <div class="index-item-description">Exporter setup</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_date.html#method__construct">mr_format_date::__construct()</a> in date.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_heading.html#method__construct">mr_html_heading::__construct()</a> in heading.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock.html#method__construct">mr_lock::__construct()</a> in lock.php</div> <div class="index-item-description">Lock setup</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper.html#method__construct">mr_helper::__construct()</a> in helper.php</div> <div class="index-item-description">Automatically add the load helper since this model uses it to load other helpers</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_ip.html#method__construct">mr_server_validate_ip::__construct()</a> in ip.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_hidden.html#method__construct">mr_html_filter_hidden::__construct()</a> in hidden.php</div> <div class="index-item-description">Construct</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_header.html#method__construct">mr_html_filter_header::__construct()</a> in header.php</div> <div class="index-item-description">Header &quot;filter&quot; constructor</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group.html#method__construct">mr_fixture_group::__construct()</a> in group.php</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#method__construct">mr_html_filter_abstract::__construct()</a> in abstract.php</div> <div class="index-item-description">Construct</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group_member.html#method__construct">mr_fixture_group_member::__construct()</a> in member.php</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#method__construct">mr_html_filter::__construct()</a> in filter.php</div> <div class="index-item-description">Construct</div> </dd> <dt class="field"> <span class="method-title">__construct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_login.html#method__construct">mr_server_validate_login::__construct()</a> in login.php</div> <div class="index-item-description">Constructor</div> </dd> <dt class="field"> <span class="method-title">__destruct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_abstract.html#method__destruct">mr_lock_abstract::__destruct()</a> in abstract.php</div> <div class="index-item-description">Release the lock on destruct.</div> </dd> <dt class="field"> <span class="method-title">__destruct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_testwebservice.html#method__destruct">mr_helper_testwebservice::__destruct()</a> in testwebservice.php</div> <div class="index-item-description">Print final markup string</div> </dd> <dt class="field"> <span class="method-title">__destruct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_queue.html#method__destruct">mr_db_queue::__destruct()</a> in queue.php</div> <div class="index-item-description">Destruct - flush it!</div> </dd> <dt class="field"> <span class="method-title">__get</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper.html#method__get">mr_helper::__get()</a> in helper.php</div> <div class="index-item-description">Get a helper</div> </dd> <dt class="field"> <span class="method-title">__get</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#method__get">mr_db_record::__get()</a> in record.php</div> <div class="index-item-description">Get a record value</div> </dd> <dt class="field"> <span class="method-title">__isset</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#method__isset">mr_db_record::__isset()</a> in record.php</div> <div class="index-item-description">If a record value isset</div> </dd> <dt class="field"> <span class="method-title">__set</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#method__set">mr_db_record::__set()</a> in record.php</div> <div class="index-item-description">Set a value to the record. Records changes.</div> </dd> <dt class="field"> <span class="method-title">__toString</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#method__toString">mr_html_filter_abstract::__toString()</a> in abstract.php</div> <div class="index-item-description">Convert this filter into a simple string</div> </dd> <dt class="field"> <span class="method-title">__toString</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#method__toString">mr_html_filter::__toString()</a> in filter.php</div> <div class="index-item-description">Convert this filter into a simple string</div> </dd> <dt class="field"> <span class="method-title">__toString</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#method__toString">mr_html_paging::__toString()</a> in paging.php</div> <div class="index-item-description">Convert this table into a simple string</div> </dd> <dt class="field"> <span class="method-title">__toString</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#method__toString">mr_html_tag::__toString()</a> in tag.php</div> <div class="index-item-description">Convert this object to it's HTML string equivalent</div> </dd> <dt class="field"> <span class="method-title">__toString</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#method__toString">mr_report_abstract::__toString()</a> in abstract.php</div> <div class="index-item-description">Convert this report into a simple string</div> </dd> <dt class="field"> <span class="method-title">__toString</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#method__toString">mr_html_table::__toString()</a> in table.php</div> <div class="index-item-description">Convert this table into a simple string</div> </dd> <dt class="field"> <span class="method-title">__toString</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#method__toString">mr_db_table::__toString()</a> in table.php</div> <div class="index-item-description">Display table name if casted to a string</div> </dd> <dt class="field"> <span class="method-title">__unset</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#method__unset">mr_db_record::__unset()</a> in record.php</div> <div class="index-item-description">Unset a record value</div> </dd> </dl> <a name="a"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">a</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$action</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#var$action">mr_controller::$action</a> in controller.php</div> <div class="index-item-description">Current action being executed by the controller</div> </dd> <dt class="field"> <span class="var-title">$advanced</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#var$advanced">mr_html_filter_abstract::$advanced</a> in abstract.php</div> <div class="index-item-description">If it should be flagged as advanced or not in the form</div> </dd> <dt class="field"> <span class="var-title">$align</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_notify.html#var$align">mr_html_notify::$align</a> in notify.php</div> <div class="index-item-description">Message alignment</div> </dd> <dt class="field"> <span class="var-title">$attributes</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_textarea.html#var$attributes">mr_html_filter_textarea::$attributes</a> in textarea.php</div> </dd> <dt class="field"> <span class="var-title">$attributes</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$attributes">mr_html_table::$attributes</a> in table.php</div> <div class="index-item-description">Table attributes</div> </dd> <dt class="field"> <span class="var-title">$attributes</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#var$attributes">mr_html_tag::$attributes</a> in tag.php</div> <div class="index-item-description">HTML tag attribute list</div> </dd> <dt class="field"> <span class="method-title">add</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_notify.html#methodadd">mr_html_notify::add()</a> in notify.php</div> <div class="index-item-description">Adds a message to be printed. Messages are printed by calling print().</div> </dd> <dt class="field"> <span class="method-title">add</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tabs.html#methodadd">mr_html_tabs::add()</a> in tabs.php</div> <div class="index-item-description">Add a top level tab</div> </dd> <dt class="field"> <span class="method-title">add</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#methodadd">mr_html_filter::add()</a> in filter.php</div> <div class="index-item-description">Add a filter</div> </dd> <dt class="field"> <span class="method-title">add</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_queue.html#methodadd">mr_db_queue::add()</a> in queue.php</div> <div class="index-item-description">Add record(s)</div> </dd> <dt class="field"> <span class="method-title">add_attribute</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#methodadd_attribute">mr_html_tag::add_attribute()</a> in tag.php</div> <div class="index-item-description">Get an attribute</div> </dd> <dt class="field"> <span class="method-title">add_attributes</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#methodadd_attributes">mr_html_tag::add_attributes()</a> in tag.php</div> <div class="index-item-description">Bulk add attributes</div> </dd> <dt class="field"> <span class="method-title">add_column</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodadd_column">mr_html_table::add_column()</a> in table.php</div> <div class="index-item-description">Add a table column</div> </dd> <dt class="field"> <span class="method-title">add_column</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column_dynamic.html#methodadd_column">mr_html_table_column_dynamic::add_column()</a> in dynamic.php</div> <div class="index-item-description">Add a column to the model</div> </dd> <dt class="field"> <span class="method-title">add_column_type</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodadd_column_type">mr_html_table::add_column_type()</a> in table.php</div> <div class="index-item-description">Add a table column. This method is a shortcut for adding different column types. Types are listed in html/table/column/</div> </dd> <dt class="field"> <span class="method-title">add_disabledif</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#methodadd_disabledif">mr_html_filter_abstract::add_disabledif()</a> in abstract.php</div> <div class="index-item-description">Add disabledIf to this filter</div> </dd> <dt class="field"> <span class="method-title">add_disabledif</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#methodadd_disabledif">mr_html_filter::add_disabledif()</a> in filter.php</div> <div class="index-item-description">Add disabledIf to a filter</div> </dd> <dt class="field"> <span class="method-title">add_element</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_textarea.html#methodadd_element">mr_html_filter_textarea::add_element()</a> in textarea.php</div> <div class="index-item-description">Add text input</div> </dd> <dt class="field"> <span class="method-title">add_element</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_daterange.html#methodadd_element">mr_html_filter_daterange::add_element()</a> in daterange.php</div> <div class="index-item-description">Add date fields and checkboxes to enable/disable</div> </dd> <dt class="field"> <span class="method-title">add_element</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_selectmulti.html#methodadd_element">mr_html_filter_selectmulti::add_element()</a> in selectmulti.php</div> <div class="index-item-description">Add select input</div> </dd> <dt class="field"> <span class="method-title">add_element</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_autocomplete.html#methodadd_element">mr_html_filter_autocomplete::add_element()</a> in autocomplete.php</div> <div class="index-item-description">Add text input</div> </dd> <dt class="field"> <span class="method-title">add_element</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_autocompleteid.html#methodadd_element">mr_html_filter_autocompleteid::add_element()</a> in autocompleteid.php</div> <div class="index-item-description">Add text input for autocomplete and hidden field to store ID</div> </dd> <dt class="field"> <span class="method-title">add_element</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_selectmultiplus.html#methodadd_element">mr_html_filter_selectmultiplus::add_element()</a> in selectmultiplus.php</div> <div class="index-item-description">Add filter form element</div> </dd> <dt class="field"> <span class="method-title">add_element</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_text.html#methodadd_element">mr_html_filter_text::add_element()</a> in text.php</div> <div class="index-item-description">Add text input</div> </dd> <dt class="field"> <span class="method-title">add_element</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_recent.html#methodadd_element">mr_html_filter_recent::add_element()</a> in recent.php</div> <div class="index-item-description">Add select input</div> </dd> <dt class="field"> <span class="method-title">add_element</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#methodadd_element">mr_html_filter_abstract::add_element()</a> in abstract.php</div> <div class="index-item-description">Add filter form element</div> </dd> <dt class="field"> <span class="method-title">add_element</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_header.html#methodadd_element">mr_html_filter_header::add_element()</a> in header.php</div> <div class="index-item-description">Add filter form element</div> </dd> <dt class="field"> <span class="method-title">add_element</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_numberrange.html#methodadd_element">mr_html_filter_numberrange::add_element()</a> in numberrange.php</div> <div class="index-item-description">Add text fields and checkboxes to enable/disable</div> </dd> <dt class="field"> <span class="method-title">add_element</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_select.html#methodadd_element">mr_html_filter_select::add_element()</a> in select.php</div> <div class="index-item-description">Add select input</div> </dd> <dt class="field"> <span class="method-title">add_element</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_checkbox.html#methodadd_element">mr_html_filter_checkbox::add_element()</a> in checkbox.php</div> <div class="index-item-description">Add checkbox</div> </dd> <dt class="field"> <span class="method-title">add_element</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_hidden.html#methodadd_element">mr_html_filter_hidden::add_element()</a> in hidden.php</div> <div class="index-item-description">Add hidden field</div> </dd> <dt class="field"> <span class="method-title">add_elements</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_selectmultiplus.html#methodadd_elements">mr_html_filter_selectmultiplus::add_elements()</a> in selectmultiplus.php</div> <div class="index-item-description">Add all elements for this filter</div> </dd> <dt class="field"> <span class="method-title">add_elements</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#methodadd_elements">mr_html_filter_abstract::add_elements()</a> in abstract.php</div> <div class="index-item-description">Add all elements for this filter</div> </dd> <dt class="field"> <span class="method-title">add_format</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column_dynamic.html#methodadd_format">mr_html_table_column_dynamic::add_format()</a> in dynamic.php</div> <div class="index-item-description">Add format to all columns</div> </dd> <dt class="field"> <span class="method-title">add_format</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodadd_format">mr_html_table::add_format()</a> in table.php</div> <div class="index-item-description">Add column format</div> </dd> <dt class="field"> <span class="method-title">add_format</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column.html#methodadd_format">mr_html_table_column::add_format()</a> in column.php</div> <div class="index-item-description">Add a column format</div> </dd> <dt class="field"> <span class="method-title">add_heading</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column_dynamic.html#methodadd_heading">mr_html_table_column_dynamic::add_heading()</a> in dynamic.php</div> <div class="index-item-description">Add headings of all dynamic columns</div> </dd> <dt class="field"> <span class="method-title">add_heading</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column.html#methodadd_heading">mr_html_table_column::add_heading()</a> in column.php</div> <div class="index-item-description">Add column heading to passed param</div> </dd> <dt class="field"> <span class="method-title">add_helpbutton</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#methodadd_helpbutton">mr_html_filter::add_helpbutton()</a> in filter.php</div> <div class="index-item-description">Add a help button to a filter</div> </dd> <dt class="field"> <span class="method-title">add_helpbutton</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#methodadd_helpbutton">mr_html_filter_abstract::add_helpbutton()</a> in abstract.php</div> <div class="index-item-description">Add a help button to this filter</div> </dd> <dt class="field"> <span class="method-title">add_row</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_abstract.html#methodadd_row">mr_file_export_text_abstract::add_row()</a> in abstract.php</div> <div class="index-item-description">Write the row to the file</div> </dd> <dt class="field"> <span class="method-title">add_row</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_abstract.html#methodadd_row">mr_file_export_spreadsheet_abstract::add_row()</a> in abstract.php</div> <div class="index-item-description">Write the row to the file</div> </dd> <dt class="field"> <span class="method-title">add_row</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodadd_row">mr_html_table::add_row()</a> in table.php</div> <div class="index-item-description">Add a row</div> </dd> <dt class="field"> <span class="method-title">add_row</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_abstract.html#methodadd_row">mr_file_export_abstract::add_row()</a> in abstract.php</div> <div class="index-item-description">Add a row to the export</div> </dd> <dt class="field"> <span class="method-title">add_string</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_notify.html#methodadd_string">mr_html_notify::add_string()</a> in notify.php</div> <div class="index-item-description">Add a string to be printed</div> </dd> <dt class="field"> <span class="method-title">add_subtab</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tabs.html#methodadd_subtab">mr_html_tabs::add_subtab()</a> in tabs.php</div> <div class="index-item-description">Add a sub tab</div> </dd> <dt class="field"> <span class="method-title">add_tabs</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#methodadd_tabs">mr_controller::add_tabs()</a> in controller.php</div> <div class="index-item-description">Add tabs for the controller</div> </dd> <dt class="field"> <span class="method-title">admin_setup</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_admin.html#methodadmin_setup">mr_controller_admin::admin_setup()</a> in admin.php</div> <div class="index-item-description">Generate a call to admin_externalpage_setup()</div> </dd> <dt class="field"> <span class="method-title">append_attribute</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#methodappend_attribute">mr_html_tag::append_attribute()</a> in tag.php</div> <div class="index-item-description">Append an attribute</div> </dd> <dt class="field"> <span class="method-title">append_attributes</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#methodappend_attributes">mr_html_tag::append_attributes()</a> in tag.php</div> <div class="index-item-description">Bulk append attributes</div> </dd> <dt class="field"> <span class="method-title">archive</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_dump.html#methodarchive">mr_db_dump::archive()</a> in dump.php</div> <div class="index-item-description">Run the dump and delete records that get added to the dump</div> </dd> <dt class="field"> <span class="method-title">array_to_dom</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_response_abstract.html#methodarray_to_dom">mr_server_response_abstract::array_to_dom()</a> in abstract.php</div> <div class="index-item-description">Converts an array into DOMDocument</div> </dd> <dt class="field"> <span class="method-title">autoload</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_autoload.html#methodautoload">mr_autoload::autoload()</a> in autoload.php</div> <div class="index-item-description">Autoload</div> </dd> <dt class="field"> <span class="include-title">autoload.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_autoload.php.html">autoload.php</a> in autoload.php</div> </dd> <dt class="field"> <span class="include-title">admin.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_controller---admin.php.html">admin.php</a> in admin.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_file---export---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_file---export---spreadsheet---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_file---export---text---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_fixture---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> <dt class="field"> <span class="include-title">assignment.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_fixture---role---assignment.php.html">assignment.php</a> in assignment.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_format---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_helper---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> <dt class="field"> <span class="include-title">autocomplete.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter---autocomplete.php.html">autocomplete.php</a> in autocomplete.php</div> </dd> <dt class="field"> <span class="include-title">autocompleteid.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter---autocompleteid.php.html">autocompleteid.php</a> in autocompleteid.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_lock---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_model---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_model---record---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_report---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_repository---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_server---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_server---response---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> <dt class="field"> <span class="include-title">abstract.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_server---service---abstract.php.html">abstract.php</a> in abstract.php</div> </dd> </dl> <a name="b"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">b</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$backend</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock.html#var$backend">mr_lock::$backend</a> in lock.php</div> <div class="index-item-description">The mechanism used for acquiring the lock</div> </dd> <dt class="field"> <span class="var-title">$blockname</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_block.html#var$blockname">mr_controller_block::$blockname</a> in block.php</div> <div class="index-item-description">The block name</div> </dd> <dt class="field"> BACKEND </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_cache.html#constBACKEND">mr_cache::BACKEND</a> in cache.php</div> <div class="index-item-description">Cache storage</div> </dd> <dt class="field"> <span class="method-title">bad</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_notify.html#methodbad">mr_html_notify::bad()</a> in notify.php</div> <div class="index-item-description">Add a bad message</div> </dd> <dt class="field"> BAD </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_notify.html#constBAD">mr_html_notify::BAD</a> in notify.php</div> <div class="index-item-description">Message that is bad</div> </dd> <dt class="field"> <span class="include-title">bootstrap.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_bootstrap.php.html">bootstrap.php</a> in bootstrap.php</div> </dd> <dt class="field"> <span class="method-title">build</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group_member.html#methodbuild">mr_fixture_group_member::build()</a> in member.php</div> <div class="index-item-description">Create the fixture</div> </dd> <dt class="field"> <span class="method-title">build</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role.html#methodbuild">mr_fixture_role::build()</a> in role.php</div> <div class="index-item-description">Create the fixture</div> </dd> <dt class="field"> <span class="method-title">build</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_user.html#methodbuild">mr_fixture_user::build()</a> in user.php</div> <div class="index-item-description">Create the fixture</div> </dd> <dt class="field"> <span class="method-title">build</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methodbuild">mr_fixture_enrollment::build()</a> in enrollment.php</div> <div class="index-item-description">Create the fixture</div> </dd> <dt class="field"> <span class="method-title">build</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_course.html#methodbuild">mr_fixture_course::build()</a> in course.php</div> <div class="index-item-description">Create the fixture</div> </dd> <dt class="field"> <span class="method-title">build</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_interface.html#methodbuild">mr_fixture_interface::build()</a> in interface.php</div> <div class="index-item-description">Create the fixture</div> </dd> <dt class="field"> <span class="method-title">build</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#methodbuild">mr_fixture_role_assignment::build()</a> in assignment.php</div> <div class="index-item-description">Create the fixture</div> </dd> <dt class="field"> <span class="method-title">build</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group.html#methodbuild">mr_fixture_group::build()</a> in group.php</div> <div class="index-item-description">Create the fixture</div> </dd> <dt class="field"> <span class="include-title">block.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_controller---block.php.html">block.php</a> in block.php</div> </dd> <dt class="field"> <span class="include-title">buffer.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_helper---buffer.php.html">buffer.php</a> in buffer.php</div> </dd> </dl> <a name="c"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">c</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$cache</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_cache.html#var$cache">mr_cache::$cache</a> in cache.php</div> <div class="index-item-description">Cache object</div> </dd> <dt class="field"> <span class="var-title">$cache</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_cache.html#var$cache">mr_helper_cache::$cache</a> in cache.php</div> <div class="index-item-description">Cache model</div> </dd> <dt class="field"> <span class="var-title">$cachekey</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$cachekey">mr_html_table::$cachekey</a> in table.php</div> <div class="index-item-description">Cache ID to use</div> </dd> <dt class="field"> <span class="var-title">$checkedsql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_checkbox.html#var$checkedsql">mr_html_filter_checkbox::$checkedsql</a> in checkbox.php</div> <div class="index-item-description">SQL for when the checkbox is unchecked</div> </dd> <dt class="field"> <span class="var-title">$classes</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_heading.html#var$classes">mr_html_heading::$classes</a> in heading.php</div> <div class="index-item-description">Heading classes</div> </dd> <dt class="field"> <span class="var-title">$cm</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_mod.html#var$cm">mr_controller_mod::$cm</a> in mod.php</div> <div class="index-item-description">Course module record</div> </dd> <dt class="field"> <span class="var-title">$columns</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$columns">mr_html_table::$columns</a> in table.php</div> <div class="index-item-description">Columns</div> </dd> <dt class="field"> <span class="var-title">$component</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tabs.html#var$component">mr_html_tabs::$component</a> in tabs.php</div> <div class="index-item-description">Get string component key</div> </dd> <dt class="field"> <span class="var-title">$component</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#var$component">mr_controller::$component</a> in controller.php</div> <div class="index-item-description">Get string component</div> </dd> <dt class="field"> <span class="var-title">$component</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_notify.html#var$component">mr_html_notify::$component</a> in notify.php</div> <div class="index-item-description">Get string component</div> </dd> <dt class="field"> <span class="var-title">$component</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_heading.html#var$component">mr_html_heading::$component</a> in heading.php</div> <div class="index-item-description">Get string component</div> </dd> <dt class="field"> <span class="var-title">$config</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column.html#var$config">mr_html_table_column::$config</a> in column.php</div> <div class="index-item-description">Column settings/configurations</div> </dd> <dt class="field"> <span class="var-title">$config</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#var$config">mr_controller::$config</a> in controller.php</div> <div class="index-item-description">Global configuration for plugin</div> </dd> <dt class="field"> <span class="var-title">$config</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#var$config">mr_report_abstract::$config</a> in abstract.php</div> <div class="index-item-description">Config Model</div> </dd> <dt class="field"> <span class="var-title">$contents</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#var$contents">mr_html_tag::$contents</a> in tag.php</div> <div class="index-item-description">HTML tag contents (EG: goes between the open/close tags)</div> </dd> <dt class="field"> <span class="var-title">$context</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#var$context">mr_fixture_role_assignment::$context</a> in assignment.php</div> </dd> <dt class="field"> <span class="var-title">$counts</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_queue.html#var$counts">mr_db_queue::$counts</a> in queue.php</div> <div class="index-item-description">Stores the number of inserts and updates through lifetime of queue</div> </dd> <dt class="field"> <span class="var-title">$course</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#var$course">mr_fixture_enrollment::$course</a> in enrollment.php</div> </dd> <dt class="field"> <span class="var-title">$course</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group.html#var$course">mr_fixture_group::$course</a> in group.php</div> </dd> <dt class="field"> <span class="var-title">$courseid</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_preferences.html#var$courseid">mr_preferences::$courseid</a> in preferences.php</div> <div class="index-item-description">The course ID</div> </dd> <dt class="field"> <span class="var-title">$courseid</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#var$courseid">mr_report_abstract::$courseid</a> in abstract.php</div> <div class="index-item-description">Course ID</div> </dd> <dt class="field"> <span class="include-title">cache.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_cache.php.html">cache.php</a> in cache.php</div> </dd> <dt class="field"> <span class="method-title">cached</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodcached">mr_html_table::cached()</a> in table.php</div> <div class="index-item-description">Is the table cached for this request or not</div> </dd> <dt class="field"> <span class="method-title">classname</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_load.html#methodclassname">mr_helper_load::classname()</a> in load.php</div> <div class="index-item-description">Generate a class name from path</div> </dd> <dt class="field"> <span class="method-title">clean</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_dump.html#methodclean">mr_db_dump::clean()</a> in dump.php</div> <div class="index-item-description">Cleanup!</div> </dd> <dt class="field"> <span class="method-title">clean</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_cache.html#methodclean">mr_cache::clean()</a> in cache.php</div> <div class="index-item-description">Clean all cache entries</div> </dd> <dt class="field"> <span class="method-title">cleanup</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_abstract.html#methodcleanup">mr_file_export_text_abstract::cleanup()</a> in abstract.php</div> <div class="index-item-description">Remove the csv file</div> </dd> <dt class="field"> <span class="method-title">cleanup</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_abstract.html#methodcleanup">mr_file_export_abstract::cleanup()</a> in abstract.php</div> <div class="index-item-description">Run any cleanup routines</div> </dd> <dt class="field"> <span class="method-title">cleanup</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#methodcleanup">mr_file_export::cleanup()</a> in export.php</div> <div class="index-item-description">Calls the exporters cleanup.</div> </dd> <dt class="field"> <span class="method-title">close</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_abstract.html#methodclose">mr_file_export_abstract::close()</a> in abstract.php</div> <div class="index-item-description">Close the export and return whatever the export generated</div> </dd> <dt class="field"> <span class="method-title">close</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_abstract.html#methodclose">mr_file_export_spreadsheet_abstract::close()</a> in abstract.php</div> <div class="index-item-description">Close the file pointer and return file</div> </dd> <dt class="field"> <span class="method-title">close</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_recordset.html#methodclose">mr_repository_recordset::close()</a> in recordset.php</div> </dd> <dt class="field"> <span class="method-title">close</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#methodclose">mr_file_export::close()</a> in export.php</div> <div class="index-item-description">Stop exporting and if the exporter returns a file, then the file is returned, otherwise, always returns false.</div> </dd> <dt class="field"> <span class="method-title">close</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_abstract.html#methodclose">mr_file_export_text_abstract::close()</a> in abstract.php</div> <div class="index-item-description">Close the file pointer and return file</div> </dd> <dt class="field"> <span class="method-title">close</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#methodclose">mr_html_tag::close()</a> in tag.php</div> <div class="index-item-description">Render the HTML tag</div> </dd> <dt class="field"> <span class="method-title">column_exists</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#methodcolumn_exists">mr_db_table::column_exists()</a> in table.php</div> <div class="index-item-description">Determine if a column exists in the table</div> </dd> <dt class="field"> <span class="include-title">controller.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_controller.php.html">controller.php</a> in controller.php</div> </dd> <dt class="field"> <span class="method-title">convert</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#methodconvert">mr_db_table::convert()</a> in table.php</div> <div class="index-item-description">Convert an object or an array of objects into mr_db_records</div> </dd> <dt class="field"> <span class="method-title">count</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodcount">mr_db_record::count()</a> in record.php</div> <div class="index-item-description">Return record count</div> </dd> <dt class="field"> <span class="method-title">count_records</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodcount_records">mr_report_abstract::count_records()</a> in abstract.php</div> <div class="index-item-description">Count the total number of records that are included in the report</div> </dd> <dt class="field"> <span class="method-title">current</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_recordset.html#methodcurrent">mr_repository_recordset::current()</a> in recordset.php</div> <div class="index-item-description">Our only real magic here, we are converting the record to our model.</div> </dd> <dt class="field"> <span class="include-title">csv.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_file---export---text---csv.php.html">csv.php</a> in csv.php</div> </dd> <dt class="field"> <span class="include-title">course.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_fixture---course.php.html">course.php</a> in course.php</div> </dd> <dt class="field"> <span class="include-title">cache.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_helper---cache.php.html">cache.php</a> in cache.php</div> </dd> <dt class="field"> <span class="include-title">checkbox.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter---checkbox.php.html">checkbox.php</a> in checkbox.php</div> </dd> <dt class="field"> <span class="include-title">column.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---table---column.php.html">column.php</a> in column.php</div> </dd> </dl> <a name="d"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">d</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$decimals</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_number.html#var$decimals">mr_format_number::$decimals</a> in number.php</div> <div class="index-item-description">Decimals to round to</div> </dd> <dt class="field"> <span class="var-title">$default</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_checkbox.html#var$default">mr_html_filter_checkbox::$default</a> in checkbox.php</div> <div class="index-item-description">Default state, checked/unchecked (0, 1)</div> </dd> <dt class="field"> <span class="var-title">$defaultorder</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$defaultorder">mr_html_table::$defaultorder</a> in table.php</div> <div class="index-item-description">The table's default order</div> </dd> <dt class="field"> <span class="var-title">$defaults</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_selectmulti.html#var$defaults">mr_html_filter_selectmulti::$defaults</a> in selectmulti.php</div> <div class="index-item-description">Defaults</div> </dd> <dt class="field"> <span class="var-title">$defaultsort</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$defaultsort">mr_html_table::$defaultsort</a> in table.php</div> <div class="index-item-description">The table's default sort</div> </dd> <dt class="field"> <span class="var-title">$deletes</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_queue.html#var$deletes">mr_db_queue::$deletes</a> in queue.php</div> <div class="index-item-description">Record delete queue</div> </dd> <dt class="field"> <span class="var-title">$disabledif</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#var$disabledif">mr_html_filter_abstract::$disabledif</a> in abstract.php</div> <div class="index-item-description">Element disabledIf parameters</div> </dd> <dt class="field"> <span class="include-title">dump.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_db---dump.php.html">dump.php</a> in dump.php</div> </dd> <dt class="field"> <span class="method-title">debuginfo</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_testwebservice.html#methoddebuginfo">mr_helper_testwebservice::debuginfo()</a> in testwebservice.php</div> <div class="index-item-description">Generate debugging information for a web service request</div> </dd> <dt class="field"> <span class="method-title">delete</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methoddelete">mr_db_record::delete()</a> in record.php</div> <div class="index-item-description">Delete the record.</div> </dd> <dt class="field"> <span class="method-title">delete</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_preferences.html#methoddelete">mr_preferences::delete()</a> in preferences.php</div> <div class="index-item-description">Delete a preference</div> </dd> <dt class="field"> <span class="method-title">delete</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#methoddelete">mr_db_table::delete()</a> in table.php</div> <div class="index-item-description">Delete a row from the table</div> </dd> <dt class="field"> <span class="method-title">delete</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_abstract.html#methoddelete">mr_repository_abstract::delete()</a> in abstract.php</div> <div class="index-item-description">Delete a model</div> </dd> <dt class="field"> <span class="method-title">delete_user</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_user.html#methoddelete_user">mr_fixture_user::delete_user()</a> in user.php</div> <div class="index-item-description">Does work of deleting the user</div> </dd> <dt class="field"> <span class="method-title">destroy</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group_member.html#methoddestroy">mr_fixture_group_member::destroy()</a> in member.php</div> <div class="index-item-description">Delete the fixture</div> </dd> <dt class="field"> <span class="method-title">destroy</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role.html#methoddestroy">mr_fixture_role::destroy()</a> in role.php</div> <div class="index-item-description">Delete the fixture</div> </dd> <dt class="field"> <span class="method-title">destroy</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_user.html#methoddestroy">mr_fixture_user::destroy()</a> in user.php</div> <div class="index-item-description">Delete the fixture</div> </dd> <dt class="field"> <span class="method-title">destroy</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_manager.html#methoddestroy">mr_fixture_manager::destroy()</a> in manager.php</div> <div class="index-item-description">Delete all fixtures</div> </dd> <dt class="field"> <span class="method-title">destroy</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_course.html#methoddestroy">mr_fixture_course::destroy()</a> in course.php</div> <div class="index-item-description">Delete the fixture</div> </dd> <dt class="field"> <span class="method-title">destroy</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#methoddestroy">mr_fixture_role_assignment::destroy()</a> in assignment.php</div> <div class="index-item-description">Delete the fixture</div> </dd> <dt class="field"> <span class="method-title">destroy</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methoddestroy">mr_fixture_enrollment::destroy()</a> in enrollment.php</div> <div class="index-item-description">Delete the fixture</div> </dd> <dt class="field"> <span class="method-title">destroy</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_interface.html#methoddestroy">mr_fixture_interface::destroy()</a> in interface.php</div> <div class="index-item-description">Delete the fixture</div> </dd> <dt class="field"> <span class="method-title">destroy</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group.html#methoddestroy">mr_fixture_group::destroy()</a> in group.php</div> <div class="index-item-description">Delete the fixture</div> </dd> <dt class="field"> <span class="method-title">direct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_load.html#methoddirect">mr_helper_load::direct()</a> in load.php</div> <div class="index-item-description">Load an instance from a file</div> </dd> <dt class="field"> <span class="method-title">direct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_cache.html#methoddirect">mr_helper_cache::direct()</a> in cache.php</div> <div class="index-item-description">Save data to the cache (This is the same as mr_cache method save)</div> </dd> <dt class="field"> <span class="method-title">direct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_tag.html#methoddirect">mr_helper_tag::direct()</a> in tag.php</div> <div class="index-item-description">Get an instance of mr_html_tag</div> </dd> <dt class="field"> <span class="method-title">direct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_buffer.html#methoddirect">mr_helper_buffer::direct()</a> in buffer.php</div> <div class="index-item-description">Assists with calling functions that do no return output</div> </dd> <dt class="field"> <span class="method-title">direct</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_recentactivity.html#methoddirect">mr_helper_recentactivity::direct()</a> in recentactivity.php</div> <div class="index-item-description">Get recent activity for course(s)</div> </dd> <dt class="field"> <span class="method-title">disable_sort</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methoddisable_sort">mr_html_table::disable_sort()</a> in table.php</div> <div class="index-item-description">Disable sorting</div> </dd> <dt class="field"> <span class="method-title">document</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_testwebservice.html#methoddocument">mr_helper_testwebservice::document()</a> in testwebservice.php</div> <div class="index-item-description">Document a web service along with its response</div> </dd> <dt class="field"> <span class="method-title">document</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#methoddocument">mr_server_abstract::document()</a> in abstract.php</div> <div class="index-item-description">Document the service and its response</div> </dd> <dt class="field"> <span class="method-title">dump</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_dump.html#methoddump">mr_db_dump::dump()</a> in dump.php</div> <div class="index-item-description">Actually runs the dump and optionally the archive</div> </dd> <dt class="field"> <span class="include-title">date.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_format---date.php.html">date.php</a> in date.php</div> </dd> <dt class="field"> <span class="include-title">daterange.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter---daterange.php.html">daterange.php</a> in daterange.php</div> </dd> <dt class="field"> <span class="include-title">dynamic.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---table---column---dynamic.php.html">dynamic.php</a> in dynamic.php</div> </dd> </dl> <a name="e"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">e</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$emptymessage</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$emptymessage">mr_html_table::$emptymessage</a> in table.php</div> <div class="index-item-description">Message to display when table is empty</div> </dd> <dt class="field"> <span class="var-title">$enroll</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#var$enroll">mr_fixture_enrollment::$enroll</a> in enrollment.php</div> </dd> <dt class="field"> <span class="var-title">$enrollment</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group_member.html#var$enrollment">mr_fixture_group_member::$enrollment</a> in member.php</div> </dd> <dt class="field"> <span class="var-title">$executedsql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#var$executedsql">mr_report_abstract::$executedsql</a> in abstract.php</div> <div class="index-item-description">SQL executed by this report</div> </dd> <dt class="field"> <span class="var-title">$export</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$export">mr_html_table::$export</a> in table.php</div> <div class="index-item-description">Export class</div> </dd> <dt class="field"> <span class="var-title">$export</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#var$export">mr_report_abstract::$export</a> in abstract.php</div> <div class="index-item-description">Export plugin</div> </dd> <dt class="field"> <span class="var-title">$exporters</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#var$exporters">mr_file_export::$exporters</a> in export.php</div> <div class="index-item-description">Loaded exporters, only these can be used</div> </dd> <dt class="field"> <span class="var-title">$exporting</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#var$exporting">mr_file_export::$exporting</a> in export.php</div> <div class="index-item-description">Flag for if exporting is currently underway or not</div> </dd> <dt class="field"> <span class="method-title">exists</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role.html#methodexists">mr_fixture_role::exists()</a> in role.php</div> <div class="index-item-description">Determine if the fixture exists</div> </dd> <dt class="field"> <span class="method-title">exists</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group_member.html#methodexists">mr_fixture_group_member::exists()</a> in member.php</div> <div class="index-item-description">Determine if the fixture exists</div> </dd> <dt class="field"> <span class="method-title">exists</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#methodexists">mr_fixture_role_assignment::exists()</a> in assignment.php</div> <div class="index-item-description">Determine if the fixture exists</div> </dd> <dt class="field"> <span class="method-title">exists</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_var.html#methodexists">mr_var::exists()</a> in var.php</div> <div class="index-item-description">Check if an index exists</div> </dd> <dt class="field"> <span class="method-title">exists</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_user.html#methodexists">mr_fixture_user::exists()</a> in user.php</div> <div class="index-item-description">Determine if the fixture exists</div> </dd> <dt class="field"> <span class="method-title">exists</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methodexists">mr_fixture_enrollment::exists()</a> in enrollment.php</div> <div class="index-item-description">Determine if the fixture exists</div> </dd> <dt class="field"> <span class="method-title">exists</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_course.html#methodexists">mr_fixture_course::exists()</a> in course.php</div> <div class="index-item-description">Determine if the fixture exists</div> </dd> <dt class="field"> <span class="method-title">exists</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group.html#methodexists">mr_fixture_group::exists()</a> in group.php</div> <div class="index-item-description">Determine if the fixture exists</div> </dd> <dt class="field"> <span class="method-title">exists</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_interface.html#methodexists">mr_fixture_interface::exists()</a> in interface.php</div> <div class="index-item-description">Determine if the fixture exists</div> </dd> <dt class="field"> <span class="method-title">export</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodexport">mr_report_abstract::export()</a> in abstract.php</div> <div class="index-item-description">Export report</div> </dd> <dt class="field"> <span class="method-title">extract_data</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodextract_data">mr_html_table::extract_data()</a> in table.php</div> <div class="index-item-description">Extract column data from a row while trying to keep everything in the same order as the columns. Generally, don't need to call this method unless you are micro managing an export.</div> </dd> <dt class="field"> <span class="include-title">excel.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_file---export---spreadsheet---excel.php.html">excel.php</a> in excel.php</div> </dd> <dt class="field"> <span class="include-title">export.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_file---export.php.html">export.php</a> in export.php</div> </dd> <dt class="field"> <span class="include-title">enrollment.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_fixture---enrollment.php.html">enrollment.php</a> in enrollment.php</div> </dd> </dl> <a name="f"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">f</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$field</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#var$field">mr_html_filter_abstract::$field</a> in abstract.php</div> <div class="index-item-description">SQL field name (if different from $name)</div> </dd> <dt class="field"> <span class="var-title">$file</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_abstract.html#var$file">mr_file_export_text_abstract::$file</a> in abstract.php</div> <div class="index-item-description">The export file</div> </dd> <dt class="field"> <span class="var-title">$file</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_dump.html#var$file">mr_db_dump::$file</a> in dump.php</div> <div class="index-item-description">Full file path to the SQL dump file</div> </dd> <dt class="field"> <span class="var-title">$filename</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#var$filename">mr_file_export::$filename</a> in export.php</div> <div class="index-item-description">Export file name</div> </dd> <dt class="field"> <span class="var-title">$filter</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#var$filter">mr_report_abstract::$filter</a> in abstract.php</div> <div class="index-item-description">Filter model</div> </dd> <dt class="field"> <span class="var-title">$filters</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#var$filters">mr_html_filter::$filters</a> in filter.php</div> <div class="index-item-description">Added filters</div> </dd> <dt class="field"> <span class="var-title">$fixtures</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_manager.html#var$fixtures">mr_fixture_manager::$fixtures</a> in manager.php</div> </dd> <dt class="field"> <span class="var-title">$format</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_date.html#var$format">mr_format_date::$format</a> in date.php</div> <div class="index-item-description">Use this date format</div> </dd> <dt class="field"> <span class="var-title">$format</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_string.html#var$format">mr_format_string::$format</a> in string.php</div> <div class="index-item-description">Run the string through format_string()</div> </dd> <dt class="field"> <span class="var-title">$formats</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column.html#var$formats">mr_html_table_column::$formats</a> in column.php</div> <div class="index-item-description">Column formatting</div> </dd> <dt class="field"> <span class="var-title">$formpath</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#var$formpath">mr_html_filter::$formpath</a> in filter.php</div> <div class="index-item-description">The path to the form class</div> </dd> <dt class="field"> <span class="var-title">$fp</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_abstract.html#var$fp">mr_file_export_text_abstract::$fp</a> in abstract.php</div> <div class="index-item-description">The file point to the export file</div> </dd> <dt class="field"> <span class="method-title">fault</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#methodfault">mr_server_abstract::fault()</a> in abstract.php</div> <div class="index-item-description">Generate server fault XML</div> </dd> <dt class="field"> <span class="method-title">fault</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_response_abstract.html#methodfault">mr_server_response_abstract::fault()</a> in abstract.php</div> <div class="index-item-description">Server fault response (Return false to use Zend Server's)</div> </dd> <dt class="field"> <span class="method-title">fetch_enrollment_instance</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methodfetch_enrollment_instance">mr_fixture_enrollment::fetch_enrollment_instance()</a> in enrollment.php</div> <div class="index-item-description">Find or create an enrollment instance record</div> </dd> <dt class="field"> <span class="method-title">file</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_load.html#methodfile">mr_helper_load::file()</a> in load.php</div> <div class="index-item-description">Load a file</div> </dd> <dt class="field"> <span class="method-title">filter_definition_hook</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodfilter_definition_hook">mr_report_abstract::filter_definition_hook()</a> in abstract.php</div> <div class="index-item-description">A hook into the filter's form definition, called after all filters have been added.</div> </dd> <dt class="field"> <span class="method-title">filter_init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodfilter_init">mr_report_abstract::filter_init()</a> in abstract.php</div> <div class="index-item-description">Filter setup - override to add a filter</div> </dd> <dt class="field"> <span class="method-title">filter_selectmultiplus_init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_html.html#methodfilter_selectmultiplus_init">mr_helper_html::filter_selectmultiplus_init()</a> in html.php</div> <div class="index-item-description">Javascript initialization for selectmultiplus filter</div> </dd> <dt class="field"> <span class="method-title">filter_sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodfilter_sql">mr_report_abstract::filter_sql()</a> in abstract.php</div> <div class="index-item-description">Generate SQL from filter</div> </dd> <dt class="field"> <span class="method-title">flush</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_queue.html#methodflush">mr_db_queue::flush()</a> in queue.php</div> <div class="index-item-description">Flush the queue</div> </dd> <dt class="field"> <span class="method-title">format</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_number.html#methodformat">mr_format_number::format()</a> in number.php</div> <div class="index-item-description">Format number</div> </dd> <dt class="field"> <span class="method-title">format</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_string.html#methodformat">mr_format_string::format()</a> in string.php</div> <div class="index-item-description">Format the string</div> </dd> <dt class="field"> <span class="method-title">format</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_date.html#methodformat">mr_format_date::format()</a> in date.php</div> <div class="index-item-description">Format date</div> </dd> <dt class="field"> <span class="method-title">format</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_abstract.html#methodformat">mr_format_abstract::format()</a> in abstract.php</div> <div class="index-item-description">Format a value</div> </dd> <dt class="field"> <span class="method-title">format_response</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_testwebservice.html#methodformat_response">mr_helper_testwebservice::format_response()</a> in testwebservice.php</div> <div class="index-item-description">Given a server response, generate output for HTML</div> </dd> <dt class="field"> FRONTEND </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_cache.html#constFRONTEND">mr_cache::FRONTEND</a> in cache.php</div> <div class="index-item-description">Cache interface</div> </dd> <dt class="field"> <span class="include-title">filter.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter.php.html">filter.php</a> in filter.php</div> </dd> </dl> <a name="g"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">g</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$group</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group_member.html#var$group">mr_fixture_group_member::$group</a> in member.php</div> </dd> <dt class="field"> <span class="include-title">group.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_fixture---group.php.html">group.php</a> in group.php</div> </dd> <dt class="field"> <span class="method-title">generalize_text</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_testwebservice.html#methodgeneralize_text">mr_helper_testwebservice::generalize_text()</a> in testwebservice.php</div> <div class="index-item-description">Strip out site specific information from text</div> </dd> <dt class="field"> <span class="method-title">generates_file</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_abstract.html#methodgenerates_file">mr_file_export_spreadsheet_abstract::generates_file()</a> in abstract.php</div> <div class="index-item-description">Cannot make files with the lib</div> </dd> <dt class="field"> <span class="method-title">generates_file</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_abstract.html#methodgenerates_file">mr_file_export_abstract::generates_file()</a> in abstract.php</div> <div class="index-item-description">If the export plugin can generate a file or not.</div> </dd> <dt class="field"> <span class="method-title">get</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_redis.html#methodget">mr_lock_redis::get()</a> in redis.php</div> </dd> <dt class="field"> <span class="method-title">get</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_abstract.html#methodget">mr_repository_abstract::get()</a> in abstract.php</div> <div class="index-item-description">Get a model based on conditions</div> </dd> <dt class="field"> <span class="method-title">get</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_preferences.html#methodget">mr_preferences::get()</a> in preferences.php</div> <div class="index-item-description">Get a preference</div> </dd> <dt class="field"> <span class="method-title">get</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock.html#methodget">mr_lock::get()</a> in lock.php</div> <div class="index-item-description">Try to acquire the lock</div> </dd> <dt class="field"> <span class="method-title">get</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_var.html#methodget">mr_var::get()</a> in var.php</div> <div class="index-item-description">Get a value at index</div> </dd> <dt class="field"> <span class="method-title">get</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_abstract.html#methodget">mr_fixture_abstract::get()</a> in abstract.php</div> <div class="index-item-description">Get a property from the build results</div> </dd> <dt class="field"> <span class="method-title">get</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_manager.html#methodget">mr_fixture_manager::get()</a> in manager.php</div> <div class="index-item-description">Get a fixture instance by name</div> </dd> <dt class="field"> <span class="method-title">get</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper.html#methodget">mr_helper::get()</a> in helper.php</div> <div class="index-item-description">Static interface for getting an instance of mr_helper</div> </dd> <dt class="field"> <span class="method-title">get</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_interface.html#methodget">mr_fixture_interface::get()</a> in interface.php</div> <div class="index-item-description">Get a property from the build results</div> </dd> <dt class="field"> <span class="method-title">get</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#methodget">mr_db_table::get()</a> in table.php</div> <div class="index-item-description">Get a row from the table</div> </dd> <dt class="field"> <span class="method-title">get</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_abstract.html#methodget">mr_lock_abstract::get()</a> in abstract.php</div> <div class="index-item-description">Try to acquire the lock</div> </dd> <dt class="field"> <span class="method-title">getIterator</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodgetIterator">mr_db_record::getIterator()</a> in record.php</div> <div class="index-item-description">Return an iterator to iterate over the record data</div> </dd> <dt class="field"> <span class="method-title">get_attribute</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#methodget_attribute">mr_html_tag::get_attribute()</a> in tag.php</div> <div class="index-item-description">Get an attribute</div> </dd> <dt class="field"> <span class="method-title">get_cell</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column.html#methodget_cell">mr_html_table_column::get_cell()</a> in column.php</div> <div class="index-item-description">Derive cell value from row</div> </dd> <dt class="field"> <span class="method-title">get_column</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column_dynamic.html#methodget_column">mr_html_table_column_dynamic::get_column()</a> in dynamic.php</div> <div class="index-item-description">Get a column</div> </dd> <dt class="field"> <span class="method-title">get_columns</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodget_columns">mr_html_table::get_columns()</a> in table.php</div> <div class="index-item-description">Gets all table columns</div> </dd> <dt class="field"> <span class="method-title">get_columns</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#methodget_columns">mr_db_table::get_columns()</a> in table.php</div> <div class="index-item-description">Get meta column data for the table</div> </dd> <dt class="field"> <span class="method-title">get_columns</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column_dynamic.html#methodget_columns">mr_html_table_column_dynamic::get_columns()</a> in dynamic.php</div> <div class="index-item-description">Get all columns</div> </dd> <dt class="field"> <span class="method-title">get_columns</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodget_columns">mr_db_record::get_columns()</a> in record.php</div> <div class="index-item-description">Get record column names that are currently set</div> </dd> <dt class="field"> <span class="method-title">get_column_default</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#methodget_column_default">mr_db_table::get_column_default()</a> in table.php</div> <div class="index-item-description">Get the default for a column</div> </dd> <dt class="field"> <span class="method-title">get_component</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodget_component">mr_report_abstract::get_component()</a> in abstract.php</div> <div class="index-item-description">Passed to get_string calls.</div> </dd> <dt class="field"> <span class="method-title">get_component</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_abstract.html#methodget_component">mr_file_export_abstract::get_component()</a> in abstract.php</div> <div class="index-item-description">Passed to get_string calls.</div> </dd> <dt class="field"> <span class="method-title">get_component</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_plugin.html#methodget_component">mr_plugin::get_component()</a> in plugin.php</div> <div class="index-item-description">Passed to get_string calls.</div> </dd> <dt class="field"> <span class="method-title">get_config</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#methodget_config">mr_controller::get_config()</a> in controller.php</div> <div class="index-item-description">Get global plugin config</div> </dd> <dt class="field"> <span class="method-title">get_config</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column.html#methodget_config">mr_html_table_column::get_config()</a> in column.php</div> <div class="index-item-description">Get config object</div> </dd> <dt class="field"> <span class="method-title">get_context</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_mod.html#methodget_context">mr_controller_mod::get_context()</a> in mod.php</div> <div class="index-item-description">Get controller context</div> </dd> <dt class="field"> <span class="method-title">get_context</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#methodget_context">mr_controller::get_context()</a> in controller.php</div> <div class="index-item-description">Get controller context</div> </dd> <dt class="field"> <span class="method-title">get_context</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_block.html#methodget_context">mr_controller_block::get_context()</a> in block.php</div> <div class="index-item-description">Get controller context</div> </dd> <dt class="field"> <span class="method-title">get_context</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_admin.html#methodget_context">mr_controller_admin::get_context()</a> in admin.php</div> <div class="index-item-description">Get controller context</div> </dd> <dt class="field"> <span class="method-title">get_context</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#methodget_context">mr_fixture_role_assignment::get_context()</a> in assignment.php</div> </dd> <dt class="field"> <span class="method-title">get_contextid</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#methodget_contextid">mr_fixture_role_assignment::get_contextid()</a> in assignment.php</div> <div class="index-item-description">Derive the context ID from the context varaible</div> </dd> <dt class="field"> <span class="method-title">get_counts</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_queue.html#methodget_counts">mr_db_queue::get_counts()</a> in queue.php</div> <div class="index-item-description">Returns the count of inserts, updates, and deletes for the queue either independently if $type is specified or all together if not</div> </dd> <dt class="field"> <span class="method-title">get_count_sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodget_count_sql">mr_report_abstract::get_count_sql()</a> in abstract.php</div> <div class="index-item-description">Get the SQL to count to the total report rows</div> </dd> <dt class="field"> <span class="method-title">get_course</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group.html#methodget_course">mr_fixture_group::get_course()</a> in group.php</div> </dd> <dt class="field"> <span class="method-title">get_course</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methodget_course">mr_fixture_enrollment::get_course()</a> in enrollment.php</div> </dd> <dt class="field"> <span class="method-title">get_courseid</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_preferences.html#methodget_courseid">mr_preferences::get_courseid()</a> in preferences.php</div> <div class="index-item-description">Get current courseid</div> </dd> <dt class="field"> <span class="method-title">get_delimiter</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_abstract.html#methodget_delimiter">mr_file_export_text_abstract::get_delimiter()</a> in abstract.php</div> <div class="index-item-description">Get the text delimiter</div> </dd> <dt class="field"> <span class="method-title">get_delimiter</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_csv.html#methodget_delimiter">mr_file_export_text_csv::get_delimiter()</a> in csv.php</div> <div class="index-item-description">Get the text delimiter</div> </dd> <dt class="field"> <span class="method-title">get_delimiter</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_tsv.html#methodget_delimiter">mr_file_export_text_tsv::get_delimiter()</a> in tsv.php</div> <div class="index-item-description">Get the text delimiter</div> </dd> <dt class="field"> <span class="method-title">get_description</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodget_description">mr_report_abstract::get_description()</a> in abstract.php</div> <div class="index-item-description">Get report description text</div> </dd> <dt class="field"> <span class="method-title">get_element_name</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#methodget_element_name">mr_html_filter_abstract::get_element_name()</a> in abstract.php</div> <div class="index-item-description">Get the filter's primary form element's name</div> </dd> <dt class="field"> <span class="method-title">get_element_name</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_numberrange.html#methodget_element_name">mr_html_filter_numberrange::get_element_name()</a> in numberrange.php</div> <div class="index-item-description">Return the group element</div> </dd> <dt class="field"> <span class="method-title">get_element_name</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_daterange.html#methodget_element_name">mr_html_filter_daterange::get_element_name()</a> in daterange.php</div> <div class="index-item-description">Return the group element</div> </dd> <dt class="field"> <span class="method-title">get_enroll</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methodget_enroll">mr_fixture_enrollment::get_enroll()</a> in enrollment.php</div> </dd> <dt class="field"> <span class="method-title">get_enrollment</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group_member.html#methodget_enrollment">mr_fixture_group_member::get_enrollment()</a> in member.php</div> </dd> <dt class="field"> <span class="method-title">get_extension</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_ods.html#methodget_extension">mr_file_export_spreadsheet_ods::get_extension()</a> in ods.php</div> <div class="index-item-description">Get the file extension generated by the export class</div> </dd> <dt class="field"> <span class="method-title">get_extension</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_tsv.html#methodget_extension">mr_file_export_text_tsv::get_extension()</a> in tsv.php</div> <div class="index-item-description">Get the file extension generated by the export class</div> </dd> <dt class="field"> <span class="method-title">get_extension</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_csv.html#methodget_extension">mr_file_export_text_csv::get_extension()</a> in csv.php</div> <div class="index-item-description">Get the file extension generated by the export class</div> </dd> <dt class="field"> <span class="method-title">get_extension</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_excel.html#methodget_extension">mr_file_export_spreadsheet_excel::get_extension()</a> in excel.php</div> <div class="index-item-description">Get the file extension generated by the export class</div> </dd> <dt class="field"> <span class="method-title">get_extension</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_abstract.html#methodget_extension">mr_file_export_abstract::get_extension()</a> in abstract.php</div> <div class="index-item-description">Get the file extension generated by the export class</div> </dd> <dt class="field"> <span class="method-title">get_field</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#methodget_field">mr_html_filter_abstract::get_field()</a> in abstract.php</div> <div class="index-item-description">Get SQL field name</div> </dd> <dt class="field"> <span class="method-title">get_group</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group_member.html#methodget_group">mr_fixture_group_member::get_group()</a> in member.php</div> </dd> <dt class="field"> <span class="method-title">get_id</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_model_record_abstract.html#methodget_id">mr_model_record_abstract::get_id()</a> in abstract.php</div> <div class="index-item-description">Get the ID</div> </dd> <dt class="field"> <span class="method-title">get_instance</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_autoload.html#methodget_instance">mr_autoload::get_instance()</a> in autoload.php</div> <div class="index-item-description">Return a static default instance of mr_autoload</div> </dd> <dt class="field"> <span class="method-title">get_limitfrom</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#methodget_limitfrom">mr_html_paging::get_limitfrom()</a> in paging.php</div> <div class="index-item-description">Get limitfrom SQL value</div> </dd> <dt class="field"> <span class="method-title">get_limitnum</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#methodget_limitnum">mr_html_paging::get_limitnum()</a> in paging.php</div> <div class="index-item-description">Get limitnum SQL value</div> </dd> <dt class="field"> <span class="method-title">get_lock_value</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_abstract.html#methodget_lock_value">mr_lock_abstract::get_lock_value()</a> in abstract.php</div> <div class="index-item-description">Get the value that should be used for the lock</div> </dd> <dt class="field"> <span class="method-title">get_messages</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_notify.html#methodget_messages">mr_html_notify::get_messages()</a> in notify.php</div> <div class="index-item-description">Get all messages added to the session.</div> </dd> <dt class="field"> <span class="method-title">get_metacolumn</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#methodget_metacolumn">mr_db_table::get_metacolumn()</a> in table.php</div> <div class="index-item-description">Get meta data for a specific column</div> </dd> <dt class="field"> <span class="method-title">get_metacolumns</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#methodget_metacolumns">mr_db_table::get_metacolumns()</a> in table.php</div> <div class="index-item-description">Get meta column data for the table</div> </dd> <dt class="field"> <span class="method-title">get_name</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#methodget_name">mr_db_table::get_name()</a> in table.php</div> <div class="index-item-description">Get the table's name</div> </dd> <dt class="field"> <span class="method-title">get_name</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#methodget_name">mr_html_filter_abstract::get_name()</a> in abstract.php</div> <div class="index-item-description">Get the field's name</div> </dd> <dt class="field"> <span class="method-title">get_name</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column.html#methodget_name">mr_html_table_column::get_name()</a> in column.php</div> <div class="index-item-description">Get the column name</div> </dd> <dt class="field"> <span class="method-title">get_namespace</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_load.html#methodget_namespace">mr_helper_load::get_namespace()</a> in load.php</div> <div class="index-item-description">Get the current namespace</div> </dd> <dt class="field"> <span class="method-title">get_new_model</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_abstract.html#methodget_new_model">mr_repository_abstract::get_new_model()</a> in abstract.php</div> <div class="index-item-description">Get a new instance of the model that the repository uses</div> </dd> <dt class="field"> <span class="method-title">get_option</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methodget_option">mr_fixture_enrollment::get_option()</a> in enrollment.php</div> </dd> <dt class="field"> <span class="method-title">get_option</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#methodget_option">mr_fixture_role_assignment::get_option()</a> in assignment.php</div> </dd> <dt class="field"> <span class="method-title">get_options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#methodget_options">mr_fixture_role_assignment::get_options()</a> in assignment.php</div> <div class="index-item-description">Get the properties used for the role assignment</div> </dd> <dt class="field"> <span class="method-title">get_options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group.html#methodget_options">mr_fixture_group::get_options()</a> in group.php</div> <div class="index-item-description">Get the properties used for the enrollment</div> </dd> <dt class="field"> <span class="method-title">get_options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methodget_options">mr_fixture_enrollment::get_options()</a> in enrollment.php</div> <div class="index-item-description">Get the properties used for the enrollment</div> </dd> <dt class="field"> <span class="method-title">get_options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_model_abstract.html#methodget_options">mr_model_abstract::get_options()</a> in abstract.php</div> <div class="index-item-description">A way to export model properties</div> </dd> <dt class="field"> <span class="method-title">get_options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_course.html#methodget_options">mr_fixture_course::get_options()</a> in course.php</div> <div class="index-item-description">Get the properties used for the course</div> </dd> <dt class="field"> <span class="method-title">get_options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_user.html#methodget_options">mr_fixture_user::get_options()</a> in user.php</div> <div class="index-item-description">Get the properties used for the user</div> </dd> <dt class="field"> <span class="method-title">get_plugin</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_preferences.html#methodget_plugin">mr_preferences::get_plugin()</a> in preferences.php</div> <div class="index-item-description">Get current plugin value</div> </dd> <dt class="field"> <span class="method-title">get_recordset</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_abstract.html#methodget_recordset">mr_repository_abstract::get_recordset()</a> in abstract.php</div> <div class="index-item-description">Get a mr_repository_recordset based on conditions, etc</div> </dd> <dt class="field"> <span class="method-title">get_recordset</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodget_recordset">mr_report_abstract::get_recordset()</a> in abstract.php</div> <div class="index-item-description">Get the recordset to the data for the report</div> </dd> <dt class="field"> <span class="method-title">get_request</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#methodget_request">mr_server_abstract::get_request()</a> in abstract.php</div> <div class="index-item-description">Get the HTTP request</div> </dd> <dt class="field"> <span class="method-title">get_response</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#methodget_response">mr_server_abstract::get_response()</a> in abstract.php</div> <div class="index-item-description">Get the response instance</div> </dd> <dt class="field"> <span class="method-title">get_results</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_abstract.html#methodget_results">mr_fixture_abstract::get_results()</a> in abstract.php</div> <div class="index-item-description">Get the build results</div> </dd> <dt class="field"> <span class="method-title">get_results</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_interface.html#methodget_results">mr_fixture_interface::get_results()</a> in interface.php</div> <div class="index-item-description">Get the build results</div> </dd> <dt class="field"> <span class="method-title">get_role</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#methodget_role">mr_fixture_role_assignment::get_role()</a> in assignment.php</div> </dd> <dt class="field"> <span class="method-title">get_role</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methodget_role">mr_fixture_enrollment::get_role()</a> in enrollment.php</div> </dd> <dt class="field"> <span class="method-title">get_rows</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tabs.html#methodget_rows">mr_html_tabs::get_rows()</a> in tabs.php</div> <div class="index-item-description">Based on the current $tobtab, return the tab row or rows.</div> </dd> <dt class="field"> <span class="method-title">get_rows_dumped</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_dump.html#methodget_rows_dumped">mr_db_dump::get_rows_dumped()</a> in dump.php</div> <div class="index-item-description">Get the number of rows dumped</div> </dd> <dt class="field"> <span class="method-title">get_select_field</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column_dynamic.html#methodget_select_field">mr_html_table_column_dynamic::get_select_field()</a> in dynamic.php</div> <div class="index-item-description">Get select fields of all dynamic columns</div> </dd> <dt class="field"> <span class="method-title">get_select_field</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column.html#methodget_select_field">mr_html_table_column::get_select_field()</a> in column.php</div> <div class="index-item-description">Get the select field for the SQL query</div> </dd> <dt class="field"> <span class="method-title">get_select_options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#methodget_select_options">mr_file_export::get_select_options()</a> in export.php</div> <div class="index-item-description">Get select options for the currently available exporters</div> </dd> <dt class="field"> <span class="method-title">get_shortname</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role.html#methodget_shortname">mr_fixture_role::get_shortname()</a> in role.php</div> </dd> <dt class="field"> <span class="method-title">get_sorting</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column.html#methodget_sorting">mr_html_table_column::get_sorting()</a> in column.php</div> <div class="index-item-description">Return sorting rules for this column</div> </dd> <dt class="field"> <span class="method-title">get_sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodget_sql">mr_report_abstract::get_sql()</a> in abstract.php</div> <div class="index-item-description">Get the SQL to generate the report rows</div> </dd> <dt class="field"> <span class="method-title">get_sql_select</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodget_sql_select">mr_html_table::get_sql_select()</a> in table.php</div> <div class="index-item-description">Get select fields from the columns</div> </dd> <dt class="field"> <span class="method-title">get_sql_sort</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodget_sql_sort">mr_html_table::get_sql_sort()</a> in table.php</div> <div class="index-item-description">Get sort SQL</div> </dd> <dt class="field"> <span class="method-title">get_table</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodget_table">mr_db_record::get_table()</a> in record.php</div> <div class="index-item-description">Get record's table</div> </dd> <dt class="field"> <span class="method-title">get_table</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_abstract.html#methodget_table">mr_repository_abstract::get_table()</a> in abstract.php</div> <div class="index-item-description">Get the table that this repository mapper uses</div> </dd> <dt class="field"> <span class="method-title">get_table_name</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_abstract.html#methodget_table_name">mr_repository_abstract::get_table_name()</a> in abstract.php</div> <div class="index-item-description">The name of the table that the repository uses</div> </dd> <dt class="field"> <span class="method-title">get_url</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#methodget_url">mr_file_export::get_url()</a> in export.php</div> <div class="index-item-description">Get the URL</div> </dd> <dt class="field"> <span class="method-title">get_url_select_options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#methodget_url_select_options">mr_file_export::get_url_select_options()</a> in export.php</div> <div class="index-item-description">Get URL select options for the currently available exporters</div> </dd> <dt class="field"> <span class="method-title">get_user</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group_member.html#methodget_user">mr_fixture_group_member::get_user()</a> in member.php</div> </dd> <dt class="field"> <span class="method-title">get_user</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methodget_user">mr_fixture_enrollment::get_user()</a> in enrollment.php</div> </dd> <dt class="field"> <span class="method-title">get_user</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#methodget_user">mr_fixture_role_assignment::get_user()</a> in assignment.php</div> </dd> <dt class="field"> <span class="method-title">get_zip_file</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_dump.html#methodget_zip_file">mr_db_dump::get_zip_file()</a> in dump.php</div> <div class="index-item-description">Get the zip file path (may not exist!)</div> </dd> <dt class="field"> <span class="method-title">good</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_notify.html#methodgood">mr_html_notify::good()</a> in notify.php</div> <div class="index-item-description">Add a good message</div> </dd> <dt class="field"> GOOD </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_notify.html#constGOOD">mr_html_notify::GOOD</a> in notify.php</div> <div class="index-item-description">Message that is good</div> </dd> </dl> <a name="h"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">h</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$heading</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#var$heading">mr_controller::$heading</a> in controller.php</div> <div class="index-item-description">Controller heading</div> </dd> <dt class="field"> <span class="var-title">$helpbutton</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#var$helpbutton">mr_html_filter_abstract::$helpbutton</a> in abstract.php</div> <div class="index-item-description">Element help button parameters</div> </dd> <dt class="field"> <span class="var-title">$helper</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#var$helper">mr_controller::$helper</a> in controller.php</div> <div class="index-item-description">Helper</div> </dd> <dt class="field"> <span class="var-title">$helper</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$helper">mr_html_table::$helper</a> in table.php</div> <div class="index-item-description">Helper model</div> </dd> <dt class="field"> <span class="var-title">$helper</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#var$helper">mr_html_filter::$helper</a> in filter.php</div> <div class="index-item-description">Helper model</div> </dd> <dt class="field"> <span class="var-title">$helper</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_autoload.html#var$helper">mr_autoload::$helper</a> in autoload.php</div> <div class="index-item-description">Helper</div> </dd> <dt class="field"> <span class="var-title">$hv_default</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_numberrange.html#var$hv_default">mr_html_filter_numberrange::$hv_default</a> in numberrange.php</div> <div class="index-item-description">The high value default</div> </dd> <dt class="field"> <span class="method-title">handle</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#methodhandle">mr_server_abstract::handle()</a> in abstract.php</div> <div class="index-item-description">Handle web service request</div> </dd> <dt class="field"> <span class="method-title">has</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_manager.html#methodhas">mr_fixture_manager::has()</a> in manager.php</div> <div class="index-item-description">Determine if a fixture with a specific name exists</div> </dd> <dt class="field"> <span class="method-title">has_heading</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column.html#methodhas_heading">mr_html_table_column::has_heading()</a> in column.php</div> <div class="index-item-description">Does this column have a heading</div> </dd> <dt class="field"> <span class="method-title">has_heading</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column_dynamic.html#methodhas_heading">mr_html_table_column_dynamic::has_heading()</a> in dynamic.php</div> <div class="index-item-description">Check all columns for headings</div> </dd> <dt class="field"> <span class="method-title">has_lock</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_abstract.html#methodhas_lock">mr_lock_abstract::has_lock()</a> in abstract.php</div> <div class="index-item-description">Determine we currently have a lock or not</div> </dd> <dt class="field"> <span class="include-title">html.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_helper---html.php.html">html.php</a> in html.php</div> </dd> <dt class="field"> <span class="include-title">helper.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_helper.php.html">helper.php</a> in helper.php</div> </dd> <dt class="field"> <span class="include-title">header.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter---header.php.html">header.php</a> in header.php</div> </dd> <dt class="field"> <span class="include-title">hidden.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter---hidden.php.html">hidden.php</a> in hidden.php</div> </dd> <dt class="field"> <span class="include-title">heading.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---heading.php.html">heading.php</a> in heading.php</div> </dd> </dl> <a name="i"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">i</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$icon</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_heading.html#var$icon">mr_html_heading::$icon</a> in heading.php</div> <div class="index-item-description">Header icon</div> </dd> <dt class="field"> <span class="var-title">$iconalt</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_heading.html#var$iconalt">mr_html_heading::$iconalt</a> in heading.php</div> <div class="index-item-description">Header icon alt text</div> </dd> <dt class="field"> <span class="var-title">$id</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_model_record_abstract.html#var$id">mr_model_record_abstract::$id</a> in abstract.php</div> </dd> <dt class="field"> <span class="var-title">$id</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_heading.html#var$id">mr_html_heading::$id</a> in heading.php</div> <div class="index-item-description">Heading ID</div> </dd> <dt class="field"> <span class="var-title">$identifier</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#var$identifier">mr_controller::$identifier</a> in controller.php</div> <div class="index-item-description">Get string idenifier</div> </dd> <dt class="field"> <span class="var-title">$ifempty</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_date.html#var$ifempty">mr_format_date::$ifempty</a> in date.php</div> <div class="index-item-description">If date is zero, use this value</div> </dd> <dt class="field"> <span class="var-title">$init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_bootstrap.html#var$init">mr_bootstrap::$init</a> in bootstrap.php</div> <div class="index-item-description">Flag for if startup is needed or not.</div> </dd> <dt class="field"> <span class="var-title">$inserts</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_queue.html#var$inserts">mr_db_queue::$inserts</a> in queue.php</div> <div class="index-item-description">Record insert queue</div> </dd> <dt class="field"> <span class="var-title">$instance</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#var$instance">mr_file_export::$instance</a> in export.php</div> <div class="index-item-description">Exporter instance</div> </dd> <dt class="field"> <span class="var-title">$instance</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_manager.html#var$instance">mr_fixture_manager::$instance</a> in manager.php</div> </dd> <dt class="field"> <span class="var-title">$instance</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_block.html#var$instance">mr_controller_block::$instance</a> in block.php</div> <div class="index-item-description">Block instance record</div> </dd> <dt class="field"> <span class="var-title">$instance</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_autoload.html#var$instance">mr_autoload::$instance</a> in autoload.php</div> <div class="index-item-description">Instance of mr_autoload</div> </dd> <dt class="field"> <span class="var-title">$instance</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_mod.html#var$instance">mr_controller_mod::$instance</a> in mod.php</div> <div class="index-item-description">Module instance record</div> </dd> <dt class="field"> <span class="var-title">$instances</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_manager.html#var$instances">mr_fixture_manager::$instances</a> in manager.php</div> </dd> <dt class="field"> <span class="var-title">$instances</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper.html#var$instances">mr_helper::$instances</a> in helper.php</div> <div class="index-item-description">Helper instances</div> </dd> <dt class="field"> <span class="var-title">$isnull</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_string.html#var$isnull">mr_format_string::$isnull</a> in string.php</div> <div class="index-item-description">If the value is NULL, then return this value</div> </dd> <dt class="field"> <span class="var-title">$isnull</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_number.html#var$isnull">mr_format_number::$isnull</a> in number.php</div> <div class="index-item-description">If the value is NULL, then use this value</div> </dd> <dt class="field"> <span class="include-title">interface.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_fixture---interface.php.html">interface.php</a> in interface.php</div> </dd> <dt class="field"> <span class="method-title">init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_service_abstract.html#methodinit">mr_server_service_abstract::init()</a> in abstract.php</div> <div class="index-item-description">Constructor hook</div> </dd> <dt class="field"> <span class="method-title">init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#methodinit">mr_html_tag::init()</a> in tag.php</div> <div class="index-item-description">Init routine</div> </dd> <dt class="field"> <span class="method-title">init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_response_abstract.html#methodinit">mr_server_response_abstract::init()</a> in abstract.php</div> <div class="index-item-description">Constructor hook</div> </dd> <dt class="field"> <span class="method-title">init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodinit">mr_report_abstract::init()</a> in abstract.php</div> <div class="index-item-description">Set report specific configs</div> </dd> <dt class="field"> <span class="method-title">init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#methodinit">mr_controller::init()</a> in controller.php</div> <div class="index-item-description">Controller Initialization</div> </dd> <dt class="field"> <span class="method-title">init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#methodinit">mr_file_export::init()</a> in export.php</div> <div class="index-item-description">Start exporting process</div> </dd> <dt class="field"> <span class="method-title">init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_abstract.html#methodinit">mr_file_export_abstract::init()</a> in abstract.php</div> <div class="index-item-description">Init routines, params can be unique to the plugin</div> </dd> <dt class="field"> <span class="method-title">init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_abstract.html#methodinit">mr_file_export_text_abstract::init()</a> in abstract.php</div> <div class="index-item-description">Make the directory for the file and open the file pointer</div> </dd> <dt class="field"> <span class="method-title">init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#methodinit">mr_html_filter::init()</a> in filter.php</div> <div class="index-item-description">After filters have been added, you can initialze the form and handle submitted data</div> </dd> <dt class="field"> <span class="method-title">init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_abstract.html#methodinit">mr_file_export_spreadsheet_abstract::init()</a> in abstract.php</div> <div class="index-item-description">Open workbook and send to browser</div> </dd> <dt class="field"> <span class="method-title">init_tabs</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#methodinit_tabs">mr_controller::init_tabs()</a> in controller.php</div> <div class="index-item-description">Setup controller tabs</div> </dd> <dt class="field"> <span class="method-title">instance</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_var.html#methodinstance">mr_var::instance()</a> in var.php</div> <div class="index-item-description">Get the global static instance of mr_var</div> </dd> <dt class="field"> <span class="method-title">instance</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#methodinstance">mr_file_export::instance()</a> in export.php</div> <div class="index-item-description">Once an export has started, you can get access to the current exporter through this method.</div> </dd> <dt class="field"> <span class="method-title">instance</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_manager.html#methodinstance">mr_fixture_manager::instance()</a> in manager.php</div> <div class="index-item-description">A single static instance, helpful for unit tests when you just need a single instance that's easily accessible.</div> </dd> <dt class="field"> <span class="method-title">instance</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_load.html#methodinstance">mr_helper_load::instance()</a> in load.php</div> <div class="index-item-description">Generate an instance of a class</div> </dd> <dt class="field"> <span class="method-title">isValid</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_test.html#methodisValid">mr_server_validate_test::isValid()</a> in test.php</div> <div class="index-item-description">Make sure we are unit testing</div> </dd> <dt class="field"> <span class="method-title">isValid</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_token.html#methodisValid">mr_server_validate_token::isValid()</a> in token.php</div> <div class="index-item-description">See if the request contains a proper token</div> </dd> <dt class="field"> <span class="method-title">isValid</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_secure.html#methodisValid">mr_server_validate_secure::isValid()</a> in secure.php</div> <div class="index-item-description">See if the request the proper security</div> </dd> <dt class="field"> <span class="method-title">isValid</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_login.html#methodisValid">mr_server_validate_login::isValid()</a> in login.php</div> <div class="index-item-description">See if the request contains a proper username/password for login</div> </dd> <dt class="field"> <span class="method-title">isValid</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_ip.html#methodisValid">mr_server_validate_ip::isValid()</a> in ip.php</div> <div class="index-item-description">See if the request has the proper remote address</div> </dd> <dt class="field"> <span class="method-title">isValid</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_method.html#methodisValid">mr_server_validate_method::isValid()</a> in method.php</div> <div class="index-item-description">See if the request has the proper method</div> </dd> <dt class="field"> <span class="method-title">is_changed</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodis_changed">mr_db_record::is_changed()</a> in record.php</div> <div class="index-item-description">Does the record have changes to be saved?</div> </dd> <dt class="field"> <span class="method-title">is_delete</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodis_delete">mr_db_record::is_delete()</a> in record.php</div> <div class="index-item-description">Does the record need to be deleted?</div> </dd> <dt class="field"> <span class="method-title">is_exporting</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodis_exporting">mr_report_abstract::is_exporting()</a> in abstract.php</div> <div class="index-item-description">Determine if the report is currently exporting</div> </dd> <dt class="field"> <span class="method-title">is_exporting</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#methodis_exporting">mr_file_export::is_exporting()</a> in export.php</div> <div class="index-item-description">Are we currently exporting?</div> </dd> <dt class="field"> <span class="method-title">is_insert</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodis_insert">mr_db_record::is_insert()</a> in record.php</div> <div class="index-item-description">Does the record need to be inserted?</div> </dd> <dt class="field"> <span class="method-title">is_successful</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#methodis_successful">mr_server_abstract::is_successful()</a> in abstract.php</div> <div class="index-item-description">Was the last handle() successful?</div> </dd> <dt class="field"> <span class="method-title">is_update</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodis_update">mr_db_record::is_update()</a> in record.php</div> <div class="index-item-description">Does the record need updating?</div> </dd> <dt class="field"> <span class="include-title">ip.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_server---validate---ip.php.html">ip.php</a> in ip.php</div> </dd> </dl> <a name="k"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">k</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="method-title">key</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_recordset.html#methodkey">mr_repository_recordset::key()</a> in recordset.php</div> </dd> </dl> <a name="l"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">l</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$label</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#var$label">mr_html_filter_abstract::$label</a> in abstract.php</div> <div class="index-item-description">Filter label in the form</div> </dd> <dt class="field"> <span class="var-title">$lasttoptabid</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tabs.html#var$lasttoptabid">mr_html_tabs::$lasttoptabid</a> in tabs.php</div> <div class="index-item-description">The last toptab set</div> </dd> <dt class="field"> <span class="var-title">$level</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_heading.html#var$level">mr_html_heading::$level</a> in heading.php</div> <div class="index-item-description">Size of heading</div> </dd> <dt class="field"> <span class="var-title">$lockacquired</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_abstract.html#var$lockacquired">mr_lock_abstract::$lockacquired</a> in abstract.php</div> <div class="index-item-description">Flag for if we have acquired the lock or not</div> </dd> <dt class="field"> <span class="var-title">$lv_default</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_numberrange.html#var$lv_default">mr_html_filter_numberrange::$lv_default</a> in numberrange.php</div> <div class="index-item-description">The low value default</div> </dd> <dt class="field"> <span class="include-title">load.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_helper---load.php.html">load.php</a> in load.php</div> </dd> <dt class="field"> <span class="method-title">load</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_preferences.html#methodload">mr_preferences::load()</a> in preferences.php</div> <div class="index-item-description">Load the preferences for a user</div> </dd> <dt class="field"> <span class="method-title">load</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_cache.html#methodload">mr_cache::load()</a> in cache.php</div> <div class="index-item-description">Test if a cache is available for the given id and (if yes) return it (false else)</div> </dd> <dt class="field"> <span class="include-title">lock.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_lock.php.html">lock.php</a> in lock.php</div> </dd> <dt class="field"> LOGIN_COOKIE </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_login.html#constLOGIN_COOKIE">mr_server_validate_login::LOGIN_COOKIE</a> in login.php</div> </dd> <dt class="field"> LOGIN_FAIL </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_login.html#constLOGIN_FAIL">mr_server_validate_login::LOGIN_FAIL</a> in login.php</div> <div class="index-item-description">Error constants</div> </dd> <dt class="field"> LOGIN_MISSING </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_login.html#constLOGIN_MISSING">mr_server_validate_login::LOGIN_MISSING</a> in login.php</div> </dd> <dt class="field"> <span class="include-title">login.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_server---validate---login.php.html">login.php</a> in login.php</div> </dd> </dl> <a name="m"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">m</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$markup</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_testwebservice.html#var$markup">mr_helper_testwebservice::$markup</a> in testwebservice.php</div> <div class="index-item-description">Wiki Markup</div> </dd> <dt class="field"> <span class="var-title">$metacolumns</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_queue.html#var$metacolumns">mr_db_queue::$metacolumns</a> in queue.php</div> <div class="index-item-description">Cache meta column data for tables</div> </dd> <dt class="field"> <span class="var-title">$mform</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#var$mform">mr_html_filter::$mform</a> in filter.php</div> <div class="index-item-description">Filter form</div> </dd> <dt class="field"> <span class="var-title">$mroutput</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#var$mroutput">mr_controller::$mroutput</a> in controller.php</div> <div class="index-item-description">MR Frameworks renderer</div> </dd> <dt class="field"> <span class="include-title">mod.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_controller---mod.php.html">mod.php</a> in mod.php</div> </dd> <dt class="field"> <span class="include-title">member.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_fixture---group---member.php.html">member.php</a> in member.php</div> </dd> <dt class="field"> <span class="include-title">manager.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_fixture---manager.php.html">manager.php</a> in manager.php</div> </dd> <dt class="field"> MAXROWS </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_abstract.html#constMAXROWS">mr_file_export_spreadsheet_abstract::MAXROWS</a> in abstract.php</div> <div class="index-item-description">Max rows per worksheet</div> </dd> <dt class="field"> <span class="method-title">max_rows</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_excel.html#methodmax_rows">mr_file_export_spreadsheet_excel::max_rows()</a> in excel.php</div> <div class="index-item-description">Can only handle 50k</div> </dd> <dt class="field"> <span class="method-title">max_rows</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_abstract.html#methodmax_rows">mr_file_export_abstract::max_rows()</a> in abstract.php</div> <div class="index-item-description">The max export size that the export plugin can handle</div> </dd> <dt class="field"> <span class="method-title">max_rows</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_ods.html#methodmax_rows">mr_file_export_spreadsheet_ods::max_rows()</a> in ods.php</div> <div class="index-item-description">Can only handle 100k</div> </dd> <dt class="field"> <span class="method-title">mform_autocomplete</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_html.html#methodmform_autocomplete">mr_helper_html::mform_autocomplete()</a> in html.php</div> <div class="index-item-description">Add autocomplete to a form text field</div> </dd> <dt class="field"> <span class="method-title">mform_hook</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#methodmform_hook">mr_html_filter::mform_hook()</a> in filter.php</div> <div class="index-item-description">Hook from</div> </dd> <dt class="field"> <span class="method-title">model_to_record</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_abstract.html#methodmodel_to_record">mr_repository_abstract::model_to_record()</a> in abstract.php</div> <div class="index-item-description">Convert the model to a record</div> </dd> <dt class="field"> mr_autoload </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_autoload.html">mr_autoload</a> in autoload.php</div> <div class="index-item-description">MR Autoload</div> </dd> <dt class="field"> mr_bootstrap </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_bootstrap.html">mr_bootstrap</a> in bootstrap.php</div> <div class="index-item-description">MR Bootstrap</div> </dd> <dt class="field"> mr_cache </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_cache.html">mr_cache</a> in cache.php</div> <div class="index-item-description">MR Cache</div> </dd> <dt class="field"> mr_controller </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html">mr_controller</a> in controller.php</div> <div class="index-item-description">MR Controller</div> </dd> <dt class="field"> mr_controller_admin </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_admin.html">mr_controller_admin</a> in admin.php</div> <div class="index-item-description">MR Controller for Administrative Settings Pages</div> </dd> <dt class="field"> mr_controller_block </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_block.html">mr_controller_block</a> in block.php</div> <div class="index-item-description">MR Controller for Blocks</div> </dd> <dt class="field"> mr_controller_mod </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_mod.html">mr_controller_mod</a> in mod.php</div> <div class="index-item-description">MR Controller for Modules</div> </dd> <dt class="field"> mr_db_dump </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_dump.html">mr_db_dump</a> in dump.php</div> <div class="index-item-description">MR DB Dump</div> </dd> <dt class="field"> mr_db_queue </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_queue.html">mr_db_queue</a> in queue.php</div> <div class="index-item-description">MR DB Queue</div> </dd> <dt class="field"> mr_db_record </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html">mr_db_record</a> in record.php</div> <div class="index-item-description">MR DB Record</div> </dd> <dt class="field"> mr_db_table </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html">mr_db_table</a> in table.php</div> <div class="index-item-description">MR DB Table</div> </dd> <dt class="field"> mr_file_export </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html">mr_file_export</a> in export.php</div> <div class="index-item-description">MR File Export</div> </dd> <dt class="field"> mr_file_export_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_abstract.html">mr_file_export_abstract</a> in abstract.php</div> <div class="index-item-description">MR File Export Abstract</div> </dd> <dt class="field"> mr_file_export_spreadsheet_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_abstract.html">mr_file_export_spreadsheet_abstract</a> in abstract.php</div> <div class="index-item-description">MR File Export Spreadsheet Abstract</div> </dd> <dt class="field"> mr_file_export_spreadsheet_excel </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_excel.html">mr_file_export_spreadsheet_excel</a> in excel.php</div> <div class="index-item-description">MR File Export Spreadsheet Excel</div> </dd> <dt class="field"> mr_file_export_spreadsheet_ods </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_ods.html">mr_file_export_spreadsheet_ods</a> in ods.php</div> <div class="index-item-description">MR File Export Spreadsheet ODS</div> </dd> <dt class="field"> mr_file_export_text_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_abstract.html">mr_file_export_text_abstract</a> in abstract.php</div> <div class="index-item-description">MR File Export Text Abstract</div> </dd> <dt class="field"> mr_file_export_text_csv </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_csv.html">mr_file_export_text_csv</a> in csv.php</div> <div class="index-item-description">MR File Export Text CSV</div> </dd> <dt class="field"> mr_file_export_text_tsv </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_tsv.html">mr_file_export_text_tsv</a> in tsv.php</div> <div class="index-item-description">MR File Export Text TSV (Tab Separated Values)</div> </dd> <dt class="field"> mr_fixture_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_abstract.html">mr_fixture_abstract</a> in abstract.php</div> <div class="index-item-description">MR Fixture Abstract</div> </dd> <dt class="field"> mr_fixture_course </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_course.html">mr_fixture_course</a> in course.php</div> <div class="index-item-description">MR Fixture Course</div> </dd> <dt class="field"> mr_fixture_enrollment </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html">mr_fixture_enrollment</a> in enrollment.php</div> <div class="index-item-description">MR Fixture Enrollment</div> </dd> <dt class="field"> mr_fixture_group </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group.html">mr_fixture_group</a> in group.php</div> <div class="index-item-description">MR Fixture Group</div> </dd> <dt class="field"> mr_fixture_group_member </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group_member.html">mr_fixture_group_member</a> in member.php</div> <div class="index-item-description">MR Fixture Group Member</div> </dd> <dt class="field"> mr_fixture_interface </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_interface.html">mr_fixture_interface</a> in interface.php</div> <div class="index-item-description">MR Fixture Interface</div> </dd> <dt class="field"> mr_fixture_manager </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_manager.html">mr_fixture_manager</a> in manager.php</div> <div class="index-item-description">MR Fixture Manager</div> </dd> <dt class="field"> mr_fixture_role </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role.html">mr_fixture_role</a> in role.php</div> <div class="index-item-description">MR Fixture Role</div> </dd> <dt class="field"> mr_fixture_role_assignment </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html">mr_fixture_role_assignment</a> in assignment.php</div> <div class="index-item-description">MR Fixture Group Member</div> </dd> <dt class="field"> mr_fixture_user </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_user.html">mr_fixture_user</a> in user.php</div> <div class="index-item-description">MR Fixture User</div> </dd> <dt class="field"> mr_format_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_abstract.html">mr_format_abstract</a> in abstract.php</div> <div class="index-item-description">MR Format Abstract</div> </dd> <dt class="field"> mr_format_date </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_date.html">mr_format_date</a> in date.php</div> <div class="index-item-description">MR Format Date</div> </dd> <dt class="field"> mr_format_number </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_number.html">mr_format_number</a> in number.php</div> <div class="index-item-description">MR Format Number</div> </dd> <dt class="field"> mr_format_string </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_string.html">mr_format_string</a> in string.php</div> <div class="index-item-description">Format string</div> </dd> <dt class="field"> mr_helper </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper.html">mr_helper</a> in helper.php</div> <div class="index-item-description">MR Helper</div> </dd> <dt class="field"> mr_helper_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_abstract.html">mr_helper_abstract</a> in abstract.php</div> <div class="index-item-description">MR Helper Abstraction</div> </dd> <dt class="field"> mr_helper_buffer </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_buffer.html">mr_helper_buffer</a> in buffer.php</div> <div class="index-item-description">MR Helper Buffer</div> </dd> <dt class="field"> mr_helper_cache </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_cache.html">mr_helper_cache</a> in cache.php</div> <div class="index-item-description">MR Helper Cache</div> </dd> <dt class="field"> mr_helper_html </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_html.html">mr_helper_html</a> in html.php</div> <div class="index-item-description">MR Helper HTML</div> </dd> <dt class="field"> mr_helper_load </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_load.html">mr_helper_load</a> in load.php</div> <div class="index-item-description">MR Helper Load</div> </dd> <dt class="field"> mr_helper_recentactivity </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_recentactivity.html">mr_helper_recentactivity</a> in recentactivity.php</div> <div class="index-item-description">MR Helper Recent Activity</div> </dd> <dt class="field"> mr_helper_tag </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_tag.html">mr_helper_tag</a> in tag.php</div> <div class="index-item-description">MR Tag Helper</div> </dd> <dt class="field"> mr_helper_testwebservice </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_testwebservice.html">mr_helper_testwebservice</a> in testwebservice.php</div> <div class="index-item-description">MR Helper Test Web Service</div> </dd> <dt class="field"> mr_html_filter </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html">mr_html_filter</a> in filter.php</div> <div class="index-item-description">MR HTML Filter</div> </dd> <dt class="field"> mr_html_filter_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html">mr_html_filter_abstract</a> in abstract.php</div> <div class="index-item-description">MR HTML Filter Abstract</div> </dd> <dt class="field"> mr_html_filter_autocomplete </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_autocomplete.html">mr_html_filter_autocomplete</a> in autocomplete.php</div> <div class="index-item-description">MR HTML Filter Autocomplete</div> </dd> <dt class="field"> mr_html_filter_autocompleteid </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_autocompleteid.html">mr_html_filter_autocompleteid</a> in autocompleteid.php</div> <div class="index-item-description">MR HTML Filter Autocomplete with IDs</div> </dd> <dt class="field"> mr_html_filter_checkbox </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_checkbox.html">mr_html_filter_checkbox</a> in checkbox.php</div> <div class="index-item-description">MR HTML Filter Checkbox</div> </dd> <dt class="field"> mr_html_filter_daterange </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_daterange.html">mr_html_filter_daterange</a> in daterange.php</div> <div class="index-item-description">MR HTML Filter Date Range</div> </dd> <dt class="field"> mr_html_filter_header </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_header.html">mr_html_filter_header</a> in header.php</div> <div class="index-item-description">MR HTML Filter Header</div> </dd> <dt class="field"> mr_html_filter_hidden </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_hidden.html">mr_html_filter_hidden</a> in hidden.php</div> <div class="index-item-description">MR HTML Filter hidden</div> </dd> <dt class="field"> mr_html_filter_numberrange </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_numberrange.html">mr_html_filter_numberrange</a> in numberrange.php</div> <div class="index-item-description">MR HTML Filter Number Range</div> </dd> <dt class="field"> mr_html_filter_recent </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_recent.html">mr_html_filter_recent</a> in recent.php</div> <div class="index-item-description">MR HTML Filter Recent</div> </dd> <dt class="field"> mr_html_filter_select </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_select.html">mr_html_filter_select</a> in select.php</div> <div class="index-item-description">MR HTML Filter Select</div> </dd> <dt class="field"> mr_html_filter_selectmulti </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_selectmulti.html">mr_html_filter_selectmulti</a> in selectmulti.php</div> <div class="index-item-description">MR HTML Filter Multiple Select</div> </dd> <dt class="field"> mr_html_filter_selectmultiplus </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_selectmultiplus.html">mr_html_filter_selectmultiplus</a> in selectmultiplus.php</div> <div class="index-item-description">Multi-select plus filter</div> </dd> <dt class="field"> mr_html_filter_text </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_text.html">mr_html_filter_text</a> in text.php</div> <div class="index-item-description">MR HTML Filter Text</div> </dd> <dt class="field"> mr_html_filter_textarea </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_textarea.html">mr_html_filter_textarea</a> in textarea.php</div> <div class="index-item-description">MR HTML Filter Text</div> </dd> <dt class="field"> mr_html_heading </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_heading.html">mr_html_heading</a> in heading.php</div> <div class="index-item-description">MR HTML Heading</div> </dd> <dt class="field"> mr_html_notify </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_notify.html">mr_html_notify</a> in notify.php</div> <div class="index-item-description">MR HTML Notify</div> </dd> <dt class="field"> mr_html_paging </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html">mr_html_paging</a> in paging.php</div> <div class="index-item-description">MR HTML Paging</div> </dd> <dt class="field"> mr_html_table </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html">mr_html_table</a> in table.php</div> <div class="index-item-description">MR HTML Table</div> </dd> <dt class="field"> mr_html_table_column </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column.html">mr_html_table_column</a> in column.php</div> <div class="index-item-description">MR HTML Table Column</div> </dd> <dt class="field"> mr_html_table_column_dynamic </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column_dynamic.html">mr_html_table_column_dynamic</a> in dynamic.php</div> <div class="index-item-description">Model Table Column Dynamic</div> </dd> <dt class="field"> mr_html_tabs </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tabs.html">mr_html_tabs</a> in tabs.php</div> <div class="index-item-description">MR HTML Tabs</div> </dd> <dt class="field"> mr_html_tag </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html">mr_html_tag</a> in tag.php</div> <div class="index-item-description">MR HTML Tag</div> </dd> <dt class="field"> mr_lock </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock.html">mr_lock</a> in lock.php</div> <div class="index-item-description">MR Lock</div> </dd> <dt class="field"> mr_lock_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_abstract.html">mr_lock_abstract</a> in abstract.php</div> <div class="index-item-description">MR Lock Abstract</div> </dd> <dt class="field"> mr_lock_redis </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_redis.html">mr_lock_redis</a> in redis.php</div> <div class="index-item-description">MR Lock Redis</div> </dd> <dt class="field"> mr_model_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_model_abstract.html">mr_model_abstract</a> in abstract.php</div> <div class="index-item-description">MR Model Abstract</div> </dd> <dt class="field"> mr_model_record_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_model_record_abstract.html">mr_model_record_abstract</a> in abstract.php</div> <div class="index-item-description">MR Model Record Abstract</div> </dd> <dt class="field"> mr_plugin </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_plugin.html">mr_plugin</a> in plugin.php</div> <div class="index-item-description">MR Plugin</div> </dd> <dt class="field"> mr_preferences </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_preferences.html">mr_preferences</a> in preferences.php</div> <div class="index-item-description">MR Preferences</div> </dd> <dt class="field"> mr_readonly </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_readonly.html">mr_readonly</a> in readonly.php</div> <div class="index-item-description">MR Read Only</div> </dd> <dt class="field"> mr_report_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html">mr_report_abstract</a> in abstract.php</div> <div class="index-item-description">MR Report Abstract</div> </dd> <dt class="field"> mr_repository_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_abstract.html">mr_repository_abstract</a> in abstract.php</div> <div class="index-item-description">MR Repository Abstract</div> </dd> <dt class="field"> mr_repository_recordset </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_recordset.html">mr_repository_recordset</a> in recordset.php</div> <div class="index-item-description">MR Repository Record Set</div> </dd> <dt class="field"> mr_server_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html">mr_server_abstract</a> in abstract.php</div> <div class="index-item-description">MR Server Abstract</div> </dd> <dt class="field"> mr_server_response_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_response_abstract.html">mr_server_response_abstract</a> in abstract.php</div> <div class="index-item-description">MR Server Response Abstract</div> </dd> <dt class="field"> mr_server_rest </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_rest.html">mr_server_rest</a> in rest.php</div> <div class="index-item-description">MR Server Rest</div> </dd> <dt class="field"> mr_server_service_abstract </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_service_abstract.html">mr_server_service_abstract</a> in abstract.php</div> <div class="index-item-description">MR Server Service Abstract</div> </dd> <dt class="field"> mr_server_validate_ip </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_ip.html">mr_server_validate_ip</a> in ip.php</div> <div class="index-item-description">MR Server Validate IP</div> </dd> <dt class="field"> mr_server_validate_login </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_login.html">mr_server_validate_login</a> in login.php</div> <div class="index-item-description">MR Server Validate Login</div> </dd> <dt class="field"> mr_server_validate_method </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_method.html">mr_server_validate_method</a> in method.php</div> <div class="index-item-description">MR Server Validate Request Method</div> </dd> <dt class="field"> mr_server_validate_secure </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_secure.html">mr_server_validate_secure</a> in secure.php</div> <div class="index-item-description">MR Server Validate Security</div> </dd> <dt class="field"> mr_server_validate_test </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_test.html">mr_server_validate_test</a> in test.php</div> <div class="index-item-description">MR Server Validate Test</div> </dd> <dt class="field"> mr_server_validate_token </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_token.html">mr_server_validate_token</a> in token.php</div> <div class="index-item-description">MR Server Validate Token</div> </dd> <dt class="field"> mr_var </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_var.html">mr_var</a> in var.php</div> <div class="index-item-description">MR Var</div> </dd> <dt class="field"> MUSTBE </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_method.html#constMUSTBE">mr_server_validate_method::MUSTBE</a> in method.php</div> <div class="index-item-description">Error constants</div> </dd> <dt class="field"> <span class="include-title">method.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_server---validate---method.php.html">method.php</a> in method.php</div> </dd> </dl> <a name="n"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">n</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$name</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#var$name">mr_html_filter_abstract::$name</a> in abstract.php</div> <div class="index-item-description">The filter's name</div> </dd> <dt class="field"> <span class="var-title">$name</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#var$name">mr_controller::$name</a> in controller.php</div> <div class="index-item-description">Name of the controller, this is automatically defined in __construct</div> </dd> <dt class="field"> <span class="var-title">$name</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_abstract.html#var$name">mr_file_export_spreadsheet_abstract::$name</a> in abstract.php</div> <div class="index-item-description">Export name</div> </dd> <dt class="field"> <span class="var-title">$namespace</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_load.html#var$namespace">mr_helper_load::$namespace</a> in load.php</div> <div class="index-item-description">Default name space for loading files/classes</div> </dd> <dt class="field"> <span class="var-title">$namespace</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper.html#var$namespace">mr_helper::$namespace</a> in helper.php</div> <div class="index-item-description">Current namespace for including helpers</div> </dd> <dt class="field"> <span class="include-title">number.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_format---number.php.html">number.php</a> in number.php</div> </dd> <dt class="field"> <span class="include-title">numberrange.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter---numberrange.php.html">numberrange.php</a> in numberrange.php</div> </dd> <dt class="field"> <span class="include-title">notify.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---notify.php.html">notify.php</a> in notify.php</div> </dd> <dt class="field"> <span class="method-title">name</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_plugin.html#methodname">mr_plugin::name()</a> in plugin.php</div> <div class="index-item-description">Return a human readable name of the plugin</div> </dd> <dt class="field"> <span class="method-title">name</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodname">mr_report_abstract::name()</a> in abstract.php</div> <div class="index-item-description">Return a human readable name of the plugin</div> </dd> <dt class="field"> <span class="method-title">new_dom</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_response_abstract.html#methodnew_dom">mr_server_response_abstract::new_dom()</a> in abstract.php</div> <div class="index-item-description">Generate default DOM structure</div> </dd> <dt class="field"> <span class="method-title">new_server</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#methodnew_server">mr_server_abstract::new_server()</a> in abstract.php</div> <div class="index-item-description">Create a new Zend Server instance</div> </dd> <dt class="field"> <span class="method-title">new_server</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_rest.html#methodnew_server">mr_server_rest::new_server()</a> in rest.php</div> <div class="index-item-description">Use a Zend_Rest_Server</div> </dd> <dt class="field"> <span class="method-title">new_url</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_mod.html#methodnew_url">mr_controller_mod::new_url()</a> in mod.php</div> <div class="index-item-description">Generate a new URL to this controller</div> </dd> <dt class="field"> <span class="method-title">new_url</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#methodnew_url">mr_controller::new_url()</a> in controller.php</div> <div class="index-item-description">Generate a new URL to this controller</div> </dd> <dt class="field"> <span class="method-title">new_url</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_admin.html#methodnew_url">mr_controller_admin::new_url()</a> in admin.php</div> <div class="index-item-description">Generate a new URL to this controller</div> </dd> <dt class="field"> <span class="method-title">new_url</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_block.html#methodnew_url">mr_controller_block::new_url()</a> in block.php</div> <div class="index-item-description">Generate a new URL to this controller</div> </dd> <dt class="field"> <span class="method-title">new_workbook</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_ods.html#methodnew_workbook">mr_file_export_spreadsheet_ods::new_workbook()</a> in ods.php</div> <div class="index-item-description">Different workbook</div> </dd> <dt class="field"> <span class="method-title">new_workbook</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_excel.html#methodnew_workbook">mr_file_export_spreadsheet_excel::new_workbook()</a> in excel.php</div> <div class="index-item-description">Generate a new workbook</div> </dd> <dt class="field"> <span class="method-title">new_workbook</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_abstract.html#methodnew_workbook">mr_file_export_spreadsheet_abstract::new_workbook()</a> in abstract.php</div> <div class="index-item-description">Generate a new workbook</div> </dd> <dt class="field"> <span class="method-title">next</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_recordset.html#methodnext">mr_repository_recordset::next()</a> in recordset.php</div> </dd> <dt class="field"> <span class="method-title">normalise_value</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_queue.html#methodnormalise_value">mr_db_queue::normalise_value()</a> in queue.php</div> <div class="index-item-description">Mostly copied from mysqli_native_moodle_database. Main change is that it defaults the numeric value to the table's default value instead of zero</div> </dd> <dt class="field"> NOT_FOUND </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_ip.html#constNOT_FOUND">mr_server_validate_ip::NOT_FOUND</a> in ip.php</div> <div class="index-item-description">Error constants</div> </dd> <dt class="field"> NOT_SECURE </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_secure.html#constNOT_SECURE">mr_server_validate_secure::NOT_SECURE</a> in secure.php</div> <div class="index-item-description">Error constants</div> </dd> <dt class="field"> NOT_VALID </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_ip.html#constNOT_VALID">mr_server_validate_ip::NOT_VALID</a> in ip.php</div> </dd> </dl> <a name="o"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">o</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#var$options">mr_fixture_enrollment::$options</a> in enrollment.php</div> <div class="index-item-description">Parameters to pass to the enrol_plugin-&gt;enrol_user()</div> </dd> <dt class="field"> <span class="var-title">$options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group.html#var$options">mr_fixture_group::$options</a> in group.php</div> <div class="index-item-description">Parameters used to create the group</div> </dd> <dt class="field"> <span class="var-title">$options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_user.html#var$options">mr_fixture_user::$options</a> in user.php</div> <div class="index-item-description">Properties to use for the user</div> </dd> <dt class="field"> <span class="var-title">$options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_selectmulti.html#var$options">mr_html_filter_selectmulti::$options</a> in selectmulti.php</div> <div class="index-item-description">Select options</div> </dd> <dt class="field"> <span class="var-title">$options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_select.html#var$options">mr_html_filter_select::$options</a> in select.php</div> <div class="index-item-description">Select options</div> </dd> <dt class="field"> <span class="var-title">$options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_course.html#var$options">mr_fixture_course::$options</a> in course.php</div> <div class="index-item-description">Properties to use for the course</div> </dd> <dt class="field"> <span class="var-title">$options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#var$options">mr_fixture_role_assignment::$options</a> in assignment.php</div> <div class="index-item-description">Properties to use for the role assignment</div> </dd> <dt class="field"> <span class="var-title">$options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_autocomplete.html#var$options">mr_html_filter_autocomplete::$options</a> in autocomplete.php</div> <div class="index-item-description">Autocomplete options</div> </dd> <dt class="field"> <span class="var-title">$options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_autocompleteid.html#var$options">mr_html_filter_autocompleteid::$options</a> in autocompleteid.php</div> <div class="index-item-description">Autocomplete options</div> </dd> <dt class="field"> <span class="var-title">$order</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$order">mr_html_table::$order</a> in table.php</div> <div class="index-item-description">Current sort order</div> </dd> <dt class="field"> <span class="var-title">$output</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#var$output">mr_controller::$output</a> in controller.php</div> <div class="index-item-description">Either plugin's renderer or core renderer</div> </dd> <dt class="field"> <span class="include-title">ods.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_file---export---spreadsheet---ods.php.html">ods.php</a> in ods.php</div> </dd> <dt class="field"> <span class="method-title">offsetExists</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodoffsetExists">mr_db_record::offsetExists()</a> in record.php</div> <div class="index-item-description">Proxy to __isset</div> </dd> <dt class="field"> <span class="method-title">offsetGet</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodoffsetGet">mr_db_record::offsetGet()</a> in record.php</div> <div class="index-item-description">Proxy to __get</div> </dd> <dt class="field"> <span class="method-title">offsetSet</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodoffsetSet">mr_db_record::offsetSet()</a> in record.php</div> <div class="index-item-description">Proxy to __set</div> </dd> <dt class="field"> <span class="method-title">offsetUnset</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodoffsetUnset">mr_db_record::offsetUnset()</a> in record.php</div> <div class="index-item-description">Proxy to __unset</div> </dd> <dt class="field"> <span class="method-title">open</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#methodopen">mr_html_tag::open()</a> in tag.php</div> <div class="index-item-description">Static interface</div> </dd> <dt class="field"> <span class="method-title">output_wrapper</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodoutput_wrapper">mr_report_abstract::output_wrapper()</a> in abstract.php</div> <div class="index-item-description">A hook into the rendering of the table.</div> </dd> </dl> <a name="p"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">p</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$page</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#var$page">mr_html_paging::$page</a> in paging.php</div> <div class="index-item-description">Current page number</div> </dd> <dt class="field"> <span class="var-title">$paging</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#var$paging">mr_report_abstract::$paging</a> in abstract.php</div> <div class="index-item-description">Paging model</div> </dd> <dt class="field"> <span class="var-title">$perpage</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#var$perpage">mr_html_paging::$perpage</a> in paging.php</div> <div class="index-item-description">The number of enteries per page</div> </dd> <dt class="field"> <span class="var-title">$perpageopts</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#var$perpageopts">mr_html_paging::$perpageopts</a> in paging.php</div> <div class="index-item-description">Per page options</div> </dd> <dt class="field"> <span class="var-title">$plugin</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#var$plugin">mr_controller::$plugin</a> in controller.php</div> <div class="index-item-description">The plugin path</div> </dd> <dt class="field"> <span class="var-title">$plugin</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_preferences.html#var$plugin">mr_preferences::$plugin</a> in preferences.php</div> <div class="index-item-description">The plugin that the preferences belong</div> </dd> <dt class="field"> <span class="var-title">$preferences</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#var$preferences">mr_html_filter_abstract::$preferences</a> in abstract.php</div> <div class="index-item-description">User preferences (filter values are stored here)</div> </dd> <dt class="field"> <span class="var-title">$preferences</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#var$preferences">mr_report_abstract::$preferences</a> in abstract.php</div> <div class="index-item-description">User preferences</div> </dd> <dt class="field"> <span class="var-title">$preferences</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$preferences">mr_html_table::$preferences</a> in table.php</div> <div class="index-item-description">Preferences model</div> </dd> <dt class="field"> <span class="var-title">$preferences</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#var$preferences">mr_html_filter::$preferences</a> in filter.php</div> <div class="index-item-description">User preferences</div> </dd> <dt class="field"> <span class="var-title">$preferences</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#var$preferences">mr_html_paging::$preferences</a> in paging.php</div> <div class="index-item-description">Preferences</div> </dd> <dt class="field"> <span class="include-title">paging.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---paging.php.html">paging.php</a> in paging.php</div> </dd> <dt class="field"> <span class="method-title">parse_timetolive</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_abstract.html#methodparse_timetolive">mr_lock_abstract::parse_timetolive()</a> in abstract.php</div> <div class="index-item-description">Parse the lock value and return the time to live timestamp</div> </dd> <dt class="field"> <span class="method-title">plugin</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_load.html#methodplugin">mr_helper_load::plugin()</a> in load.php</div> <div class="index-item-description">Load plugins</div> </dd> <dt class="field"> <span class="include-title">plugin.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_plugin.php.html">plugin.php</a> in plugin.php</div> </dd> <dt class="field"> <span class="method-title">post_handle</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_response_abstract.html#methodpost_handle">mr_server_response_abstract::post_handle()</a> in abstract.php</div> <div class="index-item-description">View the response returned by Zend Server</div> </dd> <dt class="field"> <span class="include-title">preferences.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_preferences.php.html">preferences.php</a> in preferences.php</div> </dd> <dt class="field"> <span class="method-title">preferences_defaults</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_select.html#methodpreferences_defaults">mr_html_filter_select::preferences_defaults()</a> in select.php</div> <div class="index-item-description">First option is default</div> </dd> <dt class="field"> <span class="method-title">preferences_defaults</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_recent.html#methodpreferences_defaults">mr_html_filter_recent::preferences_defaults()</a> in recent.php</div> <div class="index-item-description">Default is zero</div> </dd> <dt class="field"> <span class="method-title">preferences_defaults</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_autocompleteid.html#methodpreferences_defaults">mr_html_filter_autocompleteid::preferences_defaults()</a> in autocompleteid.php</div> <div class="index-item-description">Defaults for two fields</div> </dd> <dt class="field"> <span class="method-title">preferences_defaults</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_numberrange.html#methodpreferences_defaults">mr_html_filter_numberrange::preferences_defaults()</a> in numberrange.php</div> <div class="index-item-description">Defaults for two fields</div> </dd> <dt class="field"> <span class="method-title">preferences_defaults</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_daterange.html#methodpreferences_defaults">mr_html_filter_daterange::preferences_defaults()</a> in daterange.php</div> <div class="index-item-description">Defaults for two fields</div> </dd> <dt class="field"> <span class="method-title">preferences_defaults</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#methodpreferences_defaults">mr_html_filter_abstract::preferences_defaults()</a> in abstract.php</div> <div class="index-item-description">Filter defaults</div> </dd> <dt class="field"> <span class="method-title">preferences_defaults</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_selectmulti.html#methodpreferences_defaults">mr_html_filter_selectmulti::preferences_defaults()</a> in selectmulti.php</div> <div class="index-item-description">First option is default</div> </dd> <dt class="field"> <span class="method-title">preferences_defaults</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_checkbox.html#methodpreferences_defaults">mr_html_filter_checkbox::preferences_defaults()</a> in checkbox.php</div> <div class="index-item-description">Filter defaults</div> </dd> <dt class="field"> <span class="method-title">preferences_defaults</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_hidden.html#methodpreferences_defaults">mr_html_filter_hidden::preferences_defaults()</a> in hidden.php</div> <div class="index-item-description">Defaults to value</div> </dd> <dt class="field"> <span class="method-title">preferences_delete</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#methodpreferences_delete">mr_html_filter_abstract::preferences_delete()</a> in abstract.php</div> <div class="index-item-description">Remove preferences for this filter</div> </dd> <dt class="field"> <span class="method-title">preferences_get</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#methodpreferences_get">mr_html_filter_abstract::preferences_get()</a> in abstract.php</div> <div class="index-item-description">Get a preference value (default can be returned)</div> </dd> <dt class="field"> <span class="method-title">preferences_init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#methodpreferences_init">mr_html_filter_abstract::preferences_init()</a> in abstract.php</div> <div class="index-item-description">Preferences init</div> </dd> <dt class="field"> <span class="method-title">preferences_update</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_selectmulti.html#methodpreferences_update">mr_html_filter_selectmulti::preferences_update()</a> in selectmulti.php</div> <div class="index-item-description">Save as CSV value</div> </dd> <dt class="field"> <span class="method-title">preferences_update</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_selectmultiplus.html#methodpreferences_update">mr_html_filter_selectmultiplus::preferences_update()</a> in selectmultiplus.php</div> </dd> <dt class="field"> <span class="method-title">preferences_update</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_numberrange.html#methodpreferences_update">mr_html_filter_numberrange::preferences_update()</a> in numberrange.php</div> <div class="index-item-description">Enforce checkboxes - if not set</div> </dd> <dt class="field"> <span class="method-title">preferences_update</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#methodpreferences_update">mr_html_filter_abstract::preferences_update()</a> in abstract.php</div> <div class="index-item-description">Update user preferences to current filter settings</div> </dd> <dt class="field"> <span class="method-title">preferences_update</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_daterange.html#methodpreferences_update">mr_html_filter_daterange::preferences_update()</a> in daterange.php</div> <div class="index-item-description">Enforce checkboxes - if not set</div> </dd> <dt class="field"> <span class="method-title">prepend_attribute</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#methodprepend_attribute">mr_html_tag::prepend_attribute()</a> in tag.php</div> <div class="index-item-description">Prepend an attribute</div> </dd> <dt class="field"> <span class="method-title">prepend_attributes</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#methodprepend_attributes">mr_html_tag::prepend_attributes()</a> in tag.php</div> <div class="index-item-description">Bulk prepend attributes</div> </dd> <dt class="field"> <span class="method-title">print_footer</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#methodprint_footer">mr_controller::print_footer()</a> in controller.php</div> <div class="index-item-description">Footer output</div> </dd> <dt class="field"> <span class="method-title">print_header</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#methodprint_header">mr_controller::print_header()</a> in controller.php</div> <div class="index-item-description">Header output</div> </dd> <dt class="field"> <span class="method-title">process_args</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_preferences.html#methodprocess_args">mr_preferences::process_args()</a> in preferences.php</div> <div class="index-item-description">Helper method - handle passed courseid and plugin values</div> </dd> </dl> <a name="q"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">q</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="include-title">queue.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_db---queue.php.html">queue.php</a> in queue.php</div> </dd> <dt class="field"> <span class="method-title">queue_delete</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodqueue_delete">mr_db_record::queue_delete()</a> in record.php</div> <div class="index-item-description">Flag the record for deletion, but don't actually delete it yet</div> </dd> </dl> <a name="r"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">r</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$repo</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_recordset.html#var$repo">mr_repository_recordset::$repo</a> in recordset.php</div> </dd> <dt class="field"> <span class="var-title">$report</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#var$report">mr_html_filter::$report</a> in filter.php</div> <div class="index-item-description">Report</div> </dd> <dt class="field"> <span class="var-title">$request</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#var$request">mr_server_abstract::$request</a> in abstract.php</div> <div class="index-item-description">Server request</div> </dd> <dt class="field"> <span class="var-title">$REQUEST_ORDER</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$REQUEST_ORDER">mr_html_table::$REQUEST_ORDER</a> in table.php</div> <div class="index-item-description">Sort order request param</div> </dd> <dt class="field"> <span class="var-title">$REQUEST_PAGE</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#var$REQUEST_PAGE">mr_html_paging::$REQUEST_PAGE</a> in paging.php</div> <div class="index-item-description">Page request param</div> </dd> <dt class="field"> <span class="var-title">$REQUEST_PERPAGE</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#var$REQUEST_PERPAGE">mr_html_paging::$REQUEST_PERPAGE</a> in paging.php</div> <div class="index-item-description">Page request param</div> </dd> <dt class="field"> <span class="var-title">$REQUEST_SORT</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$REQUEST_SORT">mr_html_table::$REQUEST_SORT</a> in table.php</div> <div class="index-item-description">Sort request param</div> </dd> <dt class="field"> <span class="var-title">$response</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#var$response">mr_server_abstract::$response</a> in abstract.php</div> <div class="index-item-description">Response class</div> </dd> <dt class="field"> <span class="var-title">$response</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_service_abstract.html#var$response">mr_server_service_abstract::$response</a> in abstract.php</div> <div class="index-item-description">Response handler</div> </dd> <dt class="field"> <span class="var-title">$responseclass</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#var$responseclass">mr_server_abstract::$responseclass</a> in abstract.php</div> <div class="index-item-description">The response class name</div> </dd> <dt class="field"> <span class="var-title">$results</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_abstract.html#var$results">mr_fixture_abstract::$results</a> in abstract.php</div> </dd> <dt class="field"> <span class="var-title">$rightlabel</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_checkbox.html#var$rightlabel">mr_html_filter_checkbox::$rightlabel</a> in checkbox.php</div> <div class="index-item-description">Right label</div> </dd> <dt class="field"> <span class="var-title">$role</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#var$role">mr_fixture_enrollment::$role</a> in enrollment.php</div> </dd> <dt class="field"> <span class="var-title">$role</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#var$role">mr_fixture_role_assignment::$role</a> in assignment.php</div> </dd> <dt class="field"> <span class="var-title">$row</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_abstract.html#var$row">mr_file_export_spreadsheet_abstract::$row</a> in abstract.php</div> <div class="index-item-description">Current row</div> </dd> <dt class="field"> <span class="var-title">$rows</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$rows">mr_html_table::$rows</a> in table.php</div> <div class="index-item-description">Table rows</div> </dd> <dt class="field"> <span class="var-title">$rowsdumped</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_dump.html#var$rowsdumped">mr_db_dump::$rowsdumped</a> in dump.php</div> <div class="index-item-description">Counter - counts number of rows sent to the dump file</div> </dd> <dt class="field"> <span class="var-title">$rs</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_recordset.html#var$rs">mr_repository_recordset::$rs</a> in recordset.php</div> </dd> <dt class="field"> <span class="include-title">record.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_db---record.php.html">record.php</a> in record.php</div> </dd> <dt class="field"> <span class="include-title">role.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_fixture---role.php.html">role.php</a> in role.php</div> </dd> <dt class="field"> <span class="include-title">recentactivity.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_helper---recentactivity.php.html">recentactivity.php</a> in recentactivity.php</div> </dd> <dt class="field"> <span class="include-title">recent.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter---recent.php.html">recent.php</a> in recent.php</div> </dd> <dt class="field"> <span class="include-title">redis.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_lock---redis.php.html">redis.php</a> in redis.php</div> </dd> <dt class="field"> <span class="include-title">readonly.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_readonly.php.html">readonly.php</a> in readonly.php</div> </dd> <dt class="field"> <span class="method-title">record</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#methodrecord">mr_db_table::record()</a> in table.php</div> <div class="index-item-description">Generate a record model for this table</div> </dd> <dt class="field"> <span class="method-title">record_to_model</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_abstract.html#methodrecord_to_model">mr_repository_abstract::record_to_model()</a> in abstract.php</div> <div class="index-item-description">Convert a record to a model</div> </dd> <dt class="field"> <span class="method-title">redis</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_bootstrap.html#methodredis">mr_bootstrap::redis()</a> in bootstrap.php</div> <div class="index-item-description">Bootstrap Redis</div> </dd> <dt class="field"> <span class="method-title">register</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_autoload.html#methodregister">mr_autoload::register()</a> in autoload.php</div> <div class="index-item-description">Register a mr_autoload</div> </dd> <dt class="field"> <span class="method-title">release</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_abstract.html#methodrelease">mr_lock_abstract::release()</a> in abstract.php</div> <div class="index-item-description">Release the lock</div> </dd> <dt class="field"> <span class="method-title">release</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock.html#methodrelease">mr_lock::release()</a> in lock.php</div> <div class="index-item-description">Release the lock</div> </dd> <dt class="field"> <span class="method-title">release</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_redis.html#methodrelease">mr_lock_redis::release()</a> in redis.php</div> </dd> <dt class="field"> <span class="method-title">reload</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_preferences.html#methodreload">mr_preferences::reload()</a> in preferences.php</div> <div class="index-item-description">Reload preferences</div> </dd> <dt class="field"> <span class="method-title">remove</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_cache.html#methodremove">mr_cache::remove()</a> in cache.php</div> <div class="index-item-description">Remove a cached item</div> </dd> <dt class="field"> <span class="method-title">remove</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_var.html#methodremove">mr_var::remove()</a> in var.php</div> <div class="index-item-description">Unset an index</div> </dd> <dt class="field"> <span class="method-title">remove_attribute</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#methodremove_attribute">mr_html_tag::remove_attribute()</a> in tag.php</div> <div class="index-item-description">Remove an attribute</div> </dd> <dt class="field"> <span class="method-title">remove_attributes</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#methodremove_attributes">mr_html_tag::remove_attributes()</a> in tag.php</div> <div class="index-item-description">Bulk remove attributes</div> </dd> <dt class="field"> <span class="method-title">render</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#methodrender">mr_controller::render()</a> in controller.php</div> <div class="index-item-description">Render a controller view</div> </dd> <dt class="field"> <span class="include-title">recordset.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_repository---recordset.php.html">recordset.php</a> in recordset.php</div> </dd> <dt class="field"> <span class="method-title">require_capability</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#methodrequire_capability">mr_controller::require_capability()</a> in controller.php</div> <div class="index-item-description">Call the necessary calls to require_capability</div> </dd> <dt class="field"> <span class="method-title">resolve_namespace</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_load.html#methodresolve_namespace">mr_helper_load::resolve_namespace()</a> in load.php</div> <div class="index-item-description">Combine path with either passed namespace or with currently set namesapce.</div> </dd> <dt class="field"> <span class="method-title">run</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodrun">mr_report_abstract::run()</a> in abstract.php</div> <div class="index-item-description">Run the report SQL and retrieve rows for rendering or exporting.</div> </dd> <dt class="field"> <span class="method-title">run</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_dump.html#methodrun">mr_db_dump::run()</a> in dump.php</div> <div class="index-item-description">Run the dump</div> </dd> <dt class="field"> <span class="include-title">rest.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_server---rest.php.html">rest.php</a> in rest.php</div> </dd> </dl> <a name="s"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">s</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$server</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_response_abstract.html#var$server">mr_server_response_abstract::$server</a> in abstract.php</div> <div class="index-item-description">The server</div> </dd> <dt class="field"> <span class="var-title">$server</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_service_abstract.html#var$server">mr_server_service_abstract::$server</a> in abstract.php</div> <div class="index-item-description">The current server model</div> </dd> <dt class="field"> <span class="var-title">$server</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#var$server">mr_server_abstract::$server</a> in abstract.php</div> <div class="index-item-description">Server instance</div> </dd> <dt class="field"> <span class="var-title">$serviceclass</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#var$serviceclass">mr_server_abstract::$serviceclass</a> in abstract.php</div> <div class="index-item-description">The service class name</div> </dd> <dt class="field"> <span class="var-title">$serviceclass</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_response_abstract.html#var$serviceclass">mr_server_response_abstract::$serviceclass</a> in abstract.php</div> <div class="index-item-description">The service class name</div> </dd> <dt class="field"> <span class="var-title">$servicemethod</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_response_abstract.html#var$servicemethod">mr_server_response_abstract::$servicemethod</a> in abstract.php</div> <div class="index-item-description">The service class method name</div> </dd> <dt class="field"> <span class="var-title">$shortname</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role.html#var$shortname">mr_fixture_role::$shortname</a> in role.php</div> </dd> <dt class="field"> <span class="var-title">$size</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_queue.html#var$size">mr_db_queue::$size</a> in queue.php</div> <div class="index-item-description">Queue size</div> </dd> <dt class="field"> <span class="var-title">$sort</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$sort">mr_html_table::$sort</a> in table.php</div> <div class="index-item-description">Current sort</div> </dd> <dt class="field"> <span class="var-title">$sortenabled</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$sortenabled">mr_html_table::$sortenabled</a> in table.php</div> <div class="index-item-description">Sort enabled flag</div> </dd> <dt class="field"> <span class="var-title">$striplinks</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_string.html#var$striplinks">mr_format_string::$striplinks</a> in string.php</div> <div class="index-item-description">This gets passed to format_string()</div> </dd> <dt class="field"> <span class="var-title">$subtab</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tabs.html#var$subtab">mr_html_tabs::$subtab</a> in tabs.php</div> <div class="index-item-description">Currently selected subtab index</div> </dd> <dt class="field"> <span class="include-title">string.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_format---string.php.html">string.php</a> in string.php</div> </dd> <dt class="field"> <span class="include-title">select.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter---select.php.html">select.php</a> in select.php</div> </dd> <dt class="field"> <span class="include-title">selectmulti.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter---selectmulti.php.html">selectmulti.php</a> in selectmulti.php</div> </dd> <dt class="field"> <span class="include-title">selectmultiplus.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter---selectmultiplus.php.html">selectmultiplus.php</a> in selectmultiplus.php</div> </dd> <dt class="field"> <span class="method-title">save</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#methodsave">mr_db_table::save()</a> in table.php</div> <div class="index-item-description">Save data to the table</div> </dd> <dt class="field"> <span class="method-title">save</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_abstract.html#methodsave">mr_repository_abstract::save()</a> in abstract.php</div> <div class="index-item-description">Save a model</div> </dd> <dt class="field"> <span class="method-title">save</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodsave">mr_db_record::save()</a> in record.php</div> <div class="index-item-description">Save the record.</div> </dd> <dt class="field"> <span class="method-title">save</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_cache.html#methodsave">mr_cache::save()</a> in cache.php</div> <div class="index-item-description">Save data to the cache</div> </dd> <dt class="field"> <span class="method-title">save_cell</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodsave_cell">mr_report_abstract::save_cell()</a> in abstract.php</div> <div class="index-item-description">YUI inline cell editing - this gets called to save the edited data.</div> </dd> <dt class="field"> <span class="method-title">save_sortorder</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodsave_sortorder">mr_html_table::save_sortorder()</a> in table.php</div> <div class="index-item-description">Store sort and weight based on current settings</div> </dd> <dt class="field"> <span class="method-title">security</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#methodsecurity">mr_server_abstract::security()</a> in abstract.php</div> <div class="index-item-description">Security checks</div> </dd> <dt class="field"> <span class="method-title">send</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#methodsend">mr_file_export::send()</a> in export.php</div> <div class="index-item-description">Closes, cleans and sends the exported file to the browser for download.</div> </dd> <dt class="field"> <span class="method-title">send_headers</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_response_abstract.html#methodsend_headers">mr_server_response_abstract::send_headers()</a> in abstract.php</div> <div class="index-item-description">Send server headers</div> </dd> <dt class="field"> <span class="method-title">send_headers</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#methodsend_headers">mr_server_abstract::send_headers()</a> in abstract.php</div> <div class="index-item-description">Send server headers</div> </dd> <dt class="field"> <span class="include-title">secure.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_server---validate---secure.php.html">secure.php</a> in secure.php</div> </dd> <dt class="field"> <span class="method-title">set</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_var.html#methodset">mr_var::set()</a> in var.php</div> <div class="index-item-description">Set values</div> </dd> <dt class="field"> <span class="method-title">set</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tabs.html#methodset">mr_html_tabs::set()</a> in tabs.php</div> <div class="index-item-description">Set the current tab</div> </dd> <dt class="field"> <span class="method-title">set</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_preferences.html#methodset">mr_preferences::set()</a> in preferences.php</div> <div class="index-item-description">Set a preference</div> </dd> <dt class="field"> <span class="method-title">set</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_manager.html#methodset">mr_fixture_manager::set()</a> in manager.php</div> <div class="index-item-description">Set a fixture instance by name and builds the fixture</div> </dd> <dt class="field"> <span class="method-title">set</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#methodset">mr_db_record::set()</a> in record.php</div> <div class="index-item-description">Set data to the record</div> </dd> <dt class="field"> <span class="method-title">set</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_heading.html#methodset">mr_html_heading::set()</a> in heading.php</div> <div class="index-item-description">Set heading</div> </dd> <dt class="field"> <span class="method-title">setup</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_mod.html#methodsetup">mr_controller_mod::setup()</a> in mod.php</div> <div class="index-item-description">Controller setup</div> </dd> <dt class="field"> <span class="method-title">setup</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#methodsetup">mr_controller::setup()</a> in controller.php</div> <div class="index-item-description">Controller setup</div> </dd> <dt class="field"> <span class="method-title">setup</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_block.html#methodsetup">mr_controller_block::setup()</a> in block.php</div> <div class="index-item-description">Controller setup</div> </dd> <dt class="field"> <span class="method-title">setup</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller_admin.html#methodsetup">mr_controller_admin::setup()</a> in admin.php</div> <div class="index-item-description">Controller setup</div> </dd> <dt class="field"> <span class="method-title">set_align</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_notify.html#methodset_align">mr_html_notify::set_align()</a> in notify.php</div> <div class="index-item-description">Set alignment</div> </dd> <dt class="field"> <span class="method-title">set_attributes</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodset_attributes">mr_html_table::set_attributes()</a> in table.php</div> <div class="index-item-description">Add or override table attributes</div> </dd> <dt class="field"> <span class="method-title">set_cachekey</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodset_cachekey">mr_html_table::set_cachekey()</a> in table.php</div> <div class="index-item-description">Set the cache ID</div> </dd> <dt class="field"> <span class="method-title">set_component</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_notify.html#methodset_component">mr_html_notify::set_component()</a> in notify.php</div> <div class="index-item-description">Set component string</div> </dd> <dt class="field"> <span class="method-title">set_config</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column.html#methodset_config">mr_html_table_column::set_config()</a> in column.php</div> <div class="index-item-description">A config setter - overwrites old value</div> </dd> <dt class="field"> <span class="method-title">set_config</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table_column_dynamic.html#methodset_config">mr_html_table_column_dynamic::set_config()</a> in dynamic.php</div> <div class="index-item-description">Set config to all columns</div> </dd> <dt class="field"> <span class="method-title">set_context</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#methodset_context">mr_fixture_role_assignment::set_context()</a> in assignment.php</div> </dd> <dt class="field"> <span class="method-title">set_course</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methodset_course">mr_fixture_enrollment::set_course()</a> in enrollment.php</div> </dd> <dt class="field"> <span class="method-title">set_course</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group.html#methodset_course">mr_fixture_group::set_course()</a> in group.php</div> </dd> <dt class="field"> <span class="method-title">set_emptymessage</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodset_emptymessage">mr_html_table::set_emptymessage()</a> in table.php</div> <div class="index-item-description">Set the message for when the table is empty</div> </dd> <dt class="field"> <span class="method-title">set_enroll</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methodset_enroll">mr_fixture_enrollment::set_enroll()</a> in enrollment.php</div> </dd> <dt class="field"> <span class="method-title">set_enrollment</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group_member.html#methodset_enrollment">mr_fixture_group_member::set_enrollment()</a> in member.php</div> </dd> <dt class="field"> <span class="method-title">set_export</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodset_export">mr_html_table::set_export()</a> in table.php</div> <div class="index-item-description">Set the export instance</div> </dd> <dt class="field"> <span class="method-title">set_export</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#methodset_export">mr_html_paging::set_export()</a> in paging.php</div> <div class="index-item-description">Set the export instance</div> </dd> <dt class="field"> <span class="method-title">set_filename</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#methodset_filename">mr_file_export::set_filename()</a> in export.php</div> <div class="index-item-description">Change the export file name</div> </dd> <dt class="field"> <span class="method-title">set_group</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group_member.html#methodset_group">mr_fixture_group_member::set_group()</a> in member.php</div> </dd> <dt class="field"> <span class="method-title">set_headers</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_abstract.html#methodset_headers">mr_file_export_spreadsheet_abstract::set_headers()</a> in abstract.php</div> <div class="index-item-description">Write headers to the file</div> </dd> <dt class="field"> <span class="method-title">set_headers</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_text_abstract.html#methodset_headers">mr_file_export_text_abstract::set_headers()</a> in abstract.php</div> <div class="index-item-description">Write headers to the file</div> </dd> <dt class="field"> <span class="method-title">set_headers</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_abstract.html#methodset_headers">mr_file_export_abstract::set_headers()</a> in abstract.php</div> <div class="index-item-description">Header setup</div> </dd> <dt class="field"> <span class="method-title">set_id</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_model_record_abstract.html#methodset_id">mr_model_record_abstract::set_id()</a> in abstract.php</div> <div class="index-item-description">Set the ID to null or to a positive whole number</div> </dd> <dt class="field"> <span class="method-title">set_lockacquired</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_abstract.html#methodset_lockacquired">mr_lock_abstract::set_lockacquired()</a> in abstract.php</div> <div class="index-item-description">Set if the lock has been acquired or not</div> </dd> <dt class="field"> <span class="method-title">set_namespace</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_load.html#methodset_namespace">mr_helper_load::set_namespace()</a> in load.php</div> <div class="index-item-description">Set namespace</div> </dd> <dt class="field"> <span class="method-title">set_options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_group.html#methodset_options">mr_fixture_group::set_options()</a> in group.php</div> <div class="index-item-description">Set properties to use for the enrollment</div> </dd> <dt class="field"> <span class="method-title">set_options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_course.html#methodset_options">mr_fixture_course::set_options()</a> in course.php</div> <div class="index-item-description">Set properties to use for the course</div> </dd> <dt class="field"> <span class="method-title">set_options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methodset_options">mr_fixture_enrollment::set_options()</a> in enrollment.php</div> <div class="index-item-description">Set properties to use for the enrollment</div> </dd> <dt class="field"> <span class="method-title">set_options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#methodset_options">mr_fixture_role_assignment::set_options()</a> in assignment.php</div> <div class="index-item-description">Set properties to use for the role assignment</div> </dd> <dt class="field"> <span class="method-title">set_options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_user.html#methodset_options">mr_fixture_user::set_options()</a> in user.php</div> <div class="index-item-description">Set properties to use for the user</div> </dd> <dt class="field"> <span class="method-title">set_options</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_model_abstract.html#methodset_options">mr_model_abstract::set_options()</a> in abstract.php</div> <div class="index-item-description">A way to bulk set model properties</div> </dd> <dt class="field"> <span class="method-title">set_order</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodset_order">mr_html_table::set_order()</a> in table.php</div> <div class="index-item-description">Set the direction of the sorting</div> </dd> <dt class="field"> <span class="method-title">set_page</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#methodset_page">mr_html_paging::set_page()</a> in paging.php</div> <div class="index-item-description">Set the page</div> </dd> <dt class="field"> <span class="method-title">set_perpage</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#methodset_perpage">mr_html_paging::set_perpage()</a> in paging.php</div> <div class="index-item-description">Set perpage</div> </dd> <dt class="field"> <span class="method-title">set_perpageopts</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#methodset_perpageopts">mr_html_paging::set_perpageopts()</a> in paging.php</div> <div class="index-item-description">Perpage options</div> </dd> <dt class="field"> <span class="method-title">set_report</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#methodset_report">mr_html_filter::set_report()</a> in filter.php</div> <div class="index-item-description">Set a report to the filters</div> </dd> <dt class="field"> <span class="method-title">set_results</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_interface.html#methodset_results">mr_fixture_interface::set_results()</a> in interface.php</div> <div class="index-item-description">Set the build results</div> </dd> <dt class="field"> <span class="method-title">set_results</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_abstract.html#methodset_results">mr_fixture_abstract::set_results()</a> in abstract.php</div> <div class="index-item-description">Set the build results</div> </dd> <dt class="field"> <span class="method-title">set_role</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methodset_role">mr_fixture_enrollment::set_role()</a> in enrollment.php</div> </dd> <dt class="field"> <span class="method-title">set_role</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#methodset_role">mr_fixture_role_assignment::set_role()</a> in assignment.php</div> </dd> <dt class="field"> <span class="method-title">set_shortname</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role.html#methodset_shortname">mr_fixture_role::set_shortname()</a> in role.php</div> </dd> <dt class="field"> <span class="method-title">set_sort</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#methodset_sort">mr_html_table::set_sort()</a> in table.php</div> <div class="index-item-description">Set the sorting column</div> </dd> <dt class="field"> <span class="method-title">set_table</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_abstract.html#methodset_table">mr_repository_abstract::set_table()</a> in abstract.php</div> <div class="index-item-description">Set the table that this repository mapper uses. Generally you do not want to use this.</div> </dd> <dt class="field"> <span class="method-title">set_total</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#methodset_total">mr_html_paging::set_total()</a> in paging.php</div> <div class="index-item-description">Set total</div> </dd> <dt class="field"> <span class="method-title">set_user</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#methodset_user">mr_fixture_enrollment::set_user()</a> in enrollment.php</div> </dd> <dt class="field"> <span class="method-title">set_user</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#methodset_user">mr_fixture_role_assignment::set_user()</a> in assignment.php</div> </dd> <dt class="field"> <span class="method-title">shutdown</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_bootstrap.html#methodshutdown">mr_bootstrap::shutdown()</a> in bootstrap.php</div> <div class="index-item-description">Run shutdown routine</div> </dd> <dt class="field"> <span class="method-title">shutdown</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock.html#methodshutdown">mr_lock::shutdown()</a> in lock.php</div> <div class="index-item-description">Release the lock on shutdown.</div> </dd> <dt class="field"> <span class="method-title">simpletest_report</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#methodsimpletest_report">mr_server_abstract::simpletest_report()</a> in abstract.php</div> <div class="index-item-description">Output something nice when running simpletest</div> </dd> <dt class="field"> <span class="method-title">simpletest_report</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_testwebservice.html#methodsimpletest_report">mr_helper_testwebservice::simpletest_report()</a> in testwebservice.php</div> <div class="index-item-description">Generate nice output for simpletest regarding a request</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_text.html#methodsql">mr_html_filter_text::sql()</a> in text.php</div> <div class="index-item-description">Search by input value</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_textarea.html#methodsql">mr_html_filter_textarea::sql()</a> in textarea.php</div> <div class="index-item-description">Search by input value</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_header.html#methodsql">mr_html_filter_header::sql()</a> in header.php</div> <div class="index-item-description">Stub method to override abstract method</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_checkbox.html#methodsql">mr_html_filter_checkbox::sql()</a> in checkbox.php</div> <div class="index-item-description">Limit by input value</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_selectmultiplus.html#methodsql">mr_html_filter_selectmultiplus::sql()</a> in selectmultiplus.php</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_autocompleteid.html#methodsql">mr_html_filter_autocompleteid::sql()</a> in autocompleteid.php</div> <div class="index-item-description">Restrict to value</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_autocomplete.html#methodsql">mr_html_filter_autocomplete::sql()</a> in autocomplete.php</div> <div class="index-item-description">Search by input value</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_abstract.html#methodsql">mr_html_filter_abstract::sql()</a> in abstract.php</div> <div class="index-item-description">Generate this filter's SQL</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#methodsql">mr_html_filter::sql()</a> in filter.php</div> <div class="index-item-description">Return filter SQL and params</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_daterange.html#methodsql">mr_html_filter_daterange::sql()</a> in daterange.php</div> <div class="index-item-description">Set limits on field</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_recent.html#methodsql">mr_html_filter_recent::sql()</a> in recent.php</div> <div class="index-item-description">Limit a field to being greater than our recent time</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_select.html#methodsql">mr_html_filter_select::sql()</a> in select.php</div> <div class="index-item-description">Limit by input value</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_hidden.html#methodsql">mr_html_filter_hidden::sql()</a> in hidden.php</div> <div class="index-item-description">Set field to value</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_selectmulti.html#methodsql">mr_html_filter_selectmulti::sql()</a> in selectmulti.php</div> <div class="index-item-description">Limit by input value</div> </dd> <dt class="field"> <span class="method-title">sql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_numberrange.html#methodsql">mr_html_filter_numberrange::sql()</a> in numberrange.php</div> <div class="index-item-description">Set limits on field</div> </dd> <dt class="field"> <span class="method-title">standard</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_response_abstract.html#methodstandard">mr_server_response_abstract::standard()</a> in abstract.php</div> <div class="index-item-description">Standard response structure</div> </dd> <dt class="field"> <span class="method-title">startup</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_bootstrap.html#methodstartup">mr_bootstrap::startup()</a> in bootstrap.php</div> <div class="index-item-description">Run startup routine</div> </dd> <dt class="field"> <span class="method-title">subtab</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tabs.html#methodsubtab">mr_html_tabs::subtab()</a> in tabs.php</div> <div class="index-item-description">Simple interface: Adds a sub tab</div> </dd> </dl> <a name="t"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">t</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$table</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_abstract.html#var$table">mr_repository_abstract::$table</a> in abstract.php</div> <div class="index-item-description">The table that this repository mapper is primarily associated with</div> </dd> <dt class="field"> <span class="var-title">$table</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#var$table">mr_report_abstract::$table</a> in abstract.php</div> <div class="index-item-description">Table model</div> </dd> <dt class="field"> <span class="var-title">$table</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_table.html#var$table">mr_db_table::$table</a> in table.php</div> <div class="index-item-description">The name of the table</div> </dd> <dt class="field"> <span class="var-title">$tabs</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tabs.html#var$tabs">mr_html_tabs::$tabs</a> in tabs.php</div> <div class="index-item-description">An array of tabobjects</div> </dd> <dt class="field"> <span class="var-title">$tabs</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#var$tabs">mr_controller::$tabs</a> in controller.php</div> <div class="index-item-description">Controller tabs</div> </dd> <dt class="field"> <span class="var-title">$tag</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_helper_tag.html#var$tag">mr_helper_tag::$tag</a> in tag.php</div> <div class="index-item-description">HTML tag</div> </dd> <dt class="field"> <span class="var-title">$tag</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tag.html#var$tag">mr_html_tag::$tag</a> in tag.php</div> <div class="index-item-description">HTML tag name</div> </dd> <dt class="field"> <span class="var-title">$text</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_heading.html#var$text">mr_html_heading::$text</a> in heading.php</div> <div class="index-item-description">Heading display text</div> </dd> <dt class="field"> <span class="var-title">$timetolive</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_abstract.html#var$timetolive">mr_lock_abstract::$timetolive</a> in abstract.php</div> <div class="index-item-description">The timestamp of when the lock expires or zero for no expiration</div> </dd> <dt class="field"> <span class="var-title">$toptab</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tabs.html#var$toptab">mr_html_tabs::$toptab</a> in tabs.php</div> <div class="index-item-description">Currently selected toptab index</div> </dd> <dt class="field"> <span class="var-title">$total</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#var$total">mr_html_paging::$total</a> in paging.php</div> <div class="index-item-description">The total number of entries available to be paged through</div> </dd> <dt class="field"> <span class="var-title">$trustcolumns</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_record.html#var$trustcolumns">mr_db_record::$trustcolumns</a> in record.php</div> <div class="index-item-description">If true, then checks for column exists are bypassed.</div> </dd> <dt class="field"> <span class="include-title">table.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_db---table.php.html">table.php</a> in table.php</div> </dd> <dt class="field"> <span class="include-title">tsv.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_file---export---text---tsv.php.html">tsv.php</a> in tsv.php</div> </dd> <dt class="field"> <span class="include-title">tag.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_helper---tag.php.html">tag.php</a> in tag.php</div> </dd> <dt class="field"> <span class="include-title">testwebservice.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_helper---testwebservice.php.html">testwebservice.php</a> in testwebservice.php</div> </dd> <dt class="field"> <span class="include-title">text.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter---text.php.html">text.php</a> in text.php</div> </dd> <dt class="field"> <span class="include-title">textarea.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---filter---textarea.php.html">textarea.php</a> in textarea.php</div> </dd> <dt class="field"> <span class="include-title">table.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---table.php.html">table.php</a> in table.php</div> </dd> <dt class="field"> <span class="include-title">tabs.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---tabs.php.html">tabs.php</a> in tabs.php</div> </dd> <dt class="field"> <span class="include-title">tag.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_html---tag.php.html">tag.php</a> in tag.php</div> </dd> <dt class="field"> <span class="include-title">test.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_server---validate---test.php.html">test.php</a> in test.php</div> </dd> <dt class="field"> <span class="include-title">token.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_server---validate---token.php.html">token.php</a> in token.php</div> </dd> <dt class="field"> <span class="method-title">table_fill</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodtable_fill">mr_report_abstract::table_fill()</a> in abstract.php</div> <div class="index-item-description">Fill table with data</div> </dd> <dt class="field"> <span class="method-title">table_fill_row</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodtable_fill_row">mr_report_abstract::table_fill_row()</a> in abstract.php</div> <div class="index-item-description">Add a row to the table</div> </dd> <dt class="field"> <span class="method-title">table_init</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodtable_init">mr_report_abstract::table_init()</a> in abstract.php</div> <div class="index-item-description">Table setup</div> </dd> <dt class="field"> <span class="method-title">tearDown</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_manager.html#methodtearDown">mr_fixture_manager::tearDown()</a> in manager.php</div> <div class="index-item-description">Convenience method for unit tests, call in your tearDown method to delete all of the fixtures from all fixture managers you may have created.</div> </dd> <dt class="field"> <span class="method-title">test</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_cache.html#methodtest">mr_cache::test()</a> in cache.php</div> <div class="index-item-description">Test if a cache is available for the given id</div> </dd> <dt class="field"> TOKEN_EMPTY </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_token.html#constTOKEN_EMPTY">mr_server_validate_token::TOKEN_EMPTY</a> in token.php</div> <div class="index-item-description">Error constants</div> </dd> <dt class="field"> TOKEN_NOT_PASSED </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_token.html#constTOKEN_NOT_PASSED">mr_server_validate_token::TOKEN_NOT_PASSED</a> in token.php</div> </dd> <dt class="field"> TOKEN_NO_MATCH </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_token.html#constTOKEN_NO_MATCH">mr_server_validate_token::TOKEN_NO_MATCH</a> in token.php</div> </dd> <dt class="field"> <span class="method-title">toptab</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tabs.html#methodtoptab">mr_html_tabs::toptab()</a> in tabs.php</div> <div class="index-item-description">Simple interface: Adds a top tab</div> </dd> <dt class="field"> <span class="method-title">touch</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_cache.html#methodtouch">mr_cache::touch()</a> in cache.php</div> <div class="index-item-description">Give (if possible) an extra lifetime to the given cache id</div> </dd> <dt class="field"> <span class="method-title">type</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_plugin.html#methodtype">mr_plugin::type()</a> in plugin.php</div> <div class="index-item-description">Returns the plugin's name based on class name</div> </dd> <dt class="field"> <span class="method-title">type</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_abstract.html#methodtype">mr_file_export_abstract::type()</a> in abstract.php</div> <div class="index-item-description">Returns the plugin's name based on class name</div> </dd> <dt class="field"> <span class="method-title">type</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#methodtype">mr_report_abstract::type()</a> in abstract.php</div> <div class="index-item-description">Returns the plugin's name based on class name</div> </dd> </dl> <a name="u"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">u</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$uncheckedsql</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter_checkbox.html#var$uncheckedsql">mr_html_filter_checkbox::$uncheckedsql</a> in checkbox.php</div> <div class="index-item-description">SQL for when the checkbox is checked</div> </dd> <dt class="field"> <span class="var-title">$uniquekey</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_lock_abstract.html#var$uniquekey">mr_lock_abstract::$uniquekey</a> in abstract.php</div> <div class="index-item-description">The unique key used to identify the lock</div> </dd> <dt class="field"> <span class="var-title">$units</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_format_number.html#var$units">mr_format_number::$units</a> in number.php</div> <div class="index-item-description">Units to use for the number</div> </dd> <dt class="field"> <span class="var-title">$url</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_filter.html#var$url">mr_html_filter::$url</a> in filter.php</div> <div class="index-item-description">Base URL</div> </dd> <dt class="field"> <span class="var-title">$url</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_paging.html#var$url">mr_html_paging::$url</a> in paging.php</div> <div class="index-item-description">Base URL</div> </dd> <dt class="field"> <span class="var-title">$url</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_tabs.html#var$url">mr_html_tabs::$url</a> in tabs.php</div> <div class="index-item-description">Base URL for tabs</div> </dd> <dt class="field"> <span class="var-title">$url</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_html_table.html#var$url">mr_html_table::$url</a> in table.php</div> <div class="index-item-description">Base URL</div> </dd> <dt class="field"> <span class="var-title">$url</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export.html#var$url">mr_file_export::$url</a> in export.php</div> <div class="index-item-description">Moodle URL - used for rendering</div> </dd> <dt class="field"> <span class="var-title">$url</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_report_abstract.html#var$url">mr_report_abstract::$url</a> in abstract.php</div> <div class="index-item-description">Base URL</div> </dd> <dt class="field"> <span class="var-title">$url</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_controller.html#var$url">mr_controller::$url</a> in controller.php</div> <div class="index-item-description">URL of the controller</div> </dd> <dt class="field"> <span class="var-title">$user</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_enrollment.html#var$user">mr_fixture_enrollment::$user</a> in enrollment.php</div> </dd> <dt class="field"> <span class="var-title">$user</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_fixture_role_assignment.html#var$user">mr_fixture_role_assignment::$user</a> in assignment.php</div> </dd> <dt class="field"> <span class="include-title">user.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_fixture---user.php.html">user.php</a> in user.php</div> </dd> <dt class="field"> UNITTEST </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_validate_test.html#constUNITTEST">mr_server_validate_test::UNITTEST</a> in test.php</div> <div class="index-item-description">Error constants</div> </dd> <dt class="field"> <span class="method-title">unregister</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_autoload.html#methodunregister">mr_autoload::unregister()</a> in autoload.php</div> <div class="index-item-description">Unregister a mr_autoload</div> </dd> </dl> <a name="v"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">v</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$validator</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_server_abstract.html#var$validator">mr_server_abstract::$validator</a> in abstract.php</div> <div class="index-item-description">Validator chain to validate the incoming request</div> </dd> <dt class="field"> <span class="method-title">valid</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_repository_recordset.html#methodvalid">mr_repository_recordset::valid()</a> in recordset.php</div> </dd> <dt class="field"> <span class="method-title">validate_file</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_dump.html#methodvalidate_file">mr_db_dump::validate_file()</a> in dump.php</div> <div class="index-item-description">Validates the file path</div> </dd> <dt class="field"> <span class="include-title">var.php</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/_var.php.html">var.php</a> in var.php</div> </dd> </dl> <a name="w"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">w</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$workbook</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_abstract.html#var$workbook">mr_file_export_spreadsheet_abstract::$workbook</a> in abstract.php</div> <div class="index-item-description">Workbook instance</div> </dd> <dt class="field"> <span class="var-title">$worksheet</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_abstract.html#var$worksheet">mr_file_export_spreadsheet_abstract::$worksheet</a> in abstract.php</div> <div class="index-item-description">Worksheet count</div> </dd> <dt class="field"> <span class="var-title">$writer</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_file_export_spreadsheet_abstract.html#var$writer">mr_file_export_spreadsheet_abstract::$writer</a> in abstract.php</div> <div class="index-item-description">Current worksheet</div> </dd> </dl> <a name="z"></a> <div class="index-letter-section"> <div style="float: left" class="index-letter-title">z</div> <div style="float: right"><a href="#top">top</a></div> <div style="clear: both"></div> </div> <dl> <dt class="field"> <span class="var-title">$zend</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_bootstrap.html#var$zend">mr_bootstrap::$zend</a> in bootstrap.php</div> <div class="index-item-description">Flag for if Zend Framework has been bootstrapped or not.</div> </dd> <dt class="field"> <span class="method-title">zend</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_bootstrap.html#methodzend">mr_bootstrap::zend()</a> in bootstrap.php</div> <div class="index-item-description">Bootstrap Zend Framework</div> </dd> <dt class="field"> <span class="method-title">zip</span> </dt> <dd class="index-item-body"> <div class="index-item-details"><a href="mr/mr_db_dump.html#methodzip">mr_db_dump::zip()</a> in dump.php</div> <div class="index-item-description">Zip the SQL file</div> </dd> </dl> <div class="index-letter-menu"> <a class="index-letter" href="elementindex_mr.html#a">a</a> <a class="index-letter" href="elementindex_mr.html#b">b</a> <a class="index-letter" href="elementindex_mr.html#c">c</a> <a class="index-letter" href="elementindex_mr.html#d">d</a> <a class="index-letter" href="elementindex_mr.html#e">e</a> <a class="index-letter" href="elementindex_mr.html#f">f</a> <a class="index-letter" href="elementindex_mr.html#g">g</a> <a class="index-letter" href="elementindex_mr.html#h">h</a> <a class="index-letter" href="elementindex_mr.html#i">i</a> <a class="index-letter" href="elementindex_mr.html#k">k</a> <a class="index-letter" href="elementindex_mr.html#l">l</a> <a class="index-letter" href="elementindex_mr.html#m">m</a> <a class="index-letter" href="elementindex_mr.html#n">n</a> <a class="index-letter" href="elementindex_mr.html#o">o</a> <a class="index-letter" href="elementindex_mr.html#p">p</a> <a class="index-letter" href="elementindex_mr.html#q">q</a> <a class="index-letter" href="elementindex_mr.html#r">r</a> <a class="index-letter" href="elementindex_mr.html#s">s</a> <a class="index-letter" href="elementindex_mr.html#t">t</a> <a class="index-letter" href="elementindex_mr.html#u">u</a> <a class="index-letter" href="elementindex_mr.html#v">v</a> <a class="index-letter" href="elementindex_mr.html#w">w</a> <a class="index-letter" href="elementindex_mr.html#z">z</a> <a class="index-letter" href="elementindex_mr.html#_">_</a> </div> </body> </html>
buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-x86/share/doc/gcc-arm-none-eabi/html/gdb/Trace-File-Format.html
FabianKnapp/nexmon
<html lang="en"> <head> <title>Trace File Format - Debugging with GDB</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Debugging with GDB"> <meta name="generator" content="makeinfo 4.11"> <link title="Top" rel="start" href="index.html#Top"> <link rel="prev" href="Operating-System-Information.html#Operating-System-Information" title="Operating System Information"> <link rel="next" href="Index-Section-Format.html#Index-Section-Format" title="Index Section Format"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <!-- Copyright (C) 1988-2015 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being ``Free Software'' and ``Free Software Needs Free Documentation'', with the Front-Cover Texts being ``A GNU Manual,'' and with the Back-Cover Texts as in (a) below. (a) The FSF's Back-Cover Text is: ``You are free to copy and modify this GNU Manual. Buying copies from GNU Press supports the FSF in developing GNU and promoting software freedom.'' --> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } --></style> </head> <body> <div class="node"> <p> <a name="Trace-File-Format"></a> Next:&nbsp;<a rel="next" accesskey="n" href="Index-Section-Format.html#Index-Section-Format">Index Section Format</a>, Previous:&nbsp;<a rel="previous" accesskey="p" href="Operating-System-Information.html#Operating-System-Information">Operating System Information</a>, Up:&nbsp;<a rel="up" accesskey="u" href="index.html#Top">Top</a> <hr> </div> <h2 class="appendix">Appendix I Trace File Format</h2> <p><a name="index-trace-file-format-3528"></a> The trace file comes in three parts: a header, a textual description section, and a trace frame section with binary data. <p>The header has the form <code>\x7fTRACE0\n</code>. The first byte is <code>0x7f</code> so as to indicate that the file contains binary data, while the <code>0</code> is a version number that may have different values in the future. <p>The description section consists of multiple lines of <span class="sc">ascii</span> text separated by newline characters (<code>0xa</code>). The lines may include a variety of optional descriptive or context-setting information, such as tracepoint definitions or register set size. <span class="sc">gdb</span> will ignore any line that it does not recognize. An empty line marks the end of this section. <!-- FIXME add some specific types of data --> <p>The trace frame section consists of a number of consecutive frames. Each frame begins with a two-byte tracepoint number, followed by a four-byte size giving the amount of data in the frame. The data in the frame consists of a number of blocks, each introduced by a character indicating its type (at least register, memory, and trace state variable). The data in this section is raw binary, not a hexadecimal or other encoding; its endianness matches the target's endianness. <!-- FIXME bi-arch may require endianness/arch info in description section --> <dl> <dt><code>R </code><var>bytes</var><dd>Register block. The number and ordering of bytes matches that of a <code>g</code> packet in the remote protocol. Note that these are the actual bytes, in target order and <span class="sc">gdb</span> register order, not a hexadecimal encoding. <br><dt><code>M </code><var>address</var> <var>length</var> <var>bytes</var><code>...</code><dd>Memory block. This is a contiguous block of memory, at the 8-byte address <var>address</var>, with a 2-byte length <var>length</var>, followed by <var>length</var> bytes. <br><dt><code>V </code><var>number</var> <var>value</var><dd>Trace state variable block. This records the 8-byte signed value <var>value</var> of trace state variable numbered <var>number</var>. </dl> <p>Future enhancements of the trace file format may include additional types of blocks. </body></html>
buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-x86/share/doc/gcc-arm-none-eabi/html/as.html/Chars.html
seemoo-lab/nexmon
<html lang="en"> <head> <title>Chars - Using as</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Using as"> <meta name="generator" content="makeinfo 4.11"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Characters.html#Characters" title="Characters"> <link rel="prev" href="Strings.html#Strings" title="Strings"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <!-- This file documents the GNU Assembler "as". Copyright (C) 1991-2015 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''. --> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } --></style> </head> <body> <div class="node"> <p> <a name="Chars"></a> Previous:&nbsp;<a rel="previous" accesskey="p" href="Strings.html#Strings">Strings</a>, Up:&nbsp;<a rel="up" accesskey="u" href="Characters.html#Characters">Characters</a> <hr> </div> <h5 class="subsubsection">3.6.1.2 Characters</h5> <p><a name="index-single-character-constant-164"></a><a name="index-character_002c-single-165"></a><a name="index-constant_002c-single-character-166"></a>A single character may be written as a single quote immediately followed by that character. The same escapes apply to characters as to strings. So if you want to write the character backslash, you must write <kbd>'\\</kbd> where the first <code>\</code> escapes the second <code>\</code>. As you can see, the quote is an acute accent, not a grave accent. A newline immediately following an acute accent is taken as a literal character and does not count as the end of a statement. The value of a character constant in a numeric expression is the machine's byte-wide code for that character. <samp><span class="command">as</span></samp> assumes your character code is ASCII: <kbd>'A</kbd> means 65, <kbd>'B</kbd> means 66, and so on. </body></html>
tests/wpt/web-platform-tests/css/css-regions/floats/floats-in-named-flow-017.html
saneyuki/servo
<!DOCTYPE html> <html> <head> <title>CSS Regions: float and non-float content with forced region break fragmented across two regions</title> <link rel="author" title="Mihai Balan" href="mailto:mibalan@adobe.com"> <link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property"> <meta name="flags" content="ahem"> <meta name="assert" content="Test checks that forcing a region break on the containing box of a float will fragment the float across the regions."> <link rel="match" href="reference/floats-in-named-flow-017-ref.html"> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <style> article { font-family: Ahem; font-size: 20px; line-height: 1em; color: green; } .flow { flow-into: f; } .float { float: left; color: blue; } .region { flow-from: f; margin: 20px; } .region > p { background: red; } #container { break-after: region; } #spacer { height: 10px; } </style> </head> <body> <!-- TODO: Must reconfirm this behavior based on the latest version of the fragmentation spec. --> <p> Test passes if you see two rows, each with two equally sized blue and green squares (blue on the left, green on the right); the squares should be flush to one another but there should be a small vertical space between the two rows.<br> You should see no red. </p> <div class="region"> <p>&nbsp;</p> </div> <div class="region"> <p>&nbsp;</p> </div> <article class="flow"> <div id="container"> <div class="float"> <span>xxxx<br></span> <span>xxxx<br></span> <span>xxxx<br></span> <span>xxxx<br></span> <span>xxxx<br></span> <span>xxxx<br></span> <span>xxxx<br></span> <span>xxxx</span> </div> xxxx<br> xxxx<br> xxxx<br> xxxx <div id="spacer">&nbsp;</div> </div> xxxx<br> xxxx<br> xxxx<br> xxxx </article> </body> </html>
debsources/app/copyright/static/css/license.css
oorestisime/debsources
/* * Copyright (C) 2015 The Debsources developers <info@sources.debian.net>. * See the AUTHORS file at the top-level directory of this distribution and at * https://anonscm.debian.org/gitweb/?p=qa/debsources.git;a=blob;f=AUTHORS;hb=HEAD * License: GNU Affero General Public License, version 3 or above. */ /* Render License */ .r_decorate{ color:#c70036 } .r_info{ display: block; } .r_header p,.r_files p{ margin: 0.1em; margin-left: 0.7em; width:50%; } .r_licenses p{ width:50%; } .r_files_info{ margin-left: 2em; margin-bottom: 1em; } .r_synopsis, .r_l_comment{ padding-left:2.3em; } .r_copyright pre, span{ display:inline; }
modules/Campaigns/WizardMarketing.html
ByersHouse/crmwork
<!-- /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd. * Copyright (C) 2011 - 2014 Salesagility Ltd. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by the * Free Software Foundation with the addition of the following permission added * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License along with * this program; if not, see http://www.gnu.org/licenses or write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA. * * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "Powered by * SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not * reasonably feasible for technical reasons, the Appropriate Legal Notices must * display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM". ********************************************************************************/ /********************************************************************************* ********************************************************************************/ --> {literal} <style> .li-tick { list-style-image: url("themes/default/images/cmpwzrd/ic_check_circle_black_24px.svg"); height: 24px; margin-top: 8px; } .li-cross { list-style-image: url("themes/default/images/cmpwzrd/ic_cancel_black_24px.svg"); height: 24px; margin-top: 8px; } .li-tick *, .li-cross * { position: absolute; line-height: 24px; } </style> {/literal} {if $hideScreen}<div style="display:none;">{/if} {literal} <script type="text/javascript"> $(function(){ $('#wiz_stage').show(); }); </script> {/literal} <div id='wiz_stage' style="display:none;"> <form id="wizform" name="wizform" method="POST" action="index.php" enctype="multipart/form-data"> <input type="hidden" name="module" value="Campaigns"> <input type="hidden" id="record" name="record" value="{$MRKT_ID}"> <input type="hidden" name="campaign_id" value="{$CAMPAIGN_ID}"> <input type="hidden" id='action' name="action"> <input type="hidden" id="return_module" name="return_module" value="{$RETURN_MODULE}"> <input type="hidden" id="return_id" name="return_id" value="{$RETURN_ID}"> <input type="hidden" id="return_action" name="return_action" value="{$RETURN_ACTION}"> <input type="hidden" id="direct_step" name="direct_step" value='4'> <input type="hidden" id="wiz_total_steps" name="totalsteps" value="3"> <input type="hidden" id="wiz_current_step" name="currentstep" value='0'> <input type="hidden" id="wiz_back" name="wiz_back" value='none'> <input type="hidden" id="wiz_next" name="wiz_next" value='2'> <input type="hidden" id="direction" name="wiz_direction" value='exit'> <input type="hidden" id="show_wizard_summary" name="show_wizard_summary" value='0'> <input type="hidden" id="sendMarketingEmailTest" name="sendMarketingEmailTest" value="0"> <input type="hidden" id="sendMarketingEmailSchedule" name="sendMarketingEmailSchedule" value="0"> {$WIZMENU} <p> <div id ='buttons'> <table width="100%" border="0" cellspacing="0" cellpadding="0" > <tr> <td align="left" width='30%'> <table border="0" cellspacing="0" cellpadding="0" ><tr> <tr> <td><div id="back_button_div2"><input id="wiz_back_button" type='hidden' title="{$APP.LBL_BACK}" class="button" onclick="determine_back();" name="back" value="{$APP.LBL_BACK}"></div></td> <td{if $campaign_type != 'NewsLetter' || $campaign_type=='Email'} style="display:none;"{/if}><div id="back_button_div"><input id="wiz_back_button" type='button' title="{$APP.LBL_BACK}" class="button" onclick="determine_back();" name="back" value="{$APP.LBL_BACK}"></div></td> <td><div id="cancel_button_div"><input id="wiz_cancel_button" title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" type="button" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}"> <script> {literal} $(function(){ $('#wiz_cancel_button').click(function(){ this.form.action.value='WizardHome'; this.form.module.value='Campaigns'; this.form.record.value='{/literal}{$CAMPAIGN_ID}{literal}'; // if mail box is not set up you can't cancel out of the wizard {/literal}{if $campaign_type == 'NewsLetter' || $campaign_type=='Email'}{literal} var current = document.getElementById('wiz_current_step').value; if(current == 1 || current == 2) { var total = document.getElementById('wiz_total_steps').value; document.getElementById('wiz_current_step').value = document.getElementById('wiz_total_steps').value; $('#step' + current).hide(); $('#step' + total).show(); return false; } {/literal}{/if}{literal} $(this).closest('form').submit(); }); }); {/literal} </script> </div></td> <td><div id="save_button_div"><input id="wiz_submit_button" title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}" class="button" onclick="this.form.action.value='WizardMarketingSave'; this.form.module.value='Campaigns'; $('#show_wizard_summary').val('1'); " type="submit" name="button" value="{$APP.LBL_NEXT_BUTTON_LABEL}" ></div> </td> <td><div id="next_button_div"><input id="wiz_next_button" type='button' title="{$APP.LBL_NEXT_BUTTON_LABEL}" class="button" onclick="javascript:onNextClick();" name="button" value="{$APP.LBL_NEXT_BUTTON_LABEL}"></div></td> </tr> </table> </td> <td align="right" width='40%'><div id='wiz_location_message'></td> </tr> </table> </div> </p> <script type="text/javascript"> {literal} var uploadFormCallback = function() { console.log('override this..'); }; $(function(){ $('#upload_form').submit(function(){ var formData = new FormData($(this)[0]); $.post($(this).attr('action'), formData, function(data){ uploadFormCallback(data); }); return false; }); }); var hasNewAttachments = function() { return $('#upload_form input[type=file]').length > 1; }; var submitMarketingEmailAttachments = function(callback) { $('#attach_to_template_id').val($('#template_id').val()); ///$('#attach_to_marketing_id').val($('#record').val()); if(typeof callback != 'undefined') { uploadFormCallback = callback; } $('#upload_form input[type="submit"]').click(); }; // validations var emailTemplateFormValidationRules = [ {id: 'template_id', rules: ['required'], dependency: function() { return !$('input[name="update_exists_template"]').prop('checked'); }}, {id: 'template_name', rules: ['required']}, //{id: 'template_subject', rules: ['required']}, ]; var ruleMessages = { required: '{/literal}{$MOD.ERR_MISSING_REQUIRED_FIELDS}{literal}' }; var hideEmailTemplateFormErrors = function() { var fields = emailTemplateFormValidationRules; for(var i=0; i<fields.length; i++) { var field = fields[i]; $('#' + field.id).css('background-color', 'initial'); var errorElem = $('#' + field.id).next(); if(errorElem.hasClass('required') && errorElem.hasClass('validation-message')) { errorElem.remove(); } } }; var showEmailTemplateFormErrors = function(errors) { hideEmailTemplateFormErrors(); for(var i=0; i<errors.length; i++) { var error = errors[i]; $('#' + error.field.id).css('background-color', 'red'); $('#' + error.field.id).animate({'background-color': 'white'}, 1500); $('#' + error.field.id).after('<div class="required validation-message">' + error.message + '</div>'); } }; var isValidEmailTemplateFormAndShowErrors = function() { var errors = []; var fields = emailTemplateFormValidationRules; for(var i=0; i<fields.length; i++) { var field = fields[i]; for(var j=0; j<field.rules.length; j++) { var rule = field.rules[j]; switch(rule) { default: case 'required': if(typeof field.dependency != 'undefined') { if(field.dependency()) { rule = 'none'; } } break; } switch(rule) { case 'none': break; default: case 'required': if(!$('#' + field.id).val()) { errors.push({ 'field': field, 'rule': rule, 'message': ruleMessages[rule], }); } break; } } } if(errors.length) { showEmailTemplateFormErrors(errors); return false; } return true; }; function onNextClick() { switch(document.getElementById('wiz_current_step').value) { case '1': var updateChecked = $('input[name="update_exists_template"]').prop('checked'); if($('#template_id').val() == '') { alert(SUGAR.language.translate('Campaigns', 'LBL_STEP_INFO_EMAIL_TEMPLATE')); return false; } // if(!updateChecked) { // validate email template form before save if (isValidEmailTemplateFormAndShowErrors()) { onSaveCopyMarketingEmailTemplate(function () { onSaveMarketingEmail(function(){ if (hasNewAttachments()) { submitMarketingEmailAttachments(function(){ onNext(); wizardMenuSetStepLink(4); }); } else { onNext(); wizardMenuSetStepLink(4); } }); }); } // } else { // onNext(); // wizardMenuSetStepLink(4); // } break; case '2': // save/create marketing email first onSaveMarketingEmail(function(){ onNext(); refreshMarketingSelect(); }); break; default: onNext(); break; } } var emailTemplateCopyId = null; function onSaveCopyMarketingEmailTemplate(callback) { var func = emailTemplateCopyId || $('input[name="update_exists_template"]').prop('checked') ? 'update': 'createCopy'; // <!-- BEGIN: NoInbound1 --> // addUploadFiles('wizform'); // addUploadDocs('wizform'); // <!-- END: NoInbound1 --> // var getAttachmentsForAdd = function() { // // todo: !@# // }; // var getAttachmentsForRemove = function() { var attachmentsForRemove = []; $('#step1_uploader input[type="checkbox"]').each(function(){ if($(this).attr('name') == 'remove_attachment[]' && $(this).prop('checked')) { attachmentsForRemove.push($(this).val()); } }); return attachmentsForRemove; }; $.post('index.php?entryPoint=emailTemplateData&rand='+Math.random(), { 'func': func, 'campaignId': $('input[name="campaign_id"]').val(), 'emailTemplateId' : emailTemplateCopyId ? emailTemplateCopyId : $('#template_id').val(), 'body_html': $('#email_template_editor').getMozaikValue(), 'name': $('#template_name').val(), 'subject': $('#template_subject').val(), // 'attachmentsAdd': getAttachmentsForAdd(), 'attachmentsRemove': getAttachmentsForRemove() }, function(resp){ // todo: hide preloader or loading message.. resp = JSON.parse(resp); if(resp.error) { // todo: show error console.error(resp.error); } else { if(!emailTemplateCopyId && func == 'createCopy') { emailTemplateCopyId = resp.data.id; $('#template_id').append('<option value="' + resp.data.id + '">' + resp.data.name + '</option>'); $('#template_id').val(resp.data.id); $('input[name="update_exists_template"]').prop('checked', true); } callback(); } }); // todo: show preloader or loading message... } function onSaveMarketingEmail(callback) { var data = $('#wizform').serialize(); if(emailTemplateCopyId) { data = data.replace(/&template_id=[^&]+&/, '&template_id='+emailTemplateCopyId+'&'); } $.post('index.php?entryPoint=emailMarketingData&func=wizardUpdate&rand='+Math.random(), data, function(resp){ // todo: hide preloader or loading message.. resp = JSON.parse(resp); if(resp.error) { // todo: show error console.error(resp.error); } else { resp.data = JSON.parse(resp.data); //$('#record').replaceWith('<input type="hidden" id="record" value="' + resp.data.id + '">'); document.getElementById('record').value = resp.data.id; callback(); } }); // todo: show preloader or loading message... } function onNext() { navigate('next', false, true); if(document.getElementById('wiz_current_step').value == document.getElementById('wiz_total_steps').value) { wizardMenuFillAll(); } changeNextBtnLabel(); saveMarketingAndTemplate('getTemplateValidation'); } function changeNextBtnLabel() { if(document.getElementById('wiz_current_step').value == '2') { $('#wiz_next_button').val('{/literal}{$MOD.LBL_CREATE_MARKETING_RECORD}{literal}'); } else { $('#wiz_next_button').val('{/literal}{$APP.LBL_NEXT_BUTTON_LABEL}{literal}'); } } //returns a js date function toDate(datestr) { var $format = "", $splitformat = ["","",""], $dbformat = ["","",""]; // Get user preferences date format $format = cal_date_format $format = $format.toUpperCase(); $format = $format.replace('%D', 'DD') $format = $format.replace('%M', 'MM') $format = $format.replace('%Y', 'YYYY') // return js date return moment(datestr, $format).toDate() } $(document).ready(function(){ YAHOO.util.Event.addListener(YAHOO.util.Selector.query('#date_start_date'), "change", function(){ var $date = toDate(YAHOO.util.Selector.query('#date_start_date')[0].value); if($date == 'Invalid Date') { $('#date_start_date').val('') } }); $('#date_start_date').change(function() { var $date = toDate(YAHOO.util.Selector.query('#date_start_date')[0].value); if($date == 'Invalid Date') { $('#date_start_date').val('') } }) }); {/literal} </script> <table class='other view' cellspacing="1"> <tr> <td rowspan='2' width='100%' style="padding: 0;"> <div id="wiz_message"></div> {$msg} <div id=wizard class="wizard-unique-elem"> <div id='step1' class="edit view" style="display:none; margin-top: 8px;"> <div id="templateManager" class="template-panel"> <div id="templateManagerDialog"> <div id="emailTemplateDialog" class="hidden"> </div> <div id="emailTrackerDialog" class="hidden"> <h2 class="header-2">{$MOD.LBL_TRACKER_TITLE}</h2> <div class="clear"></div> <div class="template-container-full"> <div class="hidden"> <label>{$MOD.LBL_TRACKER_KEY}</label> <input type="text" size="100" tabindex='1' name="tracker_name" id="tracker_name" value="{$TRACKER_NAME}" class="errorable form-control input-sm" placeholder="{$MOD.LBL_EDIT_TRACKER_NAME}"> <span id="tracker_name_error" style="display: none;" class="error_message" for="tracker_name"></span> </div> <div class="clear"></div> <div class="form-group"> <label>{$MOD.LBL_TRACKER_TEXT}</label> <input type="text" size="100" maxlength="255" id="url_text" name="url_text" value="{$DEFAULT_URL_TEXT}" class="form-control input-sm" /> </div> <div class="clear"></div> <div class="form-group"> <label>{$MOD.LBL_TRACKER_URL}:</label> <input type="text" maxlength='255' size="100" tabindex='3' {$TRACKER_URL_DISABLED} name="tracker_url_add" id="tracker_url_add" value="{$TRACKER_URL}" class="errorable form-control input-sm" placeholder="http://" title="{$MOD.LBL_EDIT_TRACKER_URL}"> <span id="tracker_url_error" style="display: none;" class="error_message" for="tracker_url"></span> </div> <div class="clear"></div> <div class="form-group"> <span>{$MOD.LBL_EDIT_OPT_OUT|replace:' ':'&nbsp'}</span><input onclick="toggle_tracker_url(this);" name="is_optout" id="is_optout" tabindex='2' type="checkbox" {$IS_OPTOUT_CHECKED}/> <input type='button' tabindex="0" onclick='{$INSERT_URL_ONCLICK}' class='button hidden' value='{$MOD.LBL_INSERT_URL_REF}'> </div> </div> </div> <div id="templateManagerDialogActions" class="form-group hidden"> <input type="button" id="templateManagerActionOK" value="OK"> <input type="button" id="templateManagerActionCancel" value="{$MOD.LBL_CANCEL}"> </div> </div> <div class="template-panel-container panel"> <div class="template-container-full "> <h4 class="header-4" style="border-bottom: solid 1px #eee;">{$MOD.LBL_TEMPLATE}</h4> <div class="clear">&nbsp;</div> <div><label class="wizard-step-info">{$MOD.LBL_PLEASE_SELECT_OPTION}</label></div> <style> {literal} ul.template_option_list {list-style-type: none; padding-left: 0; margin-bottom: 8px;} ul.template_option_list input {position: relative; top: -6px;} ul.template_option_list label {font-weight: normal;} {/literal} </style> <ul class="template_option_list"> <li><input type="radio" name="template_option_radio" id="template_option_select"> <label for="template_option_select">{$MOD.LBL_OPTION_SELECT_TEMPLATE}</label></li> <li><input type="radio" name="template_option_radio" id="template_option_create"> <label for="template_option_create">{$MOD.LBL_OPTION_CREATE_TEMPLATE}</label></li> <li><input type="radio" name="template_option_radio" id="template_option_copy" > <label for="template_option_copy" >{$MOD.LBL_OPTION_COPY_TEMPLATE}</label></li> </ul> <script> {literal} $(function(){ $('#template_option_select').click(function(){ $('#template_id_select_frm').show(); $('#template_name_input_frm').hide(); $('#template_id_name_space_separator').hide(); $('#LBL_SAVE_EMAIL_TEMPLATE_BTN').show(); $('#LBL_CREATE_EMAIL_TEMPLATE_BTN').hide(); $('input[name="update_exists_template"]').prop('checked', true); }); $('#template_option_create').click(function(){ $('#template_id_select_frm').hide(); $('#template_name_input_frm').show(); $('#template_id_name_space_separator').hide(); $('#LBL_SAVE_EMAIL_TEMPLATE_BTN').hide(); $('#LBL_CREATE_EMAIL_TEMPLATE_BTN').show(); $('input[name="update_exists_template"]').prop('checked', false); emailTemplateCopyId = null; }); $('#template_option_copy').click(function(){ $('#template_id_select_frm').show(); $('#template_name_input_frm').show(); $('#template_id_name_space_separator').show(); $('#LBL_SAVE_EMAIL_TEMPLATE_BTN').hide(); $('#LBL_CREATE_EMAIL_TEMPLATE_BTN').show(); $('input[name="update_exists_template"]').prop('checked', false); }); $('#template_id_select_frm').hide(); $('#template_name_input_frm').hide(); $('#template_id_name_space_separator').hide(); $('#LBL_SAVE_EMAIL_TEMPLATE_BTN').hide(); $('#LBL_CREATE_EMAIL_TEMPLATE_BTN').hide(); if($('#template_id').val()) { $('#template_option_select').click(); } else { $('#template_option_select').click(); } // fix lost buttons $('#show_buttons_frm').removeClass('hidden'); }); {/literal} </script> <div class="form-group clear-block"> <!--<label>{$MOD.LBL_TEMPLATE|replace:' ':'&nbsp'}<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></label>--> <div id="template_id_select_frm"> <label>{$MOD.LBL_TEMPLATE_FIELD}<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></label> <select class="form-control input-sm" id="template_id" name='template_id' tabindex='2' onchange="onEmailTemplateChange(this, '{$MOD.LBL_COPY_OF}');" title='{$MOD.LBL_TEMPLATE}'>{$EMAIL_TEMPLATE_OPTIONS}</select> </div> <div class="clear">&nbsp;</div> <br style="disply:none;" id="template_id_name_space_separator"> <div id="template_name_input_frm"> <label>{$MOD.LBL_NAME}<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></label> <input type="text" class="form-control input-sm" id="template_name" name="template_name" value="{$template_name}" maxlength="255" size="100"> <span class="form-group hidden"> <label>{$MOD.LBL_UPDATE_TEMPLATE|replace:' ':'&nbsp'}</label> <input type="checkbox" name="update_exists_template" class="form-checkbox input-sm hidden"> </span> </div> <script> {literal} $(function(){ if(document.getElementById('template_id').value) { onEmailTemplateChange(document.getElementById('template_id'), '{$MOD.LBL_COPY_OF}'); } }); {/literal} </script> </div> <div id="template_messages"></div> <div class="button-group" id="show_buttons_frm"> <input type="button" id="LBL_SAVE_EMAIL_TEMPLATE_BTN" value="{$MOD.LBL_SAVE_EMAIL_TEMPLATE_BTN}" onclick="EmailTemplateController('save')"> <!-- </div> --> <!-- <div class="button-group-seperator"></div> --> <!-- <div class="button-group"> --> <input type="button" id="LBL_CREATE_EMAIL_TEMPLATE_BTN" value="{$MOD.LBL_CREATE_EMAIL_TEMPLATE_BTN}" onclick="EmailTemplateController('create')" class=""> </div> </div> </div> <div class="template-panel-container panel-toolbar "> <div class="template-container"> <h2 class="header-2">{$MOD.LBL_TRACKED_URLS}</h2> <div class="clear"></div> <div class="form-group clear-block"> <select class="form-control input-sm" tabindex='0' id="trackerUrlSelect" name='tracker_url' onchange='setTrackerUrlSelectVisibility();'> <option value="-1">{$MOD.LBL_CREATE_TRACKER_URL}</option> {$TRACKER_KEY_OPTIONS} </select> </div> <div class="button-group"> <input type="button" value="{$MOD.LBL_INSERT_TRACKER_BTN}" onclick="EmailTrackerController('insert', '{$CAMPAIGN_ID}');"> </div> <div class="button-group-seperator"></div> <div class="button-group"> <input type='button' id="LBL_CREATE_TRACKER_BTN" tabindex="0" class='button' value='{$MOD.LBL_CREATE_TRACKER_BTN}' onclick="EmailTrackerController('create', '{$CAMPAIGN_ID}')"> <input type='button' id="LBL_EDIT_TRACKER_BTN" tabindex="0" class='button' value='{$MOD.LBL_EDIT_TRACKER_BTN}' onclick="EmailTrackerController('edit', '{$CAMPAIGN_ID}')"> </div> </div> <div class="template-container"> <h2 class="header-2">{$MOD.LBL_EMAIL_VARIABLES}</h2> <div class="clear"></div> <script src="modules/EmailTemplates/EmailTemplate.js"></script> <script type="text/javascript"> {$FIELD_DEFS_JS} </script> {literal} <script type="text/javascript"> $(function(){ addVariables(document.wizform.variable_name,document.wizform.variable_module.options[document.wizform.variable_module.selectedIndex].value, 'wizform'); }); </script> {/literal} <div class="form-group clear-block"> <select class="form-control input-sm" name='variable_module' tabindex="0" onchange="addVariables(document.wizform.variable_name,this.options[this.selectedIndex].value, 'wizform');"> {$DROPDOWN} </select> <div class="pad">&nbsp;</div> <select class="form-control input-sm" name='variable_name' tabindex="0" onchange="showVariable('wizform');"> </select> </div> <div class="hidden"> <span scope="row"> {$MOD.LBL_USE} </span> <input type="text" size="30" tabindex="0" name="variable_text" /> </div> <!-- BEGIN: variable_button --> <div class="button-group"> <input id="insert_variable_to_body_btn" type='button' tabindex="0" onclick='{$INSERT_VARIABLE_ONCLICK}' class='button' value='{$MOD.LBL_INSERT_VARIABLE_BTN}' style="display: none;"> <input id="insert_variable_to_subject_btn" type='button' tabindex="0" onclick='insert_variable(document.wizform.variable_text.value, "template_subject")' class='button' value='{$MOD.LBL_INSERT_VARIABLE_SUBJECT_BTN}'> </div> <!-- END: variable_button --> </div> </div> <div class="template-panel-container"> <div class=""> <div> {literal} <script type="text/javascript"> var setTrackerUrlSelectVisibility = function(){ if($('select[name="tracker_url"]').val()=='-1') { $('#insert_tracker_div').hide(); $('#create_tracker_div').show(); } else { $('#insert_tracker_div').show(); $('#create_tracker_div').hide(); } }; $(function(){ setTrackerUrlSelectVisibility(); }); </script> <script type="text/javascript"> function toggle_tracker_url(isoptout) { tracker_url = document.getElementById('tracker_url_add'); if (isoptout.checked) { tracker_url.disabled=true; tracker_url.value="index.php?entryPoint=removeme"; } else { tracker_url.disabled=false; } } var setFieldErrorMessage = function(field, message) { $('#' + field).css('background-color', 'red'); $('#' + field).css({'background-color': 'white'}, 1500); $('#' + field + '_error').html(message).show(); }; var hideFieldErrorMessages = function() { $('.error_message').each(function(i,e){ $('#' + $(e).attr('for')).css('background-color', 'initial'); $(e).html('').hide(); }); }; var onCampaignTrackerSaveClick = function() { var trackerName = $('#tracker_name').val(); var trackerURL = $('#tracker_url_add').val(); // validate elements fisrt var errors = []; if(!trackerName) { errors.push({field: 'tracker_name', message: '{/literal}{$MOD.ERR_REQUIRED_TRACKER_NAME}{literal}'}); } if(!trackerURL) { errors.push({field: 'tracker_url', message: '{/literal}{$MOD.ERR_REQUIRED_TRACKER_URL}{literal}'}); } hideFieldErrorMessages(); if(errors.length) { for(var i=0; i<errors.length; i++) { setFieldErrorMessage(errors[i].field, errors[i].message); } } else { $.post('index.php?entryPoint=campaignTrackerSave', { module: 'CampaignTrackers', record: '', // TODO .. campaign tracker ID on update action: 'Save', campaign_id: '{/literal}{$CAMPAIGN_ID}{literal}', tracker_name: trackerName, tracker_url: trackerURL, is_optout: $('#is_optout').prop('checked') ? 'on' : '', response_json: true }, function (resp) { resp = JSON.parse(resp); if (resp.data.id) { // TODO do it only when user want to create a new one as "copy and save.." function $('select[name="tracker_url"]').append('<option value="{' + trackerName + '}">' + trackerName + ' : ' + trackerURL + '</option>'); $('select[name="tracker_url"]').val('{' + trackerName + '}'); $('#url_text').val('{' + trackerName + '}'); } setTrackerUrlSelectVisibility(); //insert_variable_html_link(document.wizform.tracker_url.value); }); } }; $(function(){ $('.errorable').focus(function(){ $(this).css('background-color', 'initial'); }); }); </script> {/literal} <div class="panel-toolbar"> <div class="template-container-full"> <h2 class="header-2">{$MOD.LBL_SUBJECT}</h2> <div class="form-group clear-block"> <input type="text" id="template_subject" name="template_subject" value="{$template_subject}" class="form-control input-sm" maxlength="255" size="100" onclick="onClickTemplateSubject(this);"> </div> </div> </div> <div class="panel-toolbar"> <div class="template-container-full"> <label>{$MOD.LBL_CLICK_TO_ADD}</label> <br> {$BODY_MOZAIK} </div> <!-- <iframe id="html_frame" src="" style="width:100%; height:500px"></iframe> <pre id="email_template_view"></pre> --> </div> </div> </div> </div> </div> </div> <div id="step2" class="step2" style="display: none;"> <div class="template-panel"> <div class="template-panel-container panel"> <div class="template-container-full"> <table border="0" cellpadding="0" cellspacing="0" width="100%" class='edit view'> <tr> <td colspan="4"> <h4 class="header-4">{$MOD.LBL_MRKT_NAME}</h4> </td> </tr> <tr> <td colspan="4"> <label class="wizard-step-info">{$MOD.LBL_STEP_INFO_MARKETING}</label> </td> </tr> <tr> <td scope="col" NOWRAP valign="top"><slot>{$MOD.LBL_MRKT_NAME_FIELD} <span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></slot></td> <td ><slot><input id='marketing_name' name='wiz_step3_name' title='{$MOD.LBL_MRKT_NAME}' size='25' maxlength='255' type="text" value="{$MRKT_NAME}"></slot></td> </tr> <tr> <td scope="col" NOWRAP valign="top"><slot>{$MOD.LBL_FROM_MAILBOX_NAME}<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></slot></td> <td> <slot> <select title='{$MOD.LBL_FROM_MAILBOX_TITLE}' id='inbound_email_id' name='wiz_step3_inbound_email_id' onchange='set_from_reply_info(this);'>{$MAILBOXES}</select> </slot> <!-- <br> <a href="index.php?module=InboundEmail&action=index" title="{$MOD.LBL_INBOUND_EMAIL_SETTINGS_TITLE}">{$MOD.LBL_INBOUND_EMAIL_SETTINGS}</a> <img border="0" class="inlineHelpTip" onclick="return SUGAR.util.showHelpTips(this,'{$MOD.LBL_INBOUND_EMAIL_SETTINGS_TITLE}','','','dialogHelpPopup')" src="index.php?entryPoint=getImage&amp;themeName=SuiteR&amp;imageName=helpInline.gif"> <br> <a href="index.php?module=InboundEmail&action=EditView&mailbox_type=bounce" title="{$MOD.LBL_INBOUND_EMAIL_CREATE_TITLE}">{$MOD.LBL_INBOUND_EMAIL_CREATE}</a> <img border="0" class="inlineHelpTip" onclick="return SUGAR.util.showHelpTips(this,'{$MOD.LBL_INBOUND_EMAIL_CREATE_TITLE}','','','dialogHelpPopup')" src="index.php?entryPoint=getImage&amp;themeName=SuiteR&amp;imageName=helpInline.gif"> --> </td> <td style="display: none;" scope="col" NOWRAP valign="top"><slot>{$MOD.LBL_STATUS_TEXT} <span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></slot></td> <td style="display: none;"><slot><select tabindex='2' id='status' title='{$MOD.LBL_STATUS_TEXT}' name='wiz_step3_status'>{$STATUS_OPTIONS}</select></slot></td> </tr> <tr> <td scope="col" NOWRAP valign="top"><slot>{$MOD.LBL_OUTBOUND_MAILBOX_NAME}</slot></td> <td> <slot> <select title='{$MOD.LBL_OUTBOUND_MAILBOX_NAME}' id='outbound_email_id' name='wiz_step3_outbound_email_id' onchange='// set_from_reply_info(this);'>{$OUTBOUND_MAILBOXES}</select> </slot> <!-- <br> <a href="index.php?module=InboundEmail&action=index" title="{$MOD.LBL_INBOUND_EMAIL_SETTINGS_TITLE}">{$MOD.LBL_INBOUND_EMAIL_SETTINGS}</a> <img border="0" class="inlineHelpTip" onclick="return SUGAR.util.showHelpTips(this,'{$MOD.LBL_INBOUND_EMAIL_SETTINGS_TITLE}','','','dialogHelpPopup')" src="index.php?entryPoint=getImage&amp;themeName=SuiteR&amp;imageName=helpInline.gif"> <br> <a href="index.php?module=InboundEmail&action=EditView&mailbox_type=bounce" title="{$MOD.LBL_INBOUND_EMAIL_CREATE_TITLE}">{$MOD.LBL_INBOUND_EMAIL_CREATE}</a> <img border="0" class="inlineHelpTip" onclick="return SUGAR.util.showHelpTips(this,'{$MOD.LBL_INBOUND_EMAIL_CREATE_TITLE}','','','dialogHelpPopup')" src="index.php?entryPoint=getImage&amp;themeName=SuiteR&amp;imageName=helpInline.gif"> --> </td> </tr> <tr> <td scope="col" NOWRAP valign="top"><slot>{$MOD.LBL_START_DATE_TIME} <span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></slot></td> <td style="display:none;" class="datafield"><slot><table cellpadding="0" cellspacing="0"><tr><td nowrap><input title ='{$MOD.LBL_START_DATE_TIME}' id='date_start' name='wiz_step3_date_start' onblur="parseDate(this, '{$CALENDAR_DATEFORMAT}');" size='11' tabindex='1' maxlength='10' type="text" value="{$MRKT_DATE_START}"> <img src="{sugar_getimagepath file='jscalendar.gif'}" alt="{$CALENDAR_DATEFORMAT}" id="jscal_trigger" align="absmiddle">&nbsp;</td> <td style="display:none;" nowrap><input type="text" size='5' maxlength='5' id='time_start' name='wiz_step3_time_start' tabindex="1" value="{$MRKT_TIME_START}"/>{$TIME_MERIDIEM}</td></tr><tr><td nowrap><span class="dateFormat">{$USER_DATEFORMAT}</span></td><td nowrap><span class="dateFormat">{$TIME_FORMAT}</span></td></tr></table></slot> <script type="text/javascript"> {literal} $(function(){ if($('#date_start_meridiem').length) { $('#date_start_hours option').each(function(i,e){ if(parseInt($(e).attr('value'))>12) { $(e).hide(); } }); } }); {/literal} </script> </td> <td> <!-- ------------------------------ --> <!-- ------------------------------ --> <!-- DATE TIME COMBO FOR START DATE --> <!-- ------------------------------ --> <!-- ------------------------------ --> <table border="0" cellpadding="0" cellspacing="0" class="dateTime"> <tr valign="middle"> <td nowrap class="datafield" style="width:150px;"> <input autocomplete="off" type="text" id="{$fields.date_start.name}_date" value="{$MRKT_DATE_START}" xxx="{$fields[$fields.date_start.name].value}" size="11" maxlength="10" title='' tabindex="0" onblur="combo_{$fields.date_start.name}.update(); parseDate(this, '{$CALENDAR_DATEFORMAT}');" onchange="combo_{$fields.date_start.name}.update();parseDate(this, '{$CALENDAR_DATEFORMAT}'); " > {capture assign="other_attributes"}alt="{$APP.LBL_ENTER_DATE}" style="position:relative; top:6px" border="0" id="{$fields.date_start.name}_trigger"{/capture} {sugar_getimage name="jscalendar" ext=".gif" other_attributes="$other_attributes"}&nbsp; </td> <td nowrap colspan="5" style="width:200px;"> {literal} <script type="text/javascript"> setInterval(function(){ $('input[name="wiz_step3_date_start"]').val($('#date_start_date').val()); $('input[name="wiz_step3_time_start"]').val($('#date_start_hours').val() + ':' + $('#date_start_minutes').val()); $('select[name="meridiem"]').val($('#date_start_meridiem').val()); if(parseInt($('#date_start_hours').val())>12) { $('#date_start_meridiem').val('PM'); } },100); </script> {/literal} <div id="{$fields.date_start.name}_time_section"></div> <script type="text/javascript"> function set_{$fields.date_start.name}_values(form) {ldelim} if(form.{$fields.date_start.name}_flag.checked) {ldelim} form.{$fields.date_start.name}_flag.value=1; form.{$fields.date_start.name}.value=""; form.{$fields.date_start.name}.readOnly=true; {rdelim} else {ldelim} form.{$fields.date_start.name}_flag.value=0; form.{$fields.date_start.name}.readOnly=false; {rdelim} {rdelim} </script> </td> </tr> <tr valign="middle"> <td nowrap> <span class="dateFormat">{$USER_DATEFORMAT}</span> </td> <td nowrap> <span class="dateFormat">{$TIME_FORMAT}</span> </td> </tr> </table> <input type="hidden" class="DateTimeCombo" id="{$fields.date_start.name}" name="{$fields.date_start.name}" value="{$fields[$fields.date_start.name].value}"> <script type="text/javascript" src='{sugar_getjspath file="include/SugarFields/Fields/Datetimecombo/Datetimecombo.js"}'></script> <script type="text/javascript"> var combo_{$fields.date_start.name} = new Datetimecombo("{$fields[$fields.date_start.name].value}", "{$fields.date_start.name}", "{$TIME_FORMAT}", "0", '1', false, true); //Render the remaining widget fields combo_{$fields.date_start.name}.timeseparator = ':'; text = combo_{$fields.date_start.name}.html(''); document.getElementById('{$fields.date_start.name}_time_section').innerHTML = text; //Call eval on the update function to handle updates to calendar picker object eval(combo_{$fields.date_start.name}.jsscript('')); //bug 47718: this causes too many addToValidates to be called, resulting in the error messages being displayed multiple times // removing it here to mirror the Datetime SugarField, where the validation is not added at this level //addToValidate('{$form_name}',"{$fields.date_start.name}_date",'date',false,"{$fields.date_start.name}"); addToValidateBinaryDependency('{$form_name}',"{$fields.date_start.name}_hours", 'alpha', false, "{$APP.ERR_MISSING_REQUIRED_FIELDS} {$APP.LBL_HOURS}" ,"{$fields.date_start.name}_date"); addToValidateBinaryDependency('{$form_name}', "{$fields.date_start.name}_minutes", 'alpha', false, "{$APP.ERR_MISSING_REQUIRED_FIELDS} {$APP.LBL_MINUTES}" ,"{$fields.date_start.name}_date"); addToValidateBinaryDependency('{$form_name}', "{$fields.date_start.name}_meridiem", 'alpha', false, "{$APP.ERR_MISSING_REQUIRED_FIELDS} {$APP.LBL_MERIDIEM}","{$fields.date_start.name}_date"); YAHOO.util.Event.onDOMReady(function() {ldelim} Calendar.setup ({ldelim} onClose : update_{$fields.date_start.name}, inputField : "{$fields.date_start.name}_date", form : "{$form_name}", ifFormat : "{$CALENDAR_DATEFORMAT}", daFormat : "{$CALENDAR_DATEFORMAT}", button : "{$fields.date_start.name}_trigger", singleClick : true, step : 1, weekNumbers: false, startWeekday: {$CALENDAR_FDOW|default:'0'}, comboObject: combo_{$fields.date_start.name}, form: '{$form_name}' {rdelim}); //Call update for first time to round hours and minute values combo_{$fields.date_start.name}.update(false); {rdelim}); </script> <!-- ------------------------------------- --> <!-- ------------------------------------- --> <!-- END OF DATE TIME COMBO FOR START DATE --> <!-- ------------------------------------- --> <!-- ------------------------------------- --> </td> </tr> </table> <div class="wizard-box"> <label>{$MOD.LBL_FROM_NAME}<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></label><br> <input name='wiz_step3_from_name' id='from_name' title='{$MOD.LBL_FROM_NAME}' tabindex='2' size='25' maxlength='{$MRKT_FROM_NAME_LEN}' type="text" value="{$MRKT_FROM_NAME}"><br> <span class="helpmsg">{$MOD.LBL_FROM_NAME_HELP}</span> </div> <div class="wizard-box"> <label>{$MOD.LBL_FROM_ADDR}<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></label><br> <input name='wiz_step3_from_addr' id='from_addr' title='{$MOD.LBL_FROM_ADDR}' tabindex='2' size='25' maxlength='{$MRKT_FROM_NAME_LEN}' type="text" value="{$MRKT_FROM_ADDR}"><br> <span class="helpmsg">{$MOD.LBL_FROM_ADDR_HELP}</span> </div> <div class="clear"></div> <div class="wizard-box"> <label>{$MOD.LBL_REPLY_NAME}</label><br> <input name='wiz_step3_reply_to_name' id='reply_name' title='{$MOD.LBL_REPLY_NAME}' tabindex='2' size='25' maxlength='{$MRKT_REPLY_NAME_LEN}' type="text" value="{$MRKT_REPLY_NAME}"><br> <span class="helpmsg">{$MOD.LBL_REPLY_TO_NAME_HELP}</span> </div> <div class="wizard-box"> <label>{$MOD.LBL_REPLY_ADDR}</label><br> <input name='wiz_step3_reply_to_addr' id='reply_addr' title='{$MOD.LBL_REPLY_ADDR}' tabindex='2' size='25' maxlength='{$MRKT_REPLY_ADDR_LEN}' type="text" value="{$MRKT_REPLY_ADDR}"><br> <span class="helpmsg">{$MOD.LBL_REPLY_TO_ADDR_HELP}</span> </div> </div> </div> </div> <table border="0" cellpadding="0" cellspacing="0" width="100%" class='edit view'> <tr style="display: none;"> <td scope="col" NOWRAP valign="top"><slot>{$MOD.LBL_MESSAGE_FOR} <span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></slot></td> <td class="datafield"><slot><input type="checkbox" tabindex='1' onclick="toggle_message_for(this);" id="all_prospect_lists" {$ALL_PROSPECT_LISTS_CHECKED} name='all_prospect_lists' title="{$MOD.LBL_MESSAGE_FOR}">{$MOD.LBL_ALL_PROSPECT_LISTS}</slot></td> </tr> <tr style="display: none;"> <td NOWRAP valign="top"><slot>&nbsp;</slot></td> <td width="35%" class="datafield"><slot><select {$MESSAGE_FOR_DISABLED} tabindex='1' multiple size="5" id="message_for" name='message_for[]' title="{$MOD.LBL_MESSAGE_FOR}">{$SCOPE_OPTIONS}</select></slot></td> <td NOWRAP valign="top"><slot>&nbsp;</slot></td> <td><slot>&nbsp;</slot></td> </tr> </table> {literal} <script type="text/javascript"> /* Calendar.setup ({{/literal} inputField : "date_start", ifFormat : "{$CALENDAR_DATEFORMAT}", showsTime : false, button : "jscal_trigger", singleClick : true, step : 1 {literal}}); */ // function show_edit_template_link(field) { // // var field1=document.getElementById('edit_template'); // if (field.selectedIndex == 0) { // field1.style.visibility="hidden"; // } // else { // field1.style.visibility="visible"; // } // } function refresh_email_template_list(template_id, template_name) { var field=document.getElementById('template_id'); var bfound=0; for (var i=0; i < field.options.length; i++) { if (field.options[i].value == template_id) { if (field.options[i].selected==false) { field.options[i].selected=true; } field.options[i].text = template_name; bfound=1; } } //add item to selection list. if (bfound == 0) { var newElement=document.createElement('option'); newElement.text=template_name; newElement.value=template_id; field.options.add(newElement); newElement.selected=true; } //enable the edit button. var field1=document.getElementById('edit_template'); field1.style.visibility="visible"; } function open_email_template_form() { {/literal} URL="index.php?module=EmailTemplates&action=EditView&campaign_id={$CAMPAIGN_ID}"; URL+="&sugar_body_only=1"; {literal} windowName = 'email_template'; windowFeatures = 'width=800' + ',height=600' + ',resizable=1,scrollbars=1'; win = window.open(URL, windowName, windowFeatures); if(window.focus) { // put the focus on the popup if the browser supports the focus() method win.focus(); } } function edit_email_template_form() { {/literal} var field=document.getElementById('template_id'); URL="index.php?module=EmailTemplates&action=EditView&campaign_id={$CAMPAIGN_ID}"; URL+="&sugar_body_only=1"; {literal} if (field.options[field.selectedIndex].value != 'undefined') { URL+="&record="+field.options[field.selectedIndex].value; } windowName = 'email_template'; windowFeatures = 'width=800' + ',height=600' + ',resizable=1,scrollbars=1'; win = window.open(URL, windowName, windowFeatures); if(window.focus) { // put the focus on the popup if the browser supports the focus() method win.focus(); } } function toggle_message_for(all_prospects_checkbox) { message_for = document.getElementById('message_for'); if (all_prospects_checkbox.checked) { message_for.disabled=true; } else { message_for.disabled=false; } } {/literal} var from_emails=new Array({$FROM_EMAILS}); {literal} function set_from_email_and_name(mailbox) { from_email_span = document.getElementById('from_email'); from_name = document.getElementById('from_name'); for (i=0; i<=from_emails.length; i++) { if ((mailbox.value == '' && from_emails[i] =='EMPTY') || from_emails[i] == mailbox.value) { var j=i+1; from_email_span.innerHTML=from_emails[j+1]; if (from_name.value=='') { from_name.value=from_emails[j]; } return; } } } {/literal} // cn: bug 12587 - allow setting of Reply-to X from campaigns var ie_stored_options = {$IEStoredOptions}; {literal} function set_from_reply_info(mailbox) { var fn = document.getElementById('from_name'); var fa = document.getElementById('from_addr'); var rn = document.getElementById('reply_name'); var ra = document.getElementById('reply_addr'); if(mailbox.value != '') { if(ie_stored_options[mailbox.value]) { var focusIe = ie_stored_options[mailbox.value]; // from name if(focusIe.from_name && focusIe.from_name != "") fn.value = focusIe.from_name; else fn.value = ''; // from addr if(focusIe.from_addr && focusIe.from_addr != "") fa.value = focusIe.from_addr; else fa.value = ''; // reply name if(focusIe.reply_to_name && focusIe.reply_to_name != "") rn.value = focusIe.reply_to_name; else rn.value = ''; // reply add if(focusIe.reply_to_addr && focusIe.reply_to_addr != "") ra.value = focusIe.reply_to_addr; else ra.value = ''; } } else { fn.value = ''; fa.value = ''; rn.value = ''; ra.value = ''; } } </script> {/literal} {if $MAILBOXES_DEAULT} <script type="text/javascript"> set_from_reply_info({ldelim}value:"{$MAILBOXES_DEAULT}"{rdelim}); </script> {/if} </div> <div id='step3' data="summary-page" class="template-panel step3"> <div class="template-panel-container panel"> <div class="template-container-full"> <h4 class="header-4" style="border-bottom: solid 1px #eee;padding-bottom: 8px">{$MOD.LBL_SUMMARY}</h4> <div class="clear">&nbsp;</div> {if $campaign_type=='NewsLetter' || $campaign_type=='Email'} <div class="form-group"> <label>{$MOD.LBL_WIZ_SENDMAIL_TITLE}</label> <select id="marketing_select" class="form-control input-sm"></select> {* {$MOD.LBL_WIZ_EMAILTPL_TITLE} <select id="template_select"> {$EMAIL_TEMPLATE_OPTIONS} </select> *} {literal} <script type="text/javascript"> var refreshMarketingSelect = function() { var marketingSelectValue = '{/literal}{$EmailMarketingId}{literal}'; if($('#marketing_select').val()){ marketingSelectValue = $('#marketing_select').val(); } $.get('index.php?entryPoint=emailMarketingList&campaign_id={/literal}{$CAMPAIGN_ID}{literal}', function(resp){ resp = JSON.parse(resp); if(resp.error) { // todo: show error console.log(error); } else { $('#marketing_select').html(''); if(marketingSelectValue == '' && typeof resp.selectedId != 'undefined' && resp.selectedId) { marketingSelectValue = resp.selectedId; } for(var i=0; i<resp.data.length; i++) { var elem = resp.data[i]; var selected = ''; if(elem.id == marketingSelectValue) { selected = ' selected="selected"'; } $('#marketing_select').append('<option value="' + elem.id + '"' + selected + '>' + elem.name + '</option>'); } saveMarketingAndTemplate('getTemplateValidation'); } }); }; var saveMarketingAndTemplate = function(func) { if(typeof func == 'undefined') { func = null; } var campaignId = '{/literal}{$CAMPAIGN_ID}{literal}'; var marketingId = $('#marketing_select').val(); //var templateId = $('#template_select').val(); $.post('index.php?entryPoint=setCampaignMarketingAndTemplate', { 'campaignId': campaignId, 'marketingId': marketingId, 'func': func //'templateId': templateId }, function(resp){ resp = JSON.parse(resp); $('#alert_messages').html(''); $.each(resp.templateValidationMessages, function(i, msg){ $('#alert_messages').append('<font color="red">' + SUGAR.language.translate('Campaigns', msg) + '</forn><br>'); }); $('#marketing_status_lnk').removeAttr('title'); $('#marketing_status_btn').removeClass('fail'); if(!$('#marketing_status_btn').hasClass('ok')) { $('#marketing_status_btn').addClass('ok'); } if(!$.isEmptyObject(resp.marketingValidationMessages)) { $('#marketing_status_lnk').attr(SUGAR.language.translate('EmailMarketing', 'LBL_ERROR_ON_MARKETING')); $('#marketing_status_btn').removeClass('ok'); if(!$('#marketing_status_btn').hasClass('fail')) { $('#marketing_status_btn').addClass('fail'); } } $('#marketing_errors').html(''); $.each(resp.marketingValidationMessages, function(i, msg){ $('#marketing_errors').append(SUGAR.language.translate('Campaigns', msg) + '<br>'); }); }); }; $(function(){ refreshMarketingSelect(); $('#marketing_select').change(function(){ saveMarketingAndTemplate('getTemplateValidation'); }); /* $('#template_select').change(function(){ saveMarketingAndTemplate(); }); */ }); </script> {/literal} </div> {/if} </div> </div> <div class="template-panel-container panel-toolbar "> <div class="template-container-full"> <h4 class="header-4" style="border-bottom: solid 1px #eee;padding-bottom: 8px">{$MOD.LBL_CAMPAIGN_CHECKLIST}</h4> <div class="clear">&nbsp;</div> <div style="margin-bottom: 16px;"> {if $WARNING_MESSAGE} <div id='target_message' class="target_messege"><font color='red'><b>{$WARNING_MESSAGE}</b></font></div> <br class="emptyRow"> {/if} <div id="alert_messages" class="alert_message"></div> {if $diagnose} {$diagnose} <br class="emptyRow"> {/if} <div id="marketing_errors" class="error"> {if $error_on_marketing_name}{$error_on_marketing_name}<br>{/if} {if $error_on_marketing_inbound_email_id}{$error_on_marketing_inbound_email_id}<br>{/if} {if $error_on_marketing_date_start}{$error_on_marketing_date_start}<br>{/if} {if $error_on_marketing_from_name}{$error_on_marketing_from_name}<br>{/if} {if $error_on_marketing_from_addr}{$error_on_marketing_from_addr}<br>{/if} </div> </div> <ul> <li class="li-tick"><a href="{$link_to_campaign_header}">{$MOD.LBL_CAMPAIGN_DETAILS_AND_CONDITIONS}</a></li> <li class="{if $error_on_target_list}li-cross{else}li-tick{/if}"><a href="{$link_to_target_list}">{$MOD.LBL_CHOOSE_TARGETS}</a></li> {if $campaign_type=='NewsLetter' || $campaign_type=='Email'} <li class="{if $error_on_templates}li-cross{else}li-tick{/if}"><a href="{$link_to_choose_template}">{$MOD.LBL_CHOOSE_TEMPLATES}</a></li> <li class="{if $error_on_marketing}li-cross{else}li-tick{/if}"><a id="marketing_status_lnk" href="{$link_to_sender_details}">{$MOD.LBL_SENDER_DETAILS}</a></li> <li class="{if $error_on_scheduler2 || $error_on_mailbox2}li-cross{else}li-tick{/if}"><a href="{$link_to_scheduler}{if !$link_to_scheduler}{$link_to_email}{/if}">{$MOD.LBL_PROCESS_CAMPAIGN_EMAILS}</a></li> <li class="{if $error_on_scheduler1 || $error_on_mailbox1}li-cross{else}li-tick{/if}"><a href="{$link_to_scheduler}{if !$link_to_scheduler}{$link_to_email}{/if}">{$MOD.LBL_PROCESS_BOUNCED_EMAILS}</a></li> {/if} </ul> </div> </div> <div class="template-panel-container panel-toolbar "> <div class="template-container-full"> <div class="button-group"> <input type="hidden" name="wiz_home_next_step" value="1" /> <a class="btn {if $PL_DISABLED}btn-default{else}btn-primary{/if} btn-sm" style="border-radius: 0px;" {if $PL_DISABLED} {else}href="javascript:;" onclick="onScheduleClick(this, '{$CAMPAIGN_ID}', $('#marketing_select').val());"{/if}> <img src="themes/default/images/cmpwzrd/wallclock.png" style="height: 18px; width: auto;"> {$MOD.LBL_SEND_EMAIL} </a> <a class="btn {if $PL_DISABLED_TEST}btn-default{else}btn-primary{/if} btn-sm" style="border-radius: 0px;" {if $PL_DISABLED_TEST} {else}href="javascript:;" onclick="onSendAsTestClick(this, '{$CAMPAIGN_ID}', $('#marketing_select').val());"{/if}> <img src="themes/default/images/cmpwzrd/email167.png" style="height: 18px; width: auto;"> {$MOD.LBL_SEND_AS_TEST} </a> </div> <div class="button-group-seperator"></div> <div class="button-group"> <a class="btn btn-primary btn-sm" href="index.php?module=Campaigns&action=DetailView&record={$CAMPAIGN_ID}" style="border-radius: 0px;">{$MOD.LBL_TODETAIL_BUTTON_TITLE}</a> </div> {if !$PL_DISABLED} <div class="button-group"> <a class="btn btn-primary btn-sm" href="index.php?module=Campaigns&action=TrackDetailView&record={$CAMPAIGN_ID}" style="border-radius: 0px;">{$MOD.LBL_TRACK_BUTTON_LABEL}</a> <a class="btn btn-primary btn-sm" href="index.php?module=Campaigns&action=RoiDetailView&record={$CAMPAIGN_ID}" style="border-radius: 0px;">{$MOD.LBL_TRACK_ROI_BUTTON_LABEL}</a> </div> {/if} </div> </div> </div> </div> </td> </tr> </table> {literal} <script language="javascript"> function determine_back(){ {/literal} var current_step = document.getElementById('wiz_current_step').value; var total_steps = document.getElementById('wiz_total_steps').value; {literal} if(current_step == 1){ {/literal} document.getElementById('action').value='WizardNewsletter'; document.getElementById('record').value='{$CAMPAIGN_ID}'; document.getElementById('return_id').value='{$CAMPAIGN_ID}'; document.getElementById('direct_step').value='4'; document.getElementById('wizform').submit(); {literal} }else{ if (current_step == 2) { document.getElementById('wiz_current_step').value = 1; navigate('direct'); } else { navigate('back'); } } changeNextBtnLabel(); } </script> {/literal} </form> <div id="step1_uploader" style="display: none;"> <div class="template-container-attachment panel"> <table> <!-- BEGIN: NoInbound2 --> <tr> <td valign="top" scope="row"> {$MOD.LBL_ATTACHMENTS}: </td> <td colspan="2" nowrap id="attachments_container"> {$ATTACHMENTS} </td> </tr> <!-- END: NoInbound2 --> </table> {$ATTACHMENTS_JAVASCRIPT} <!-- BEGIN: NoInbound3 --> <form id="upload_form" name="upload_form" method="POST" action="index.php?entryPoint=emailTemplateData&func=uploadAttachments" enctype="multipart/form-data"> <!-- action='AttachDocuments.php' --> <input type="submit" style="display:none;"> <div id="upload_div"> <input type="file" id="my_file" name="file_1" size="40" /> <input type="hidden" id="documentName" name="uploaddoc" onchange="docUpload(); form_reset_doc();" size="1" /> <input type="hidden" id="documentId" name="seldoc" tabindex="0" /> <input type="hidden" id="docRevId" name="seldoc" tabindex="0" /> <input type="hidden" id="documentType" name="seldoc" tabindex="0" /> <input type="button" name="add_doc" id="add_doc" onclick="selectDoc();" value='{$MOD.LBL_SUGAR_DOCUMENT}' class="button" /> <input type="hidden" name="attach_to_template_id" id="attach_to_template_id" value="{$TEMPLATE_ID}"> <input type="hidden" name="campaign_id" value="{$CAMPAIGN_ID}"> <!-- <input type="hidden" name="attach_to_marketing_id" id="attach_to_marketing_id" value="{$MRKT_ID}"> --> </div> <div id="attachments_div"> </div> </form> </div> <!-- END: NoInbound3 --> </div> <script type="text/javascript" src="modules/Emails/javascript/Email.js"></script> {literal} <script type="text/javascript"> $(function(){ setInterval(function(){ // show uploader form below template form only $('#step1_uploader').css('display', $('#step1').css('display')); // hide cancel and save button on summary page $('#wiz_cancel_button').css('display', $('#step3').css('display') == 'block' ? 'none' : 'block'); $('#wiz_submit_button').css('display', $('#step3').css('display') == 'block' ? 'none' : 'block'); }, 300); }); var multi_selector = new multiFiles(document.getElementById('upload_div')); multi_selector.addElement( document.getElementById('my_file')); </script> {/literal} </div> {sugar_getscript file="modules/Campaigns/wizard.js"} {$WIZ_JAVASCRIPT} {$DIV_JAVASCRIPT} {$JAVASCRIPT} <script language="javascript"> // link_navs(); //addToValidate('wizform', 'name', 'alphanumeric', true, document.getElementById('name').title); addToValidate('wizform', 'marketing_name', 'alphanumeric', true, document.getElementById('marketing_name').title); //addToValidate('wizform', 'date_start', 'alphanumeric', true, document.getElementById('date_start').title); addToValidate('wizform', 'inbound_email_id', 'alphanumeric', true, document.getElementById('inbound_email_id').title); {literal} function getParameterByName(name, url) { if (!url) url = window.location.href; name = name.replace(/[\[\]]/g, "\\$&"); var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"), results = regex.exec(url); if (!results) return null; if (!results[2]) return ''; return decodeURIComponent(results[2].replace(/\+/g, " ")); } var jumpToPageByURL = function() { var jump = getParameterByName('jump'); var func = getParameterByName('func'); if(func == 'createEmailMarketing') { jump = 1; } var jumpToPage = function(jump, noValidation) { if(typeof noValidation == 'undefined') { noValidation = false; } var i=0; while (jump != document.getElementById('wiz_current_step').value && i<100) { var currentStep = document.getElementById('wiz_current_step').value; if(document.getElementById('wiz_current_step').value > document.getElementById('wiz_total_steps').value) { break; } navigate('next', noValidation, true); i++; if(document.getElementById('wiz_current_step').value == currentStep) { break; } } changeNextBtnLabel(); }; if(jump != null) { var campaignType = getParameterByName('campaign_type'); var showWizardMarketing = getParameterByName('show_wizard_marketing'); if(jump == 1 && func == 'createEmailMarketing') { jumpToPage(jump, true); } else if(jump == 3 && showWizardMarketing && campaignType != 'Email') { jumpToPage(jump, true); } else { if (jump == 2) { var templateId = getParameterByName('template_id'); onEmailTemplateChange(document.getElementById('template_id'), '{/literal}{$MOD.LBL_COPY_OF}{literal}', templateId, function () { jumpToPage(jump); }); } else { jumpToPage(jump); } } // while (jump != document.getElementById('wiz_current_step').value && i<100) { // if(document.getElementById('wiz_current_step').value > document.getElementById('wiz_total_steps').value) { // break; // } // navigate('next'); // i++; // } } else { $('#step1').show(); } }; var createEmptyMarketing = function(){ saveMarketingAndTemplate('createEmailMarketing'); }; $(function(){ jumpToPageByURL(); if($('#func').val() == "createEmailMarketing" && parseInt($('.nav-steps.selected').attr('data-nav-step')) == 3) { createEmptyMarketing(); // setTimeout(function() { // onSaveCopyMarketingEmailTemplate(function () { // if (hasNewAttachments()) { // submitMarketingEmailAttachments(function(){ // onNext(); // wizardMenuSetStepLink(4); // }); // } //// else { //// onNext(); //// wizardMenuSetStepLink(4); //// } // }); // }, 300); }; }); {/literal} </script> {if $hideScreen}</div>{/if} <link rel="stylesheet" type="text/css" href="modules/EmailTemplates/EmailTemplate.css"> <script src="include/javascript/moment.min.js"></script>
samples/AXGrid/viewMode.html
thomasJang/axisj
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1.0, minimum-scale=1" /> <title>AXGrid(viewMode) - AXISJ</title> <link rel="shortcut icon" href="../../ui/axisj.ico" type="image/x-icon" /> <link rel="icon" href="../../ui/axisj.ico" type="image/x-icon" /> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../ui/AXJ.png" /> <link rel="apple-touch-icon-precomposed" href="../../ui/AXJ.png" /> <meta property="og:image" content="/samples/_img/axisj_sns.png" /> <meta property="og:site_name" content="Axis of Javascript - axisj.com" /> <meta property="og:description" id="meta_description" content="Javascript UI Library based on JQuery" /> <!-- css block --> <link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="../../ui/arongi/page.css"> <link rel="stylesheet" type="text/css" href="../../ui/arongi/AXJ.min.css"> <script type="text/javascript" src="../../jquery/jquery.min.js"></script> <script type="text/javascript" src="../../dist/AXJ.min.js"></script> <script type="text/javascript" src="../../lib/AXGrid.js"></script> <script type="text/javascript" src="../page.js"></script> <script type="text/javascript" src="pageTab.js"></script> <!-- js block --> <!-- prettify block --> <link type="text/css" rel="stylesheet" href="http://newdoc.axisj.com/styles/prettify-tomorrow.css"> <script src="http://newdoc.axisj.com/scripts/prettify/prettify.js"></script> <script src="http://newdoc.axisj.com/scripts/prettify/lang-css.js"></script> <!-- prettify block --> <script id="jscode"> /** * Require Files for AXISJ UI Component... * Based : jQuery * Javascript : AXJ.js, AXGrid.js, AXInput.js, AXSelect.js * CSS : AXJ.css, AXGrid.css, AXButton.css, AXInput.css, AXSelector.css */ var pageID = "viewMode"; var myGrid = new AXGrid(); var itemSum = 0; var fnObj = { pageStart: function(){ myGrid.setConfig({ targetID : "AXGridTarget", theme : "AXGrid", viewMode: "icon", // ["grid","icon","mobile"] //viewMode: "mobile", // 브라우저 사이즈에 따른 changeGridView 설정 /* mediaQuery: { mx:{min:0, max:600}, dx:{min:600} }, */ colGroup : [ {key:"no", label:"번호", width:"40", align:"center", formatter:"money"}, {key:"title", label:"제목", width:"200"}, {key:"writer", label:"작성자", width:"100", align:"center"}, {key:"regDate", label:"작성일", width:"100", align:"center"}, {key:"price", label:"가격", width:"100", align:"right", formatter:"money"}, {key:"amount", label:"수량", width:"80", align:"right", formatter:"money"}, {key:"cost", label:"금액", width:"100", align:"right", formatter:function(){ return (this.item.price.number() * this.item.amount.number()).money(); }}, { key: "descSeq", label: "desc", width: "40", align:"center", formatter:function(){ return (this.list.length - this.index) + ( ( this.page.pageNo - 1) * this.page.pageSize ); } }, { key: "ascSeq", label: "asc", width: "40", align:"center", formatter:function(){ return (this.index + 1) + ( ( this.page.pageNo - 1) * this.page.pageSize ); } }, {key:"desc", label:"비고", width:"*"} ], body : { onclick: function(){ //toast.push(Object.toJSON({index:this.index, item:this.item})); //alert(this.list); //alert(this.page); }, ondblclick: function(){ toast.push(Object.toJSON({index:this.index, item:this.item})); //alert(this.list); //alert(this.page); } }, /* view: { label:true, column: [ // col 은 4 {key:"title", label:"제목", col:4, addClass:"underLine"}, {key:"no", label:"번호", col:2, align:"right"}, {key:"writer", label:"작성자", col:2, align:"center"}, {key:"img", label:"이미지", col:null, align:"center"}, {key:"category", label:"카테고리", align:"center"}, {key:"date", label:"일자", align:"center"} ], buttons: [ {addClass:"", onclick:function(){ }}, {addClass:"", onclick:function(){ }} ] }, */ view: { // 속성이 없을때 예외 처리 마지막에 구현 width:"200", height:"300", img: {left:"10", top:"10", width:"179", height:"180",style:"border:1px solid #ccc;"}, label:{left:"10", top:"200", width:"180", height:"20"}, description: {left:"10", top:"225", width:"180", height:"65", style:"color:#888;"}, buttons: { left:"5", top:"5", width:"180", height:"20", style:"", items:[ {label:"but1", style:"", addClass:"AXButton Green", onclick:function(){ fnObj.otherFunction(this); }}, {label:"but2", style:"", addClass:"AXButton", onclick:function(){ fnObj.otherFunction(this); }} ] }, format: function(){ return { imgsrc : this.item.img, label : this.item.title, description : this.item.writer+", "+this.item.no+" / " + (this.item.desc || "") } } }, page:{ paging:true, pageNo:1, pageSize:100 } }); /* var list = [ {no:1, title:"AXGrid 첫번째 줄 입니다.AXGrid 첫번째 줄 입니다.AXGrid 첫번째 줄 입니다.", writer:"장기영", img:"img/1.jpg", desc:"많은 글을 담고 있는 내용 입니다. 자연스럽게 줄이 넘어가고 표현되는 것이 관건 입니다.", category:"액시스제이", date:"2014-04-02" }, // item {no:2, title:"AXGrid 두번째 줄 입니다.", writer:"장기영", img:"img/2.jpg", category:"액시스제이", date:"2014-04-02"}, {no:3, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/3.jpg", category:"액시스제이", date:"2014-04-02"}, {no:4, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/4.jpg", category:"액시스제이", date:"2014-04-02"}, {no:5, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/5.jpg", category:"액시스제이", date:"2014-04-02"}, {no:6, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/6.jpg", category:"액시스제이", date:"2014-04-02"}, {no:7, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/7.jpg", category:"액시스제이", date:"2014-04-02"}, {no:8, title:"AXGrid 첫번째 줄 입니다.", writer:"장기영", img:"img/8.jpg", category:"액시스제이", date:"2014-04-02"}, {no:9, title:"AXGrid 두번째 줄 입니다.", writer:"장기영", img:"img/9.jpg", category:"액시스제이", date:"2014-04-02"}, {no:10, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/10.jpg", category:"액시스제이", date:"2014-04-02"}, {no:11, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/11.jpg", category:"액시스제이", date:"2014-04-02"}, {no:12, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/12.jpg", category:"액시스제이", date:"2014-04-02"}, {no:13, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/13.jpg", category:"액시스제이", date:"2014-04-02"}, {no:14, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/14.jpg", category:"액시스제이", date:"2014-04-02"}, {no:15, title:"AXGrid 두번째 줄 입니다.", writer:"장기영", img:"img/15.jpg", category:"액시스제이", date:"2014-04-02"}, {no:16, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/16.jpg", category:"액시스제이", date:"2014-04-02"}, {no:17, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/17.jpg", category:"액시스제이", date:"2014-04-02"}, {no:18, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/18.jpg", category:"액시스제이", date:"2014-04-02"}, {no:19, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/19.jpg", category:"액시스제이", date:"2014-04-02"}, {no:20, title:"AXGrid 세번째 줄 입니다.", writer:"장기영", img:"img/20.jpg", category:"액시스제이", date:"2014-04-02"} ]; myGrid.setList(list); */ myGrid.setList({ ajaxUrl:"loadGrid.php", ajaxPars:"", onLoad:function(){ //trace(this); } }); }, otherFunction: function(reqThis){ toast.push(reqThis.buttonItem.label+"//"+Object.toJSON(reqThis.item)); }, changeView: function(viewMode){ if(viewMode == "grid"){ myGrid.changeGridView({ viewMode:viewMode }); }else if(viewMode == "icon"){ myGrid.changeGridView({ viewMode:viewMode, view: { // 속성이 없을때 예외 처리 마지막에 구현 width:"200", height:"300", img: {left:"10", top:"10", width:"179", height:"180",style:"border:1px solid #ccc;"}, label:{left:"10", top:"200", width:"180", height:"20"}, description: {left:"10", top:"225", width:"180", height:"65", style:"color:#888;"}, buttons: { left:"5", top:"5", width:"180", height:"20", style:"", items:[ {label:"but1", style:"", addClass:"AXButton Green", onclick:function(){ fnObj.otherFunction(this); }}, {label:"but2", style:"", addClass:"AXButton", onclick:function(){ fnObj.otherFunction(this); }} ] }, format: function(){ return { imgsrc : this.item.img, label : this.item.title, description : this.item.writer+", "+this.item.no+" / " + (this.item.desc || "") } } } }); }else if(viewMode == "mobile"){ myGrid.changeGridView({ viewMode:viewMode, view: { column: [ // col 은 4 {key:"title", label:"제목", col:4, addClass:"underLine"}, {key:"no", label:"번호", col:2, align:"right"}, {key:"writer", label:"작성자", col:2, align:"center"}, {key:"img", label:"이미지", col:null, align:"center"}, {key:"category", label:"카테고리", align:"center"}, {key:"date", label:"일자", align:"center"} ] } }); myGrid.changeGridView({ viewMode:viewMode }); } } }; jQuery(document.body).ready(function() { fnObj.pageStart(); }); </script> <style type="text/css"> </style> </head> <body> <div id="AXPage"> <div id="AXPageBody" class="SampleAXSelect"> <div id="demoPageTabTarget" class="AXdemoPageTabTarget"></div> <div class="AXdemoPageContent"> <div class="title"> <h1>AXGrid (viewMode)</h1> </div> <div style="padding:0px 5px 10px 5px;"> <button class="AXButton W60" onclick="fnObj.changeView('grid');">리스트</button> <button class="AXButton W60" onclick="fnObj.changeView('icon');">썸네일</button> <button class="AXButton W60" onclick="fnObj.changeView('mobile');">모바일</button> </div> <div id="AXGridTarget" style="height:600px;"></div> <div style="padding:10px;"></div> <pre id="pretty" class="prettyprint linenums"></pre> </div> </div> </div> </body> </html>
www/javadoc/platform/com/sun/jna/platform/unix/X11.Display.html
kohsuke/jna
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_11) on Tue Apr 06 11:27:12 EDT 2010 --> <TITLE> X11.Display </TITLE> <META NAME="date" CONTENT="2010-04-06"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="X11.Display"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/X11.Display.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../../../com/sun/jna/platform/unix/X11.Cursor.html" title="class in com.sun.jna.platform.unix"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../../../../../com/sun/jna/platform/unix/X11.Drawable.html" title="class in com.sun.jna.platform.unix"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/sun/jna/platform/unix/X11.Display.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="X11.Display.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_com.sun.jna.PointerType">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.sun.jna.platform.unix</FONT> <BR> Class X11.Display</H2> <PRE> java.lang.Object <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by ">com.sun.jna.PointerType <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.sun.jna.platform.unix.X11.Display</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD>com.sun.jna.NativeMapped</DD> </DL> <DL> <DT><B>Enclosing interface:</B><DD><A HREF="../../../../../com/sun/jna/platform/unix/X11.html" title="interface in com.sun.jna.platform.unix">X11</A></DD> </DL> <HR> <DL> <DT><PRE>public static class <B>X11.Display</B><DT>extends com.sun.jna.PointerType</DL> </PRE> <P> <HR> <P> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../../com/sun/jna/platform/unix/X11.Display.html#X11.Display()">X11.Display</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> </TABLE> &nbsp;<A NAME="methods_inherited_from_class_com.sun.jna.PointerType"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.sun.jna.PointerType</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString</CODE></TD> </TR> </TABLE> &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD> </TR> </TABLE> &nbsp; <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="X11.Display()"><!-- --></A><H3> X11.Display</H3> <PRE> public <B>X11.Display</B>()</PRE> <DL> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/X11.Display.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../../../com/sun/jna/platform/unix/X11.Cursor.html" title="class in com.sun.jna.platform.unix"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../../../../../com/sun/jna/platform/unix/X11.Drawable.html" title="class in com.sun.jna.platform.unix"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/sun/jna/platform/unix/X11.Display.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="X11.Display.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_com.sun.jna.PointerType">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
ttf/builds/windows/vc2008/index.html
AlexiaChen/ImageMagick_Cmake
<html> <header> <title> FreeType&nbsp;2 Project Files for VS.NET&nbsp;2008 </title> <body> <h1> FreeType&nbsp;2 Project Files for VS.NET&nbsp;2008 </h1> <p>This directory contains project files for Visual C++, named <tt>freetype.vcproj</tt>, and Visual Studio, called <tt>freetype.sln</tt>. It compiles the following libraries from the FreeType 2.5.2 sources:</p> <ul> <pre> freetype252.lib - release build; single threaded freetype252_D.lib - debug build; single threaded freetype252MT.lib - release build; multi-threaded freetype252MT_D.lib - debug build; multi-threaded</pre> </ul> <p>Be sure to extract the files with the Windows (CR+LF) line endings. ZIP archives are already stored this way, so no further action is required. If you use some <tt>.tar.*z</tt> archives, be sure to configure your extracting tool to convert the line endings. For example, with <a href="http://www.winzip.com">WinZip</a>, you should activate the <it>TAR file smart CR/LF Conversion</it> option. Alternatively, you may consider using the <tt>unix2dos</tt> or <tt>u2d</tt> utilities that are floating around, which specifically deal with this particular problem. <p>Build directories are placed in the top-level <tt>objs</tt> directory.</p> </body> </html>
pinot-server/src/main/resources/api/index.html
apucher/pinot
<!-- This is directly copied from Swagger repository and modified to change url variable --> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Swagger UI</title> <link rel="icon" type="image/png" href="swaggerui-dist/images/favicon-32x32.png" sizes="32x32" /> <link rel="icon" type="image/png" href="swaggerui-dist/images/favicon-16x16.png" sizes="16x16" /> <link href='swaggerui-dist/css/typography.css' media='screen' rel='stylesheet' type='text/css'/> <link href='swaggerui-dist/css/reset.css' media='screen' rel='stylesheet' type='text/css'/> <link href='swaggerui-dist/css/screen.css' media='screen' rel='stylesheet' type='text/css'/> <link href='swaggerui-dist/css/reset.css' media='print' rel='stylesheet' type='text/css'/> <link href='swaggerui-dist/css/print.css' media='print' rel='stylesheet' type='text/css'/> <script src='swaggerui-dist/lib/object-assign-pollyfill.js' type='text/javascript'></script> <script src='swaggerui-dist/lib/jquery-1.8.0.min.js' type='text/javascript'></script> <script src='swaggerui-dist/lib/jquery.slideto.min.js' type='text/javascript'></script> <script src='swaggerui-dist/lib/jquery.wiggle.min.js' type='text/javascript'></script> <script src='swaggerui-dist/lib/jquery.ba-bbq.min.js' type='text/javascript'></script> <script src='swaggerui-dist/lib/handlebars-4.0.5.js' type='text/javascript'></script> <script src='swaggerui-dist/lib/lodash.min.js' type='text/javascript'></script> <script src='swaggerui-dist/lib/backbone-min.js' type='text/javascript'></script> <script src='swaggerui-dist/swagger-ui.js' type='text/javascript'></script> <script src='swaggerui-dist/lib/highlight.9.1.0.pack.js' type='text/javascript'></script> <script src='swaggerui-dist/lib/highlight.9.1.0.pack_extended.js' type='text/javascript'></script> <script src='swaggerui-dist/lib/jsoneditor.min.js' type='text/javascript'></script> <script src='swaggerui-dist/lib/marked.js' type='text/javascript'></script> <script src='swaggerui-dist/lib/swagger-oauth.js' type='text/javascript'></script> <!-- Some basic translations --> <!-- <script src='lang/translator.js' type='text/javascript'></script> --> <!-- <script src='lang/ru.js' type='text/javascript'></script> --> <!-- <script src='lang/en.js' type='text/javascript'></script> --> <script type="text/javascript"> $(function () { var url = window.location.search.match(/url=([^&]+)/); if (url && url.length > 1) { url = decodeURIComponent(url[1]); } else { url = "/swagger.json"; } hljs.configure({ highlightSizeThreshold: 5000 }); // Pre load translate... if(window.SwaggerTranslator) { window.SwaggerTranslator.translate(); } window.swaggerUi = new SwaggerUi({ url: url, dom_id: "swagger-ui-container", supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'], onComplete: function(swaggerApi, swaggerUi){ if(typeof initOAuth == "function") { initOAuth({ clientId: "your-client-id", clientSecret: "your-client-secret-if-required", realm: "your-realms", appName: "your-app-name", scopeSeparator: " ", additionalQueryStringParams: {} }); } if(window.SwaggerTranslator) { window.SwaggerTranslator.translate(); } }, onFailure: function(data) { log("Unable to Load SwaggerUI"); }, docExpansion: "none", jsonEditor: false, defaultModelRendering: 'schema', showRequestHeaders: false }); window.swaggerUi.load(); function log() { if ('console' in window) { console.log.apply(console, arguments); } } }); </script> </head> <body class="swagger-section"> <div id='header'> <div class="swagger-ui-wrap"> <a id="logo" href="http://swagger.io"><img class="logo__img" alt="swagger" height="30" width="30" src="swaggerui-dist/images/logo_small.png" /><span class="logo__title">swagger</span></a> <form id='api_selector'> <div class='input'><input placeholder="http://example.com/api" id="input_baseUrl" name="baseUrl" type="text"/></div> <div id='auth_container'></div> <div class='input'><a id="explore" class="header__btn" href="#" data-sw-translate>Explore</a></div> </form> </div> </div> <div id="message-bar" class="swagger-ui-wrap" data-sw-translate>&nbsp;</div> <div id="swagger-ui-container" class="swagger-ui-wrap"></div> </body>
static/framework/smart/stylesheets/med_display.css
nich/smart_sample_apps
body {font-family: Calibri,Trebuchet,Verdana,Helvetica,Arial,sans-serif; margin: 0px;} #TheList {cursor: pointer; vertical-align: top; } #ExpandMeds {margin-top: -.35em; text-decoration: none; ouine: none; width: .5em; display: inline-block;} #MedList{ margin: 0px; border: 0px; padding: 0px;} .medtable, #MedDetails {border-collapse: collapse; font-size: .8em; font-family: Garamond,"Times New Roman"} .medtable TD {padding:0.5em;} .medtable TR {cursor: pointer;} .medtable TR:nth-child(even) {background:none repeat scroll 0 0 #EEEEEE;} .medtable TR:nth-child(odd) {background:none repeat scroll 0 0 #CCCCCC;} .medtable TR.selected {background:none repeat scroll 0 0 #AAC0CC;} .ui-widget{ font-size:1em; } .ui-autocomplete { height: 228px; overflow-y: scroll; overflow-x: hidden; font-size: 10px;} .delete_problem {font-size: .8em; font-weight: bold; color: #222222; text-decoration: none;} .delete_med {font-size: .8em; font-weight: bold; color: #222222; text-decoration: none;}
B2G/gecko/layout/reftests/table-bordercollapse/borderhandling-strict-ref.html
sergecodd/FireFox-OS
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <style> div {width: 50px; height: 50px;} </style> </head> <body> <table border=1><tbody><tr><td><div/></td></tr></tbody></table> </body> </html>
src/test/resources/test096.html
HtmlUnit/htmlunit-neko
<script> <![CDATA[ xhtml script content ]]> </script> <h1>Foo</h1>
docs/javadocs/org/jredis/ri/alphazero/util/package-use.html
zhangyunhua/jredis
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_16) on Sun Apr 12 19:39:56 EDT 2009 --> <TITLE> Uses of Package org.jredis.ri.alphazero.util </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../javadoc-stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="Uses of Package org.jredis.ri.alphazero.util"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/jredis/ri/alphazero/util/package-use.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Package<br>org.jredis.ri.alphazero.util</B></H2> </CENTER> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Packages that use <A HREF="../../../../../org/jredis/ri/alphazero/util/package-summary.html">org.jredis.ri.alphazero.util</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.jredis.ri.alphazero.util"><B>org.jredis.ri.alphazero.util</B></A></TD> <TD>Utility classes to support this implementation.&nbsp;</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.jredis.ri.alphazero.util"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Classes in <A HREF="../../../../../org/jredis/ri/alphazero/util/package-summary.html">org.jredis.ri.alphazero.util</A> used by <A HREF="../../../../../org/jredis/ri/alphazero/util/package-summary.html">org.jredis.ri.alphazero.util</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><B><A HREF="../../../../../org/jredis/ri/alphazero/util/class-use/Log.Category.html#org.jredis.ri.alphazero.util"><B>Log.Category</B></A></B> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/jredis/ri/alphazero/util/package-use.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
extensions/amp-carousel/0.1/amp-carousel.css
techhtml/amphtml
/** * Copyright 2015 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software' * distributed under the License is distributed on an "AS-IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ amp-carousel { } /** * `amp-carousel-slide` class is added to every item in the carousel to * allow page authors to target items for user-defined styling. * Every `<amp-carousel>'s` immediate child is considered a slide in * the carousel. */ .amp-carousel-slide > .i-amphtml-replaced-content { /* * Apply contain object-fit to all replaced content to avoid distorted ratios. */ object-fit: contain; } .amp-carousel-button { position: absolute; box-sizing: border-box; top: 50%; height: 34px; width: 34px; border-radius: 2px; opacity: 0; pointer-events: all; background-color: rgba(0, 0, 0, .5); background-position: 50% 50%; background-repeat: no-repeat; transform: translateY(-50%); visibility: hidden; z-index: 10; } amp-carousel[controls] .amp-carousel-button, .amp-mode-mouse .amp-carousel-button { opacity: 1; visibility: visible; } .amp-carousel-button-prev { left: 16px; background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="#fff" viewBox="0 0 18 18"><path d="M15 8.25H5.87l4.19-4.19L9 3 3 9l6 6 1.06-1.06-4.19-4.19H15v-1.5z"/></svg>'); background-size: 18px 18px; } .amp-carousel-button-next { right: 16px; background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="#fff" viewBox="0 0 18 18"><path d="M9 3L7.94 4.06l4.19 4.19H3v1.5h9.13l-4.19 4.19L9 15l6-6z"/></svg>'); background-size: 18px 18px; } .i-amphtml-carousel-button-start-hint .amp-carousel-button:not(.amp-disabled) { animation: i-amphtml-carousel-hint 1s ease-in 3s 1 normal both; } .amp-mode-mouse .i-amphtml-carousel-button-start-hint .amp-carousel-button:not(.amp-disabled) { animation: none; } @keyframes i-amphtml-carousel-hint { 0% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } } amp-carousel .amp-carousel-button.amp-disabled { animation: none; opacity: 0; visibility: hidden; } /* Begin SlideScroll */ .i-amphtml-slidescroll { } .i-amphtml-slides-container { display: flex !important; flex-wrap: nowrap; height: 100% !important; left: 0; overflow-x: auto !important; overflow-y: hidden !important; position: absolute !important; top: 0; width: 100% !important; scroll-snap-type: x mandatory !important; /** * Hide the scrollbar by tucking it under some padding * which gets cut off as it overflows the parent. * The exact size of the padding does not matter as long as it is * larger than the height of the scrollbar. 20px is large enough to cover * both desktop and mobile scrolbar sizes in different browsers. * This relies on content box-sizing, although that's the default * we still ensure it does not get overwritten. */ padding-bottom: 20px !important; box-sizing: content-box !important; -webkit-overflow-scrolling: touch !important; } /** * Make sure the scrollbar does not take up space on desktop, which will cause * the bottom of the slides to be cutoff. Padding + overflow is used to hide * the scrollbars for all browsers. * TODO(sparhami) Find a solution for the clipping on all browsers. */ .i-amphtml-slides-container::-webkit-scrollbar { display: none !important; } /** Only hide scroll bar for touch devices as it causes jitters on desktops */ .i-amphtml-slides-container.i-amphtml-no-scroll { overflow-x: hidden !important; } .i-amphtml-slide-item { align-items: center !important; display: none !important; flex: 0 0 100% !important; height: 100% !important; justify-content: center !important; position: relative !important; scroll-snap-align: start !important; width: 100% !important; } .i-amphtml-slide-item > * { height: 100%; width: 100%; overflow: hidden !important; } .i-amphtml-slide-item-show { display: flex !important; } .i-amphtml-carousel-start-marker, .i-amphtml-carousel-end-marker { background-color: transparent !important; display: block !important; flex: 0 0 1px !important; height: 100% !important; position: relative !important; scroll-snap-align: start !important; width: 1px !important; } .i-amphtml-carousel-start-marker { order: -1 !important; margin-left: -1px !important; } .i-amphtml-carousel-end-marker { order: 100000000 !important; margin-right: -1px !important; } .i-amphtml-slidescroll-no-snap.i-amphtml-slides-container { scroll-snap-type: none !important; } .i-amphtml-slidescroll-no-snap .i-amphtml-slide-item { scroll-snap-align: none !important; } .i-amphtml-slidescroll-no-snap.i-amphtml-slides-container.i-amphtml-no-scroll { -webkit-overflow-scrolling: auto !important; } /* End SlideScroll */ /* Begin ScrollableCarousel */ .amp-scrollable-carousel-slide { display: inline-block !important; margin-left: 8px; } .amp-scrollable-carousel-slide:first-child { margin-left: 0px; } .i-amphtml-scrollable-carousel-container { white-space: nowrap !important; overflow-x: auto !important; overflow-y: hidden !important; -webkit-overflow-scrolling: touch !important; } /* End ScrollableCarousel */
docs/quickstart.html
smeggingsmegger/PyDrive
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Quickstart &mdash; PyDrive 1.0.0 documentation</title> <link rel="stylesheet" href="_static/default.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '', VERSION: '1.0.0', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="_static/jquery.js"></script> <script type="text/javascript" src="_static/underscore.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <link rel="top" title="PyDrive 1.0.0 documentation" href="index.html" /> <link rel="next" title="OAuth made easy" href="oauth.html" /> <link rel="prev" title="Welcome to PyDrive’s documentation!" href="index.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="oauth.html" title="OAuth made easy" accesskey="N">next</a> |</li> <li class="right" > <a href="index.html" title="Welcome to PyDrive’s documentation!" accesskey="P">previous</a> |</li> <li><a href="index.html">PyDrive 1.0.0 documentation</a> &raquo;</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="quickstart"> <h1>Quickstart<a class="headerlink" href="#quickstart" title="Permalink to this headline">¶</a></h1> <div class="section" id="authentication"> <h2>Authentication<a class="headerlink" href="#authentication" title="Permalink to this headline">¶</a></h2> <p>Drive API requires OAuth2.0 for authentication. <em>PyDrive</em> makes your life much easier by handling complex authentication steps for you.</p> <ol class="arabic simple"> <li>Go to <a class="reference external" href="https://code.google.com/apis/console">APIs Console</a> and make your own project.</li> <li>On &#8216;Services&#8217; menu, turn <em>Drive API</em> on.</li> <li>On &#8216;API Access&#8217; menu, create OAuth2.0 client ID.</li> </ol> <blockquote> <div><ol class="loweralpha simple"> <li>Select &#8216;Application type&#8217; to be <em>Web application</em>.</li> <li>Click on &#8216;more options&#8217; in hostname settings</li> <li>Input <em>http://localhost:8080/</em> for both &#8216;Redirect URIs&#8217; and &#8216;JavaScript origins&#8217;.</li> </ol> </div></blockquote> <ol class="arabic simple" start="4"> <li>Click &#8216;Download JSON&#8217; on the right side of Client ID to download <strong>client_secrets.json</strong></li> </ol> <p><strong>client_secrets.json</strong> is the file that has all authentication information of your application. <strong>Put this file in your working directory.</strong></p> <p>Create <em>quickstart.py</em> file and copy and paste the following code.</p> <div class="highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">pydrive.auth</span> <span class="kn">import</span> <span class="n">GoogleAuth</span> <span class="n">gauth</span> <span class="o">=</span> <span class="n">GoogleAuth</span><span class="p">()</span> <span class="n">gauth</span><span class="o">.</span><span class="n">LocalWebserverAuth</span><span class="p">()</span> <span class="c"># Creates local webserver and auto handles authentication</span> </pre></div> </div> <p>Run this code with <em>python quickstart.py</em> and you will see a web browser asking you for authentication. Click <em>Accept</em> and you are done with authentication. For more details, take a look at documentation: <a class="reference external" href="./oauth.html">OAuth made easy</a></p> </div> <div class="section" id="creating-and-updating-file"> <h2>Creating and updating file<a class="headerlink" href="#creating-and-updating-file" title="Permalink to this headline">¶</a></h2> <p>There are many methods to create and update file metadata and contents. With <em>PyDrive</em>, all you have to know is <a class="reference external" href="./pydrive.html#pydrive.files.GoogleDriveFile.Upload">Upload()</a> method which makes optimal API call for you. Add the following code to your <em>quickstart.py</em> and run it.</p> <div class="highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">pydrive.drive</span> <span class="kn">import</span> <span class="n">GoogleDrive</span> <span class="n">drive</span> <span class="o">=</span> <span class="n">GoogleDrive</span><span class="p">(</span><span class="n">gauth</span><span class="p">)</span> <span class="n">file1</span> <span class="o">=</span> <span class="n">drive</span><span class="o">.</span><span class="n">CreateFile</span><span class="p">({</span><span class="s">&#39;title&#39;</span><span class="p">:</span> <span class="s">&#39;Hello.txt&#39;</span><span class="p">})</span> <span class="c"># Create GoogleDriveFile instance with title &#39;Hello.txt&#39;</span> <span class="n">file1</span><span class="o">.</span><span class="n">SetContentString</span><span class="p">(</span><span class="s">&#39;Hello World!&#39;</span><span class="p">)</span> <span class="c"># Set content of the file from given string</span> <span class="n">file1</span><span class="o">.</span><span class="n">Upload</span><span class="p">()</span> </pre></div> </div> <p>This code will create a new file with title <em>Hello.txt</em> and its content <em>Hello World!</em>. You can see and open this file from <a class="reference external" href="https://drive.google.com">Google Drive</a> if you want. For more details, take a look at documentation: <a class="reference external" href="./filemanagement.html">File management made easy</a></p> </div> <div class="section" id="getting-list-of-files"> <h2>Getting list of files<a class="headerlink" href="#getting-list-of-files" title="Permalink to this headline">¶</a></h2> <p><em>PyDrive</em> handles paginations and parses response as list of <a class="reference external" href="./pydrive.html#pydrive.files.GoogleDriveFile">GoogleDriveFile</a>. Let&#8217;s get title and id of all the files in the root folder of Google Drive. Again, add the following code to <em>quickstart.py</em> and execute it.</p> <div class="highlight-python"><div class="highlight"><pre><span class="c"># Auto-iterate through all files that matches this query</span> <span class="n">file_list</span> <span class="o">=</span> <span class="n">drive</span><span class="o">.</span><span class="n">ListFile</span><span class="p">({</span><span class="s">&#39;q&#39;</span><span class="p">:</span> <span class="s">&quot;&#39;root&#39; in parents and trashed=false&quot;</span><span class="p">})</span><span class="o">.</span><span class="n">GetList</span><span class="p">()</span> <span class="k">for</span> <span class="n">file1</span> <span class="ow">in</span> <span class="n">file_list</span><span class="p">:</span> <span class="k">print</span> <span class="s">&#39;title: </span><span class="si">%s</span><span class="s">, id: </span><span class="si">%s</span><span class="s">&#39;</span> <span class="o">%</span> <span class="p">(</span><span class="n">file1</span><span class="p">[</span><span class="s">&#39;title&#39;</span><span class="p">],</span> <span class="n">file1</span><span class="p">[</span><span class="s">&#39;id&#39;</span><span class="p">])</span> </pre></div> </div> <p>You will see title and id of all the files and folders in root folder of your Google Drive. For more details, take a look at documentation: <a class="reference external" href="./filelist.html">File listing made easy</a></p> </div> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3><a href="index.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">Quickstart</a><ul> <li><a class="reference internal" href="#authentication">Authentication</a></li> <li><a class="reference internal" href="#creating-and-updating-file">Creating and updating file</a></li> <li><a class="reference internal" href="#getting-list-of-files">Getting list of files</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="index.html" title="previous chapter">Welcome to PyDrive&#8217;s documentation!</a></p> <h4>Next topic</h4> <p class="topless"><a href="oauth.html" title="next chapter">OAuth made easy</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/quickstart.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="oauth.html" title="OAuth made easy" >next</a> |</li> <li class="right" > <a href="index.html" title="Welcome to PyDrive’s documentation!" >previous</a> |</li> <li><a href="index.html">PyDrive 1.0.0 documentation</a> &raquo;</li> </ul> </div> <div class="footer"> &copy; Copyright 2013, JunYoung Gwak. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. </div> </body> </html>
security/security.ui/src/main/resources/static/content/angular-block-ui.min.css
flash8627/icustom-boot
.block-ui-overlay{z-index:10001;border:0;margin:0;padding:0;width:100%;height:100%;top:0;left:0;position:absolute}body>.block-ui>.block-ui-overlay{position:fixed}.block-ui-overlay.block-ui-visible{background-color:#fff;opacity:.5;-ms-filter:"alpha(opacity=50)";cursor:wait}.block-ui-message-container{position:absolute;top:35%;left:0;right:0;height:0;text-align:center;z-index:10002}body>.block-ui>.block-ui-message-container{position:fixed}.block-ui-message{cursor:wait;display:inline-block;text-align:left;background-color:#333;color:#f5f5f5;padding:20px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;font-size:20px;font-weight:700}
help_files/ErMagicSpecimenHelp.html
Caoimhinmg/PmagPy
<!DOCTYPE HTML> <HTML> <HEAD> <META NAME="description" CONTENT="ErMagicBuilder help window"> <META NAME="keywords" CONTENT="ErMagicBuilderHelp"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2008"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="MagIC_Model_Builder_Help.css"> <LINK REL="next" HREF="node1.html"> </HEAD> <h3> Earth-Ref Magic Specimen Help Window</h3> <HEAD> <BODY > <BR> <p> <UL> <LI>Update the relationship between specimens and samples. You may not rename specimens, but you may reassign them to a different sample. </LI> <LI>It is also possible to add additional samples, using the "Add new sample" button. </LI> <LI>Note that specimen_type, specimen_lithology, and specimen_class columns do not show up. They will propagate down when you select sample_type, sample_lithology, and sample_class in step 4.</LI> </UL> <P> </BODY> </HTML>
kitsune/kbforums/jinja2/kbforums/posts.html
safwanrahman/kitsune
{% extends "kbforums/base.html" %} {% from "layout/errorlist.html" import errorlist %} {% from "includes/common_macros.html" import content_editor with context %} {% from "kbforums/includes/macros.html" import kbforums_warning with context %} {# L10n: {t} is the title of the thread. {d} is the name of the document. #} {% set title = _('{t} | {d} Discussion | Knowledge Base')|f(t=thread.title, d=document.title) %} {% set crumbs = [(document.get_absolute_url(), document.title), (url('wiki.discuss.threads', document.slug), _('Discuss')), (None, thread.title)] %} {% set styles = ('forums', 'jqueryui') %} {% set scripts = ('forums', 'jqueryui') %} {% block side_top_top %} <ul id="thread-actions" class="sidebar-nav"> {% if perms.kbforums.change_thread or (thread.creator == request.user and not thread.is_locked) %} <li><a href="{{ url('wiki.discuss.edit_thread', document.slug, thread.id) }}">{{ _('Edit this thread') }}</a></li> {% endif %} {% if perms.kbforums.delete_thread %} <li><a href="{{ url('wiki.discuss.delete_thread', document.slug, thread.id) }}">{{ _('Delete this thread') }}</a></li> {% endif %} {% if perms.kbforums.lock_thread %} <li> <form id="thread-lock-form" action="{{ url('wiki.discuss.lock_thread', document.slug, thread.id) }}" method="post"> {% csrf_token %} </form> <a data-type="submit" data-form="thread-lock-form">{% if thread.is_locked %}{{ _('Unlock this thread') }}{% else %}{{ _('Lock this thread') }}{% endif %}</a> </li> {% endif %} {% if perms.kbforums.sticky_thread %} <li> <form id="thread-sticky-form" action="{{ url('wiki.discuss.sticky_thread', document.slug, thread.id) }}" method="post"> {% csrf_token %} </form> <a data-type="submit" data-form="thread-sticky-form">{% if thread.is_sticky %}{{ _('Unsticky this thread') }}{% else %}{{ _('Sticky this thread') }}{% endif %}</a> </li> {% endif %} </ul> {% endblock %} {% block content %} <div class="grid_9"> <article id="posts" class="main"> {{ kbforums_warning(document, user) }} <h1>{{ thread.title }}</h1> <ul class="cf" id="thread-meta"> {% if count %}<li>{{ count - 1 }} {{ _('Replies') }}</li>{% endif %} {% if last_post %}<li>{{ _('Last reply by') }} {{ display_name(last_post.creator) }}</li>{% endif %} {% if thread.is_sticky %}<li>{{ _('Sticky') }}</li>{% endif %} {% if thread.is_locked %}<li>{{ _('Locked') }}</li>{% endif %} </ul> {% if user.is_authenticated() %} <form action="{{ url('wiki.discuss.watch_thread', document.slug, thread.id) }}" method="post"> {% csrf_token %} {% if is_watching_thread %} {% set watch = _('Stop watching this thread') %} <input type="hidden" name="watch" value="no" /> {% else %} {% set watch = _('Watch this thread') %} <input type="hidden" name="watch" value="yes" /> {% endif %} <button type="submit" title="{{ watch }}" class="btn" id="watch-thread-toggle"><img src="{{ STATIC_URL }}sumo/img/blank.png" alt="" /> {{ watch }}</button> </form> {% endif %} {% if posts %} <ol class="posts"> {% for post in posts.object_list %} <li class="cf" id="post-{{ post.id }}"> {% include "kbforums/includes/post.html" %} </li> {% endfor %} </ol> {{ posts|paginator }} {% else %} <p>{{ _('Oh, no! Looks like there are no posts!') }}</p> {% endif %} {% if user.is_authenticated() and not thread.is_locked %} <form id="post-a-reply" action="{{ url('wiki.discuss.reply', document.slug, thread.id)|urlparams(hash='post-a-reply') }}" method="post"> {% csrf_token %} <h3 id="thread-reply-title">{{ _('Post a reply') }}</h3> {{ errorlist(form) }} {% if request.limited %} <div class="warning-box"> {{ _('You have exceeded the number of threads and replies that can be posted in a given amount of time. Please try again shortly.') }} </div> {% endif %} <div id="thread-reply"> {{ content_editor(form.content) }} </div> <div class="editor-actions"> <button type="submit" class="btn btn-submit big">{{ _('Post Reply') }}</button> <button type="submit" class="btn" id="preview" name="preview" data-preview-url="{{ url('wiki.discuss.post_preview_async', document.slug) }}" data-preview-container-id="post-preview" data-preview-content-id="id_content">{{ _('Preview Reply') }} </button> </div> </form> {% elif user.is_authenticated() and thread.is_locked %} <div id="thread-reply"> <p id="thread-locked">{{ _('This thread has been locked. It is no longer possible to post new replies.') }}</p> </div> {% endif %} <div id="post-preview"> {% if post_preview %} {% include "kbforums/includes/post_preview.html" %} {% endif %} </div> </article> </div> {% endblock %}
wts/tests/webstorage/window_localStorage_setItem_base.html
haoxli/web-testing-service
<!DOCTYPE html> <!-- Copyright (c) 2012 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the original copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this work without specific prior written permission. THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: Lei Yang <lei.a.yang@intel.com> Xie,Yunxiao <yunxiaox.xie@intel.com> --> <meta charset="utf-8"> <title>WebStorage: window_localStorage_setItem_base</title> <link rel="author" title="Intel" href="http://www.intel.com" > <link rel="help" href="http://www.w3.org/TR/2011/CR-webstorage-20111208/#dom-localStorage-setItem"> <script src="../resources/testharness.js"></script> <script src="../resources/testharnessreport.js"></script> <div id="log"></div> <script> var store_list = new Array("key0", "value0", "key1", "value1", "key2", "value2", "key3", "value3", "key4", "value4"); test(function () { assert_true("localStorage" in window); var store = window.localStorage; store.clear(); for (var i=0; i<store_list.length; i++) { if (i != 0) { if((i%2) == 1) { store.setItem(store_list[i-1], store_list[i]); var avalue = store.getItem(store_list[(i-1)]); assert_equals(avalue, store_list[i]); } } } }, "Check if the localStorage.setItem must first check if a key/value pair with the given key already exists in the list associated with the object"); </script>
public/css/pure/grids/css/grids-units.css
alainbindele/openrate-it
.pure-u-1, .pure-u-1-2, .pure-u-1-3, .pure-u-2-3, .pure-u-1-4, .pure-u-3-4, .pure-u-1-5, .pure-u-2-5, .pure-u-3-5, .pure-u-4-5, .pure-u-1-6, .pure-u-5-6, .pure-u-1-8, .pure-u-3-8, .pure-u-5-8, .pure-u-7-8, .pure-u-1-12, .pure-u-5-12, .pure-u-7-12, .pure-u-11-12, .pure-u-1-24, .pure-u-5-24, .pure-u-7-24, .pure-u-11-24, .pure-u-13-24, .pure-u-17-24, .pure-u-19-24, .pure-u-23-24 { display: inline-block; *display: inline; /* IE < 8: fake inline-block */ zoom: 1; letter-spacing: normal; word-spacing: normal; vertical-align: top; text-rendering: auto; } .pure-u-1 { width: 100%; } .pure-u-1-2 { width: 50%; *width: 49.969%; } .pure-u-1-3 { width: 33.3333%; *width: 33.3023%; } .pure-u-2-3 { width: 66.6667%; *width: 66.6357%; } .pure-u-1-4 { width: 25%; *width: 24.969%; } .pure-u-3-4 { width: 75%; *width: 74.969%; } .pure-u-1-5 { width: 20%; *width: 19.969%; } .pure-u-2-5 { width: 40%; *width: 39.969%; } .pure-u-3-5 { width: 60%; *width: 59.969%; } .pure-u-4-5 { width: 80%; *width: 79.969%; } .pure-u-1-6 { width: 16.6667%; *width: 16.6357%; } .pure-u-5-6 { width: 83.3333%; *width: 83.3023%; } .pure-u-1-8 { width: 12.5%; *width: 12.469%; } .pure-u-3-8 { width: 37.5%; *width: 37.469%; } .pure-u-5-8 { width: 62.5%; *width: 62.469%; } .pure-u-7-8 { width: 87.5%; *width: 87.469%; } .pure-u-1-12 { width: 8.3333%; *width: 8.3023%; } .pure-u-5-12 { width: 41.6667%; *width: 41.6357%; } .pure-u-7-12 { width: 58.3333%; *width: 58.3023%; } .pure-u-11-12 { width: 91.6667%; *width: 91.6357%; } .pure-u-1-24 { width: 4.1667%; *width: 4.1357%; } .pure-u-5-24 { width: 20.8333%; *width: 20.8023%; } .pure-u-7-24 { width: 29.1667%; *width: 29.1357%; } .pure-u-11-24 { width: 45.8333%; *width: 45.8023%; } .pure-u-13-24 { width: 54.1667%; *width: 54.1357%; } .pure-u-17-24 { width: 70.8333%; *width: 70.8023%; } .pure-u-19-24 { width: 79.1667%; *width: 79.1357%; } .pure-u-23-24 { width: 95.8333%; *width: 95.8023%; }
src/main/webapp/resources/css/heroku.css
SupriyaVenkatesh/gitsalesforce
@import url("https://statics.herokuapp.com/fonts/fonts.css"); #heroku { color: black; float: right; text-shadow: 0 1px 0 rgba(255, 255, 255, .1), 0 0 30px rgba(255, 255, 255, .125) } #heroku strong { font-family: HybreaLight, "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif; } #getting-started { padding-bottom: 40px; } body { padding-top: 40px; } @media (max-width: 980px) and (min-width: 768px) { body { padding: 0; } } @media (max-width: 768px) { body { padding: 0; } }
wts/tests/webdatabase/WorkerUtils_openDatabase_no_creationCallback_version.html
haoxli/web-testing-service
<!DOCTYPE html> <!-- Copyright (c) 2014 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the original copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this work without specific prior written permission. THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: Fan,Weiwei <weiwix.fan@intel.com> Cui, Jieqiong <jieqiongx.cui@intel.com> --> <meta charset="utf-8"> <title>WebSQL Database Test: WorkerUtils_openDatabase_no_creationCallback_version</title> <link rel="author" title="Intel" href="http://www.intel.com"> <link rel="help" href="http://www.w3.org/TR/2010/NOTE-webdatabase-20101118/"> <script src="../resources/testharness.js"></script> <script src="../resources/testharnessreport.js"></script> <div id="log"></div> <script> async_test(function (t) { var worker = new Worker("./WorkerUtils_openDatabase_no_creationCallback_version.js"); worker.onmessage = t.step_func(function (event) { assert_equals(event.data, "PASS", "The value of event.data"); t.done(); }); }, "Check if the database is created with the given database version as its version when the WorkerUtils.openDatabase callback is not provided"); </script>
www/wp-admin/css/forms-rtl.css
haenamgoguma/farmpage
/* Include margin and padding in the width calculation of input and textarea. */ input, textarea { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } input[type="text"], input[type="password"], input[type="checkbox"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="password"], input[type="search"], input[type="radio"], input[type="tel"], input[type="text"], input[type="time"], input[type="url"], input[type="week"], select, textarea { border: 1px solid #ddd; -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 ); box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 ); background-color: #fff; color: #32373c; outline: none; -webkit-transition: 0.05s border-color ease-in-out; transition: 0.05s border-color ease-in-out; } input[type="text"]:focus, input[type="password"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="email"]:focus, input[type="month"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="time"]:focus, input[type="url"]:focus, input[type="week"]:focus, input[type="checkbox"]:focus, input[type="radio"]:focus, select:focus, textarea:focus { border-color: #5b9dd9; -webkit-box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); } /* rtl:ignore */ input[type="email"], input[type="url"] { direction: ltr; } input[type="checkbox"], input[type="radio"] { border: 1px solid #b4b9be; background: #fff; color: #555; clear: none; cursor: pointer; display: inline-block; line-height: 0; height: 16px; margin: -4px 0 0 4px; outline: 0; padding: 0 !important; text-align: center; vertical-align: middle; width: 16px; min-width: 16px; -webkit-appearance: none; -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 ); box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 ); -webkit-transition: .05s border-color ease-in-out; transition: .05s border-color ease-in-out; } input[type="radio"]:checked + label:before { color: #82878c; } .wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { color: #00a0d2; } td > input[type="checkbox"], .wp-admin p input[type="checkbox"], .wp-admin p input[type="radio"] { margin-top: 0; } .wp-admin p label input[type="checkbox"] { margin-top: -4px; } .wp-admin p label input[type="radio"] { margin-top: -2px; } input[type="radio"] { -webkit-border-radius: 50%; border-radius: 50%; margin-left: 4px; line-height: 10px; } input[type="checkbox"]:checked:before, input[type="radio"]:checked:before { float: right; display: inline-block; vertical-align: middle; width: 16px; font: normal 21px/1 'dashicons'; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } input[type="checkbox"]:checked:before { content: '\f147'; margin: -3px -4px 0 0; color: #1e8cbe; } input[type="radio"]:checked:before { content: '\2022'; text-indent: -9999px; -webkit-border-radius: 50px; border-radius: 50px; font-size: 24px; width: 6px; height: 6px; margin: 4px; line-height: 16px; background-color: #1e8cbe; } @-moz-document url-prefix() { input[type="checkbox"], input[type="radio"], .form-table input.tog { margin-bottom: -1px; } } /* Search */ input[type="search"] { -webkit-appearance: textfield; } input[type="search"]::-webkit-search-decoration { display: none; } .ie8 input[type="password"] { font-family: sans-serif; } textarea, input, select, button { font-family: inherit; font-size: inherit; font-weight: inherit; } textarea, input, select { font-size: 14px; padding: 3px 5px; -webkit-border-radius: 0; border-radius: 0; /* Reset mobile webkit's default element styling */ } textarea { overflow: auto; padding: 2px 6px; line-height: 1.4; } .wp-admin input[type="file"] { padding: 3px 0; } label { cursor: pointer; } input, select { margin: 1px; padding: 3px 5px; } input.code { padding-top: 6px; } textarea.code { line-height: 1.4; padding: 4px 6px 1px 6px; } input.readonly, input[readonly], textarea.readonly, textarea[readonly] { background-color: #eee; } :-moz-placeholder, .wp-core-ui :-moz-placeholder { color: #a9a9a9; } .form-invalid { background-color: #ffebe8 !important; } .form-invalid input, .form-invalid select { border-color: #c00 !important; } .form-input-tip { color: #666; } input:disabled, input.disabled, select:disabled, select.disabled, textarea:disabled, textarea.disabled { background: rgba( 255, 255, 255, 0.5 ); border-color: rgba( 222, 222, 222, 0.75 ); -webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 ); box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 ); color: rgba( 51, 51, 51, 0.5 ); } input[type="file"]:disabled, input[type="file"].disabled, input[type="range"]:disabled, input[type="range"].disabled { background: none; -webkit-box-shadow: none; box-shadow: none; } input[type="checkbox"]:disabled, input[type="checkbox"].disabled, input[type="radio"]:disabled, input[type="radio"].disabled, input[type="checkbox"]:disabled:checked:before, input[type="checkbox"].disabled:checked:before, input[type="radio"]:disabled:checked:before, input[type="radio"].disabled:checked:before { opacity: 0.7; } /*------------------------------------------------------------------------------ 2.0 - Forms ------------------------------------------------------------------------------*/ .wp-admin select { padding: 2px; line-height: 28px; height: 28px; vertical-align: middle; } .wp-admin .button-cancel { padding: 0 5px; line-height: 2; } .meta-box-sortables select { max-width: 100%; } .wp-admin select[multiple] { height: auto; } .submit { padding: 1.5em 0; margin: 5px 0; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; border: none; } form p.submit a.cancel:hover { text-decoration: none; } p.submit { text-align: right; max-width: 100%; margin-top: 20px; padding-top: 10px; } .textright p.submit { border: none; text-align: left; } table.form-table + p.submit, table.form-table + input + p.submit, table.form-table + input + input + p.submit { border-top: none; padding-top: 0; } #minor-publishing-actions input, #major-publishing-actions input, #minor-publishing-actions .preview { text-align: center; } textarea.all-options, input.all-options { width: 250px; } input.large-text, textarea.large-text { width: 99%; } input.regular-text, #adduser .form-field input { width: 25em; } input.small-text { width: 50px; padding: 1px 6px; } input[type="number"].small-text { width: 65px; } #doaction, #doaction2, #post-query-submit { margin: 1px 0 0 8px; } .tablenav #changeit, .tablenav #delete_all, .tablenav #clear-recent-list, .wp-filter #delete_all { margin-top: 1px; } .tablenav .actions select { float: right; margin-left: 6px; max-width: 200px; } .ie8 .tablenav .actions select { width: 155px; } .ie8 .tablenav .actions select#cat { width: 200px; } #timezone_string option { margin-right: 1em; } #upload-form label { color: #777; } label, #your-profile label + a { vertical-align: middle; } fieldset label, #your-profile label + a { vertical-align: middle; } .options-media-php label[for*="_size_"], #misc-publishing-actions label { vertical-align: baseline; } #misc-publishing-actions label[for="post_status"]:before { content: '\f173'; display: inline-block; font: normal 20px/1 'dashicons'; speak: none; right: -1px; padding: 0 0 0 5px; position: relative; top: 0; text-decoration: none !important; vertical-align: top; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } #pass-strength-result { background-color: #eee; border: 1px solid #ddd; float: right; margin: 13px 1px 5px 5px; padding: 3px 5px; text-align: center; width: 200px; display: none; } #pass-strength-result.short { background-color: #ffa0a0; border-color: #f04040; } #pass-strength-result.bad { background-color: #ffb78c; border-color: #ff853c; } #pass-strength-result.good { background-color: #ffec8b; border-color: #fc0; } #pass-strength-result.strong { background-color: #c3ff88; border-color: #8dff1c; } .indicator-hint { padding-top: 8px; } p.search-box { float: left; margin: 0; } .network-admin.themes-php p.search-box { clear: right; } .search-box input[name="s"], .tablenav .search-plugins input[name="s"], .tagsdiv .newtag { float: right; height: 28px; margin: 0 0 0 4px; } input[type="text"].ui-autocomplete-loading, input[type="email"].ui-autocomplete-loading { background-image: url(../images/loading.gif); background-repeat: no-repeat; background-position: left center; visibility: visible; } input.ui-autocomplete-input.open { border-bottom-color: transparent; } ul#add-to-blog-users { margin: 0 14px 0 0; } .ui-autocomplete { padding: 0; margin: 0; list-style: none; position: absolute; z-index: 10000; border: 1px solid #5b9dd9; -webkit-box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 ); box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 ); background-color: #fff; } .ui-autocomplete li { margin-bottom: 0; padding: 4px 10px; white-space: nowrap; text-align: right; } .ui-autocomplete li.ui-state-focus { background-color: #ddd; cursor: pointer; } /*------------------------------------------------------------------------------ 15.0 - Comments Screen ------------------------------------------------------------------------------*/ .form-table { border-collapse: collapse; margin-top: 0.5em; width: 100%; clear: both; } .form-table, .form-table td, .form-table th, .form-table td p, .form-wrap label { font-size: 14px; } .form-table td { margin-bottom: 9px; padding: 15px 10px; line-height: 1.3; vertical-align: middle; } .form-table th, .form-wrap label { color: #23282d; font-weight: normal; text-shadow: none; vertical-align: baseline; } .form-table th { vertical-align: top; text-align: right; padding: 20px 0 20px 10px; width: 200px; line-height: 1.3; font-weight: 600; } .form-table th.th-full { width: auto; font-weight: 400; } .form-table td p { margin-top: 4px; margin-bottom: 0; } .form-table td fieldset label { margin: 0.25em 0 0.5em !important; display: inline-block; } .form-table td fieldset label, .form-table td fieldset p, .form-table td fieldset li { line-height: 1.4em; } .form-table input.tog, .form-table input[type="radio"] { margin-top: -4px; margin-left: 4px; float: none; } .form-table .pre { padding: 8px; margin: 0; } table.form-table td .updated { font-size: 13px; } table.form-table td .updated p { font-size: 13px; margin: 0.3em 0; } /*------------------------------------------------------------------------------ 18.0 - Users ------------------------------------------------------------------------------*/ #profile-page .form-table textarea { width: 500px; margin-bottom: 6px; } #profile-page .form-table #rich_editing { margin-left: 5px } #your-profile legend { font-size: 22px; } #display_name { width: 15em; } #createuser .form-field input { width: 25em; } .color-option { display: inline-block; width: 24%; padding: 5px 15px 15px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin-bottom: 3px; } .color-option:hover, .color-option.selected { background: #ddd; } .color-palette { width: 100%; border-spacing: 0; border-collapse: collapse; } .color-palette td { height: 20px; padding: 0; border: none; } .color-option { cursor: pointer; } /*------------------------------------------------------------------------------ 19.0 - Tools ------------------------------------------------------------------------------*/ .tool-box .title { margin: 8px 0; font-size: 18px; font-weight: normal; line-height: 24px; } /* Card styles */ .card { position: relative; margin-top: 20px; padding: 0.7em 2em 1em; min-width: 255px; max-width: 520px; border: 1px solid #e5e5e5; -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); box-shadow: 0 1px 1px rgba(0,0,0,0.04); background: #fff; } /* Press this styles */ .pressthis h4 { margin: 2em 0 1em; } .pressthis textarea { width: 100%; font-size: 1em; } #pressthis-code-wrap { overflow: auto; } .pressthis-bookmarklet-wrapper { margin: 20px 0 8px; vertical-align: top; position: relative; z-index: 1; } .pressthis-bookmarklet, .pressthis-bookmarklet:hover, .pressthis-bookmarklet:focus, .pressthis-bookmarklet:active { display: inline-block; position: relative; cursor: move; color: #32373c; background: #e6e6e6; -webkit-border-radius: 5px; border-radius: 5px; border: 1px solid #b4b4b4; font-style: normal; line-height: 16px; font-size: 14px; text-decoration: none; } .pressthis-bookmarklet:active { outline: none; } .pressthis-bookmarklet:after { content: ''; width: 70%; height: 55%; z-index: -1; position: absolute; left: 10px; bottom: 9px; background: transparent; -webkit-transform: skew(-20deg) rotate(-6deg); -ms-transform: skew(-20deg) rotate(-6deg); transform: skew(-20deg) rotate(-6deg); -webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6); box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6); } .pressthis-bookmarklet:hover:after { -webkit-transform: skew(-20deg) rotate(-9deg); -ms-transform: skew(-20deg) rotate(-9deg); transform: skew(-20deg) rotate(-9deg); -webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7); box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7); } .pressthis-bookmarklet span { display: inline-block; margin: 0px 0 0; padding: 0px 9px 8px 12px; } .pressthis-bookmarklet span:before { color: #777; font: normal 20px/1 'dashicons'; content:'\f157'; position: relative; display: inline-block; top: 4px; margin-left: 4px; } .pressthis-js-toggle { margin-right: 10px; padding: 0; height: auto; vertical-align: top; } .pressthis-js-toggle .dashicons { margin: 5px 7px 6px 8px; color: #777; } /* to override the button class being applied */ .pressthis-js-toggle.button.button { margin-right: 10px; padding: 0; height: auto; vertical-align: top; } .pressthis-js-toggle .dashicons { margin: 5px 7px 6px 8px; color: #777; } /*------------------------------------------------------------------------------ 20.0 - Settings ------------------------------------------------------------------------------*/ #utc-time, #local-time { padding-right: 25px; font-style: italic; } .defaultavatarpicker .avatar { margin: 2px 0; vertical-align: middle; } .options-general-php input.small-text { width: 56px; } .options-general-php .spinner { float: none; margin: 0 3px; } .settings-php .language-install-spinner, .options-general-php .language-install-spinner { display: inline-block; float: none; margin: -3px 5px 0; vertical-align: middle; } /*------------------------------------------------------------------------------ 21.0 - Network Admin ------------------------------------------------------------------------------*/ .form-field #site-address { max-width: 25em; } .form-field #domain { max-width: 22em; } .form-field #site-title, .form-field #admin-email, .form-field #path, .form-field #blog_registered, .form-field #blog_last_updated { max-width: 25em; } .form-field #path { margin-bottom: 5px; } /*------------------------------------------------------------------------------ Credentials check dialog for Install and Updates ------------------------------------------------------------------------------*/ .request-filesystem-credentials-dialog { display: none; } .request-filesystem-credentials-dialog .notification-dialog { top: 15%; max-height: 85%; } .request-filesystem-credentials-dialog-content { margin: 25px; } .request-filesystem-credentials-form input[type="text"], .request-filesystem-credentials-form input[type="password"] { display: block; } .request-filesystem-credentials-dialog input[type="text"], .request-filesystem-credentials-dialog input[type="password"] { width: 100%; } .request-filesystem-credentials-form .field-title { font-weight: 600; } .request-filesystem-credentials-dialog label[for="hostname"], .request-filesystem-credentials-dialog label[for="public_key"], .request-filesystem-credentials-dialog label[for="private_key"] { display: block; margin-bottom: 1em; } .request-filesystem-credentials-dialog .ftp-username, .request-filesystem-credentials-dialog .ftp-password { float: right; width: 48%; } .request-filesystem-credentials-dialog .ftp-password { margin-right: 4%; } .request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons { text-align: left; } .request-filesystem-credentials-dialog label[for="ftp"] { margin-left: 10px; } #request-filesystem-credentials-dialog .button:not(:last-child) { margin-left: 10px; } #request-filesystem-credentials-form .cancel-button { display: none; } #request-filesystem-credentials-dialog .cancel-button { display: inline; } /* =Media Queries -------------------------------------------------------------- */ @media screen and ( max-width: 782px ) { /* Input Elements */ textarea { -webkit-appearance: none; } input[type="text"], input[type="email"], input[type="search"], input[type="password"], input[type="number"] { -webkit-appearance: none; padding: 6px 10px; } input.code { padding-bottom: 5px; padding-top: 10px; } input[type="checkbox"], .widefat th input[type="checkbox"] { -webkit-appearance: none; padding: 10px; } .widefat th input[type="checkbox"] { margin-bottom: 8px; } input[type="checkbox"]:checked:before, .widefat th input[type="checkbox"]:before { font: normal 30px/1 'Dashicons'; margin: -3px -5px; } input[type="radio"], input[type="checkbox"] { height: 25px; width: 25px; } .wp-admin p input[type="checkbox"], .wp-admin p input[type="radio"] { margin-top: -3px; } input[type="radio"]:checked:before { vertical-align: middle; width: 9px; height: 9px; margin: 7px; line-height: 16px; } .wp-upload-form input[type="submit"] { margin-top: 10px; } #wpbody select { height: 36px; font-size: 16px; } .wp-admin .button-cancel { padding: 0; font-size: 14px; } #createuser .form-field input { width: 100%; } .form-table { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .form-table th, .form-table td { display: block; width: auto; vertical-align: middle; } .form-table .color-palette td { display: table-cell; width: 15px; } .form-table table.color-palette { margin-left: 10px; } textarea, input { font-size: 16px; } .form-table td input[type="text"], .form-table td input[type="email"], .form-table td input[type="password"], .form-table td select, .form-table td textarea, .form-table span.description, #profile-page .form-table textarea { width: 100%; font-size: 16px; line-height: 1.5; padding: 7px 10px; display: block; max-width: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } #wpbody .form-table td select { height: 40px; } input[type="text"].small-text, input[type="search"].small-text, input[type="password"].small-text, input[type="number"].small-text, input[type="number"].small-text, .form-table input[type="text"].small-text { width: auto; max-width: 55px; display: inline; padding: 3px 6px; margin: 0 3px; } #pass-strength-result { width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 8px; } p.search-box { float: none; position: absolute; bottom: 0; width: 98%; height: 90px; margin-bottom: 20px; } p.search-box input[name="s"] { height: auto; float: none; width: 100%; margin-bottom: 10px; vertical-align: middle; -webkit-appearance: none; } p.search-box input[type="submit"] { margin-bottom: 10px; } .form-table span.description { padding: 4px 0 0; line-height: 1.4em; } .form-table th { padding-top: 10px; padding-bottom: 0; border-bottom: 0; } .form-table td { padding-top: 8px; padding-right: 0; } .form-table input.regular-text { width: 100%; } .form-table label { font-size: 14px; } .form-table fieldset label { display: block; } #utc-time { margin-top: 10px; } #utc-time, #local-time { display: block; float: none; padding: 0; line-height: 2; } .form-field #domain { max-width: none; } } @media only screen and (max-width: 768px) { .form-field input[type="text"], .form-field input[type="email"], .form-field input[type="password"], .form-field select, .form-field textarea { width: 99%; } .form-wrap .form-field { padding:0; } /* users */ #profile-page .form-table textarea { max-width: 400px; width: auto; } } @media only screen and (max-height: 480px) { /* Request Credentials */ .request-filesystem-credentials-dialog .notification-dialog{ width: 100%; height: 100%; max-height: 100%; position: fixed; top: 0; margin: 0; right: 0; } } /* Smartphone */ @media screen and (max-width: 600px) { /* Color Picker Options */ .color-option { width: 49%; } }
docs/api-docs/files/a30_complexArray.js.html
edigitalresearch/breeze.js
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>a30_complexArray.js</title> <link rel="stylesheet" href="http://yui.yahooapis.com/3.5.1/build/cssgrids/cssgrids-min.css"> <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css"> <link rel="stylesheet" href="../assets/css/main.css" id="site_styles"> <link rel="shortcut icon" type="image/png" href="../assets/favicon.png"> <script src="http://yui.yahooapis.com/combo?3.5.1/build/yui/yui-min.js"></script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-34729465-1']); _gaq.push(['_setDomainName', 'breezejs.com']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body class="yui3-skin-sam"> <script type="text/javascript"> var uvOptions = {}; (function() { var uv = document.createElement('script'); uv.type = 'text/javascript'; uv.async = true; uv.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'widget.uservoice.com/GHug452CgVREu58xjoDg.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(uv, s); })(); </script> <div id="wrap"> <div id="doc"> <div class="header"> <div class="logo"> <a href="http://www.breezejs.com/home"><img src="http://breeze.github.io/images/logos/breeze_large.png" /></a> </div> <div class="primary-nav"> <ul> <li> <a href="http://breeze.github.io/doc-js/download.html" target="_blank">Download</a></li> <li> <a href="http://learn.breezejs.com/" target="_blank">Tutorials</a></li> <li> <a href="http://breeze.github.io/doc-js">Docs</a></li> <li> <a href="http://breeze.github.io/doc-samples/">Samples</a></li> <li> <a href="http://www.getbreezenow.com/support" target="_blank">Support</a></li> <li> <a href="http://www.getbreezenow.com/blog" target="_blank">Blog</a></li> </ul> </div> </div> <div id="bd" class="yui3-g"> <div class="yui3-u-1-4"> <div id="docs-sidebar" class="sidebar apidocs"> <div id="api-list"> <h2 class="off-left">APIs</h2> <div id="api-tabview" class="tabview"> <ul class="tabs"> <li><a href="#api-classes">Classes</a></li> <li><a href="#api-modules">Modules</a></li> </ul> <div id="api-tabview-filter"> <input type="search" id="api-filter" placeholder="Type to filter APIs"> </div> <div id="api-tabview-panel"> <ul id="api-classes" class="apis classes"> <li><a href="../classes/AutoGeneratedKeyType.html">AutoGeneratedKeyType</a></li> <li><a href="../classes/ComplexAspect.html">ComplexAspect</a></li> <li><a href="../classes/ComplexType.html">ComplexType</a></li> <li><a href="../classes/config.html">config</a></li> <li><a href="../classes/DataProperty.html">DataProperty</a></li> <li><a href="../classes/DataService.html">DataService</a></li> <li><a href="../classes/DataType.html">DataType</a></li> <li><a href="../classes/EntityAction.html">EntityAction</a></li> <li><a href="../classes/EntityAspect.html">EntityAspect</a></li> <li><a href="../classes/EntityKey.html">EntityKey</a></li> <li><a href="../classes/EntityManager.html">EntityManager</a></li> <li><a href="../classes/EntityQuery.html">EntityQuery</a></li> <li><a href="../classes/EntityState.html">EntityState</a></li> <li><a href="../classes/EntityType.html">EntityType</a></li> <li><a href="../classes/Enum.html">Enum</a></li> <li><a href="../classes/EnumSymbol.html">EnumSymbol</a></li> <li><a href="../classes/Event.html">Event</a></li> <li><a href="../classes/FetchStrategy.html">FetchStrategy</a></li> <li><a href="../classes/FilterQueryOp.html">FilterQueryOp</a></li> <li><a href="../classes/HttpResponse.html">HttpResponse</a></li> <li><a href="../classes/JsonResultsAdapter.html">JsonResultsAdapter</a></li> <li><a href="../classes/LocalQueryComparisonOptions.html">LocalQueryComparisonOptions</a></li> <li><a href="../classes/MergeStrategy.html">MergeStrategy</a></li> <li><a href="../classes/MetadataStore.html">MetadataStore</a></li> <li><a href="../classes/NamingConvention.html">NamingConvention</a></li> <li><a href="../classes/NavigationProperty.html">NavigationProperty</a></li> <li><a href="../classes/Predicate.html">Predicate</a></li> <li><a href="../classes/Promise.html">Promise</a></li> <li><a href="../classes/QueryOptions.html">QueryOptions</a></li> <li><a href="../classes/SaveOptions.html">SaveOptions</a></li> <li><a href="../classes/ValidationError.html">ValidationError</a></li> <li><a href="../classes/ValidationOptions.html">ValidationOptions</a></li> <li><a href="../classes/Validator.html">Validator</a></li> <li><a href="../classes/~ajax_interface.html">~ajax_interface</a></li> <li><a href="../classes/~complexArray.html">~complexArray</a></li> <li><a href="../classes/~keyGenerator_interface.html">~keyGenerator_interface</a></li> <li><a href="../classes/~primitiveArray.html">~primitiveArray</a></li> <li><a href="../classes/~relationArray.html">~relationArray</a></li> </ul> <ul id="api-modules" class="apis modules"> <li><a href="../modules/breeze.html">breeze</a></li> <li><a href="../modules/core.html">core</a></li> </ul> </div> </div> </div> </div> </div> <div class="yui3-u-3-4"> <div id="api-options"> Show: <label for="api-show-inherited"> <input type="checkbox" id="api-show-inherited" checked> Inherited </label> <label for="api-show-protected"> <input type="checkbox" id="api-show-protected"> Protected </label> <label for="api-show-private"> <input type="checkbox" id="api-show-private"> Private </label> <label for="api-show-deprecated"> <input type="checkbox" id="api-show-deprecated"> Deprecated </label> </div> <div class="apidocs"> <div id="docs-main"> <div class="content"> <h1 class="file-heading">File: a30_complexArray.js</h1> <div class="file"> <pre class="code prettyprint linenums"> breeze.makeComplexArray = (function () { var complexArrayMixin = {}; // complexArray will have the following props // parent // propertyPath // parentProperty // addedItems - only if modified // removedItems - only if modified // each complexAspect of any entity within a complexArray // will have its own _complexState = &quot;A/M&quot;; /** Complex arrays are not actually classes, they are objects that mimic arrays. A complex array is collection of complexTypes associated with a data property on a single entity or other complex object. i.e. customer.orders or order.orderDetails. This collection looks like an array in that the basic methods on arrays such as &#x27;push&#x27;, &#x27;pop&#x27;, &#x27;shift&#x27;, &#x27;unshift&#x27;, &#x27;splice&#x27; are all provided as well as several special purpose methods. @class ~complexArray **/ /** An {{#crossLink &quot;Event&quot;}}{{/crossLink}} that fires whenever the contents of this array changed. This event is fired any time a new entity is attached or added to the EntityManager and happens to belong to this collection. Adds that occur as a result of query or import operations are batched so that all of the adds or removes to any individual collections are collected into a single notification event for each relation array. @example // assume order is an order entity attached to an EntityManager. orders.arrayChanged.subscribe( function (arrayChangedArgs) { var addedEntities = arrayChangedArgs.added; var removedEntities = arrayChanged.removed; }); @event arrayChanged @param added {Array of Entity} An array of all of the entities added to this collection. @param removed {Array of Entity} An array of all of the removed from this collection. @readOnly **/ // virtual impls complexArrayMixin._getGoodAdds = function (adds) { return getGoodAdds(this, adds); }; complexArrayMixin._beforeChange = function () { observableArray.updateEntityState(this); }; complexArrayMixin._processAdds = function (adds) { processAdds(this, adds); }; complexArrayMixin._processRemoves = function (removes) { processRemoves(this, removes); }; // complexArrayMixin._rejectChanges = function() { if (!this._origValues) return; var that = this; this.forEach(function (co) { clearAspect(co, that); }); this.length = 0; this._origValues.forEach(function (co) { that.push(co); }); }; complexArrayMixin._acceptChanges = function () { this._origValues = null; }; // local functions function getGoodAdds(complexArray, adds) { // remove any that are already added here return adds.filter(function (a) { return a.parent !== complexArray.parent; }); } function processAdds(complexArray, adds) { adds.forEach(function (a) { if (a.parent != null) { throw new Error(&quot;The complexObject is already attached. Either clone it or remove it from its current owner&quot;); } setAspect(a, complexArray); }); } function processRemoves(complexArray, removes) { removes.forEach(function (a) { clearAspect(a, complexArray); }); } function clearAspect(co, arr) { var coAspect = co.complexAspect; // if not already attached - exit if (coAspect.parent !== arr.parent) return null; coAspect.parent = null; coAspect.parentProperty = null; return coAspect; } function setAspect(co, arr) { var coAspect = co.complexAspect; // if already attached - exit if (coAspect.parent === arr.parent) return null; coAspect.parent = arr.parent; coAspect.parentProperty = arr.parentProperty; return coAspect; } function makeComplexArray(arr, parent, parentProperty) { observableArray.initializeParent(arr, parent, parentProperty); arr.arrayChanged = new Event(&quot;arrayChanged&quot;, arr); __extend(arr, observableArray.mixin); return __extend(arr, complexArrayMixin); } return makeComplexArray; })(); </pre> </div> </div> </div> </div> </div> </div> </div> <div class="primary-nav-foot"> <ul> <li> <a href="http://breeze.github.io/doc-js/download.html" target="_blank">Download</a></li> <li> <a href="http://learn.breezejs.com/" target="_blank">Tutorials</a></li> <li> <a href="http://breeze.github.io/doc-js/">Docs</a></li> <li> <a href="http://breeze.github.io/doc-samples/">Samples</a></li> <li> <a href="http://stackoverflow.com/questions/tagged/breeze?sort=newest" target="_blank">Questions</a></li> <li> <a href="http://www.getbreezenow.com/support" target="_blank">Support</a></li> </ul> </div> </div> </div> <script src="../assets/vendor/prettify/prettify-min.js"></script> <script>prettyPrint();</script> <script src="../assets/js/yui-prettify.js"></script> <script src="../assets/../api.js"></script> <script src="../assets/js/api-filter.js"></script> <script src="../assets/js/api-list.js"></script> <script src="../assets/js/api-search.js"></script> <script src="../assets/js/apidocs.js"></script> </body> </html>
poi-3.14/docs/apidocs/org/apache/poi/hpbf/extractor/package-frame.html
Sebaxtian/KDD
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> org.apache.poi.hpbf.extractor (POI API Documentation) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> </HEAD> <BODY BGCOLOR="white"> <FONT size="+1" CLASS="FrameTitleFont"> <A HREF="../../../../../org/apache/poi/hpbf/extractor/package-summary.html" target="classFrame">org.apache.poi.hpbf.extractor</A></FONT> <TABLE BORDER="0" WIDTH="100%" SUMMARY=""> <TR> <TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont"> Classes</FONT>&nbsp; <FONT CLASS="FrameItemFont"> <BR> <A HREF="PublisherTextExtractor.html" title="class in org.apache.poi.hpbf.extractor" target="classFrame">PublisherTextExtractor</A></FONT></TD> </TR> </TABLE> </BODY> </HTML>
main/libc/unix/linux_like/constant.LC_MESSAGES_MASK.html
malept/guardhaus
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=../../../libc/constant.LC_MESSAGES_MASK.html"> </head> <body> <p>Redirecting to <a href="../../../libc/constant.LC_MESSAGES_MASK.html">../../../libc/constant.LC_MESSAGES_MASK.html</a>...</p> <script>location.replace("../../../libc/constant.LC_MESSAGES_MASK.html" + location.search + location.hash);</script> </body> </html>
static/joli/layout-frame-left.html
52lemon/beeadmin
<!DOCTYPE html> <html lang="en"> <head> <!-- META SECTION --> <title>Joli Admin - Responsive Bootstrap Admin Template</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="icon" href="favicon.ico" type="image/x-icon" /> <!-- END META SECTION --> <!-- CSS INCLUDE --> <link rel="stylesheet" type="text/css" id="theme" href="css/theme-default.css"/> <!-- EOF CSS INCLUDE --> </head> <body> <!-- START PAGE CONTAINER --> <div class="page-container"> <!-- START PAGE SIDEBAR --> <div class="page-sidebar"> <!-- START X-NAVIGATION --> <ul class="x-navigation"> <li class="xn-logo"> <a href="index.html">Joli Admin</a> <a href="#" class="x-navigation-control"></a> </li> <li class="xn-profile"> <a href="#" class="profile-mini"> <img src="assets/images/users/avatar.jpg" alt="John Doe"/> </a> <div class="profile"> <div class="profile-image"> <img src="assets/images/users/avatar.jpg" alt="John Doe"/> </div> <div class="profile-data"> <div class="profile-data-name">John Doe</div> <div class="profile-data-title">Web Developer/Designer</div> </div> <div class="profile-controls"> <a href="pages-profile.html" class="profile-control-left"><span class="fa fa-info"></span></a> <a href="pages-messages.html" class="profile-control-right"><span class="fa fa-envelope"></span></a> </div> </div> </li> <li class="xn-title">Navigation</li> <li> <a href="index.html"><span class="fa fa-desktop"></span> <span class="xn-text">Dashboard</span></a> </li> <li class="xn-openable"> <a href="#"><span class="fa fa-files-o"></span> <span class="xn-text">Pages</span></a> <ul> <li><a href="pages-gallery.html"><span class="fa fa-image"></span> Gallery</a></li> <li><a href="pages-profile.html"><span class="fa fa-user"></span> Profile</a></li> <li><a href="pages-address-book.html"><span class="fa fa-users"></span> Address Book</a></li> <li class="xn-openable"> <a href="#"><span class="fa fa-clock-o"></span> Timeline</a> <ul> <li><a href="pages-timeline.html"><span class="fa fa-align-center"></span> Default</a></li> <li><a href="pages-timeline-simple.html"><span class="fa fa-align-justify"></span> Full Width</a></li> </ul> </li> <li class="xn-openable"> <a href="#"><span class="fa fa-envelope"></span> Mailbox</a> <ul> <li><a href="pages-mailbox-inbox.html"><span class="fa fa-inbox"></span> Inbox</a></li> <li><a href="pages-mailbox-message.html"><span class="fa fa-file-text"></span> Message</a></li> <li><a href="pages-mailbox-compose.html"><span class="fa fa-pencil"></span> Compose</a></li> </ul> </li> <li><a href="pages-messages.html"><span class="fa fa-comments"></span> Messages</a></li> <li><a href="pages-calendar.html"><span class="fa fa-calendar"></span> Calendar</a></li> <li><a href="pages-tasks.html"><span class="fa fa-edit"></span> Tasks</a></li> <li><a href="pages-content-table.html"><span class="fa fa-columns"></span> Content Table</a></li> <li><a href="pages-faq.html"><span class="fa fa-question-circle"></span> FAQ</a></li> <li><a href="pages-search.html"><span class="fa fa-search"></span> Search</a></li> <li class="xn-openable"> <a href="#"><span class="fa fa-file"></span> Blog</a> <ul> <li><a href="pages-blog-list.html"><span class="fa fa-copy"></span> List of Posts</a></li> <li><a href="pages-blog-post.html"><span class="fa fa-file-o"></span>Single Post</a></li> </ul> </li> <li class="xn-openable"> <a href="#"><span class="fa fa-sign-in"></span> Login</a> <ul> <li><a href="pages-login.html">App Login</a></li> <li><a href="pages-login-website.html">Website Login</a></li> <li><a href="pages-login-website-light.html"> Website Login Light</a></li> </ul> </li> <li class="xn-openable"> <a href="#"><span class="fa fa-warning"></span> Error Pages</a> <ul> <li><a href="pages-error-404.html">Error 404 Sample 1</a></li> <li><a href="pages-error-404-2.html">Error 404 Sample 2</a></li> <li><a href="pages-error-500.html"> Error 500</a></li> </ul> </li> </ul> </li> <li class="xn-openable active"> <a href="#"><span class="fa fa-file-text-o"></span> <span class="xn-text">Layouts</span></a> <ul> <li><a href="layout-boxed.html">Boxed</a></li> <li><a href="layout-nav-toggled.html">Navigation Toggled</a></li> <li><a href="layout-nav-top.html">Navigation Top</a></li> <li><a href="layout-nav-right.html">Navigation Right</a></li> <li><a href="layout-nav-top-fixed.html">Top Navigation Fixed</a></li> <li><a href="layout-nav-custom.html">Custom Navigation</a></li> <li class="active"><a href="layout-frame-left.html">Frame Left Column</a></li> <li><a href="layout-frame-right.html">Frame Right Column</a></li> <li><a href="layout-search-left.html">Search Left Side</a></li> <li><a href="blank.html">Blank Page</a></li> </ul> </li> <li class="xn-title">Components</li> <li class="xn-openable"> <a href="#"><span class="fa fa-cogs"></span> <span class="xn-text">UI Kits</span></a> <ul> <li><a href="ui-widgets.html"><span class="fa fa-heart"></span> Widgets</a></li> <li><a href="ui-elements.html"><span class="fa fa-cogs"></span> Elements</a></li> <li><a href="ui-buttons.html"><span class="fa fa-square-o"></span> Buttons</a></li> <li><a href="ui-panels.html"><span class="fa fa-pencil-square-o"></span> Panels</a></li> <li><a href="ui-icons.html"><span class="fa fa-magic"></span> Icons</a><div class="informer informer-warning">+679</div></li> <li><a href="ui-typography.html"><span class="fa fa-pencil"></span> Typography</a></li> <li><a href="ui-portlet.html"><span class="fa fa-th"></span> Portlet</a></li> <li><a href="ui-sliders.html"><span class="fa fa-arrows-h"></span> Sliders</a></li> <li><a href="ui-alerts-popups.html"><span class="fa fa-warning"></span> Alerts & Popups</a></li> <li><a href="ui-lists.html"><span class="fa fa-list-ul"></span> Lists</a></li> <li><a href="ui-tour.html"><span class="fa fa-random"></span> Tour</a></li> </ul> </li> <li class="xn-openable"> <a href="#"><span class="fa fa-pencil"></span> <span class="xn-text">Forms</span></a> <ul> <li> <a href="form-layouts-two-column.html"><span class="fa fa-tasks"></span> Form Layouts</a> <div class="informer informer-danger">New</div> <ul> <li><a href="form-layouts-one-column.html"><span class="fa fa-align-justify"></span> One Column</a></li> <li><a href="form-layouts-two-column.html"><span class="fa fa-th-large"></span> Two Column</a></li> <li><a href="form-layouts-tabbed.html"><span class="fa fa-table"></span> Tabbed</a></li> <li><a href="form-layouts-separated.html"><span class="fa fa-th-list"></span> Separated Rows</a></li> </ul> </li> <li><a href="form-elements.html"><span class="fa fa-file-text-o"></span> Elements</a></li> <li><a href="form-validation.html"><span class="fa fa-list-alt"></span> Validation</a></li> <li><a href="form-wizards.html"><span class="fa fa-arrow-right"></span> Wizards</a></li> <li><a href="form-editors.html"><span class="fa fa-text-width"></span> WYSIWYG Editors</a></li> <li><a href="form-file-handling.html"><span class="fa fa-floppy-o"></span> File Handling</a></li> </ul> </li> <li class="xn-openable"> <a href="tables.html"><span class="fa fa-table"></span> <span class="xn-text">Tables</span></a> <ul> <li><a href="table-basic.html"><span class="fa fa-align-justify"></span> Basic</a></li> <li><a href="table-datatables.html"><span class="fa fa-sort-alpha-desc"></span> Data Tables</a></li> <li><a href="table-export.html"><span class="fa fa-download"></span> Export Tables</a></li> </ul> </li> <li class="xn-openable"> <a href="#"><span class="fa fa-bar-chart-o"></span> <span class="xn-text">Charts</span></a> <ul> <li><a href="charts-morris.html"><span class="xn-text">Morris</span></a></li> <li><a href="charts-nvd3.html"><span class="xn-text">NVD3</span></a></li> <li><a href="charts-rickshaw.html"><span class="xn-text">Rickshaw</span></a></li> <li><a href="charts-other.html"><span class="xn-text">Other</span></a></li> </ul> </li> <li> <a href="maps.html"><span class="fa fa-map-marker"></span> <span class="xn-text">Maps</span></a> </li> <li class="xn-openable"> <a href="#"><span class="fa fa-sitemap"></span> <span class="xn-text">Navigation Levels</span></a> <ul> <li class="xn-openable"> <a href="#">Second Level</a> <ul> <li class="xn-openable"> <a href="#">Third Level</a> <ul> <li class="xn-openable"> <a href="#">Fourth Level</a> <ul> <li><a href="#">Fifth Level</a></li> </ul> </li> </ul> </li> </ul> </li> </ul> </li> </ul> <!-- END X-NAVIGATION --> </div> <!-- END PAGE SIDEBAR --> <!-- PAGE CONTENT --> <div class="page-content"> <!-- START X-NAVIGATION VERTICAL --> <ul class="x-navigation x-navigation-horizontal x-navigation-panel"> <!-- TOGGLE NAVIGATION --> <li class="xn-icon-button"> <a href="#" class="x-navigation-minimize"><span class="fa fa-dedent"></span></a> </li> <!-- END TOGGLE NAVIGATION --> <!-- SEARCH --> <li class="xn-search"> <form role="form"> <input type="text" name="search" placeholder="Search..."/> </form> </li> <!-- END SEARCH --> <!-- SIGN OUT --> <li class="xn-icon-button pull-right"> <a href="#" class="mb-control" data-box="#mb-signout"><span class="fa fa-sign-out"></span></a> </li> <!-- END SIGN OUT --> <!-- MESSAGES --> <li class="xn-icon-button pull-right"> <a href="#"><span class="fa fa-comments"></span></a> <div class="informer informer-danger">4</div> <div class="panel panel-primary animated zoomIn xn-drop-left xn-panel-dragging"> <div class="panel-heading"> <h3 class="panel-title"><span class="fa fa-comments"></span> Messages</h3> <div class="pull-right"> <span class="label label-danger">4 new</span> </div> </div> <div class="panel-body list-group list-group-contacts scroll" style="height: 200px;"> <a href="#" class="list-group-item"> <div class="list-group-status status-online"></div> <img src="assets/images/users/user2.jpg" class="pull-left" alt="John Doe"/> <span class="contacts-title">John Doe</span> <p>Praesent placerat tellus id augue condimentum</p> </a> <a href="#" class="list-group-item"> <div class="list-group-status status-away"></div> <img src="assets/images/users/user.jpg" class="pull-left" alt="Dmitry Ivaniuk"/> <span class="contacts-title">Dmitry Ivaniuk</span> <p>Donec risus sapien, sagittis et magna quis</p> </a> <a href="#" class="list-group-item"> <div class="list-group-status status-away"></div> <img src="assets/images/users/user3.jpg" class="pull-left" alt="Nadia Ali"/> <span class="contacts-title">Nadia Ali</span> <p>Mauris vel eros ut nunc rhoncus cursus sed</p> </a> <a href="#" class="list-group-item"> <div class="list-group-status status-offline"></div> <img src="assets/images/users/user6.jpg" class="pull-left" alt="Darth Vader"/> <span class="contacts-title">Darth Vader</span> <p>I want my money back!</p> </a> </div> <div class="panel-footer text-center"> <a href="pages-messages.html">Show all messages</a> </div> </div> </li> <!-- END MESSAGES --> <!-- TASKS --> <li class="xn-icon-button pull-right"> <a href="#"><span class="fa fa-tasks"></span></a> <div class="informer informer-warning">3</div> <div class="panel panel-primary animated zoomIn xn-drop-left xn-panel-dragging"> <div class="panel-heading"> <h3 class="panel-title"><span class="fa fa-tasks"></span> Tasks</h3> <div class="pull-right"> <span class="label label-warning">3 active</span> </div> </div> <div class="panel-body list-group scroll" style="height: 200px;"> <a class="list-group-item" href="#"> <strong>Phasellus augue arcu, elementum</strong> <div class="progress progress-small progress-striped active"> <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;">50%</div> </div> <small class="text-muted">John Doe, 25 Sep 2014 / 50%</small> </a> <a class="list-group-item" href="#"> <strong>Aenean ac cursus</strong> <div class="progress progress-small progress-striped active"> <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%;">80%</div> </div> <small class="text-muted">Dmitry Ivaniuk, 24 Sep 2014 / 80%</small> </a> <a class="list-group-item" href="#"> <strong>Lorem ipsum dolor</strong> <div class="progress progress-small progress-striped active"> <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="95" aria-valuemin="0" aria-valuemax="100" style="width: 95%;">95%</div> </div> <small class="text-muted">John Doe, 23 Sep 2014 / 95%</small> </a> <a class="list-group-item" href="#"> <strong>Cras suscipit ac quam at tincidunt.</strong> <div class="progress progress-small"> <div class="progress-bar" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%;">100%</div> </div> <small class="text-muted">John Doe, 21 Sep 2014 /</small><small class="text-success"> Done</small> </a> </div> <div class="panel-footer text-center"> <a href="pages-tasks.html">Show all tasks</a> </div> </div> </li> <!-- END TASKS --> </ul> <!-- END X-NAVIGATION VERTICAL --> <!-- START BREADCRUMB --> <ul class="breadcrumb push-down-0"> <li><a href="#">Home</a></li> <li><a href="#">Layouts</a></li> <li class="active">Frame Left Column</li> </ul> <!-- END BREADCRUMB --> <!-- START CONTENT FRAME --> <div class="content-frame"> <!-- START CONTENT FRAME TOP --> <div class="content-frame-top"> <div class="page-title"> <h2><span class="fa fa-arrow-circle-o-left"></span> Frame Title</h2> </div> <div class="pull-right"> <button class="btn btn-default content-frame-left-toggle"><span class="fa fa-bars"></span></button> </div> </div> <!-- END CONTENT FRAME TOP --> <!-- START CONTENT FRAME LEFT --> <div class="content-frame-left"> <div class="panel panel-default"> <div class="panel-body"> <h3 class="push-up-0">Left Column</h3> Left side disappear on mobile devices, and can be shown by pressing toggle button. </div> </div> </div> <!-- END CONTENT FRAME LEFT --> <!-- START CONTENT FRAME BODY --> <div class="content-frame-body"> <div class="panel panel-default"> <div class="panel-body"> <h3>Responsive Body</h3> This is responsive frame body. Can be used for all elements of template. </div> </div> </div> <!-- END CONTENT FRAME BODY --> </div> <!-- END CONTENT FRAME --> </div> <!-- END PAGE CONTENT --> </div> <!-- END PAGE CONTAINER --> <!-- MESSAGE BOX--> <div class="message-box animated fadeIn" data-sound="alert" id="mb-signout"> <div class="mb-container"> <div class="mb-middle"> <div class="mb-title"><span class="fa fa-sign-out"></span> Log <strong>Out</strong> ?</div> <div class="mb-content"> <p>Are you sure you want to log out?</p> <p>Press No if youwant to continue work. Press Yes to logout current user.</p> </div> <div class="mb-footer"> <div class="pull-right"> <a href="pages-login.html" class="btn btn-success btn-lg">Yes</a> <button class="btn btn-default btn-lg mb-control-close">No</button> </div> </div> </div> </div> </div> <!-- END MESSAGE BOX--> <!-- START PRELOADS --> <audio id="audio-alert" src="audio/alert.mp3" preload="auto"></audio> <audio id="audio-fail" src="audio/fail.mp3" preload="auto"></audio> <!-- END PRELOADS --> <!-- START SCRIPTS --> <!-- START PLUGINS --> <script type="text/javascript" src="js/plugins/jquery/jquery.min.js"></script> <script type="text/javascript" src="js/plugins/jquery/jquery-ui.min.js"></script> <script type="text/javascript" src="js/plugins/bootstrap/bootstrap.min.js"></script> <!-- END PLUGINS --> <!-- THIS PAGE PLUGINS --> <script type='text/javascript' src='js/plugins/icheck/icheck.min.js'></script> <script type="text/javascript" src="js/plugins/mcustomscrollbar/jquery.mCustomScrollbar.min.js"></script> <!-- END PAGE PLUGINS --> <!-- START TEMPLATE --> <script type="text/javascript" src="js/settings.js"></script> <script type="text/javascript" src="js/plugins.js"></script> <script type="text/javascript" src="js/actions.js"></script> <!-- END TEMPLATE --> <!-- END SCRIPTS --> </body> </html>
src/bower_components/bootstrap/node_modules/npm-shrinkwrap/node_modules/npm/html/doc/cli/npm-uninstall.html
maocubillos/pnt2015
<!doctype html> <html> <title>npm-uninstall</title> <meta http-equiv="content-type" value="text/html;utf-8"> <link rel="stylesheet" type="text/css" href="../../static/style.css"> <link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-uninstall.html"> <script async=true src="../../static/toc.js"></script> <body> <div id="wrapper"> <h1><a href="../cli/npm-rm.html">npm-rm</a></h1> <p>Remove a package</p> <h2 id="synopsis">SYNOPSIS</h2> <pre><code>npm uninstall [@&lt;scope&gt;/]&lt;package&gt; [--save|--save-dev|--save-optional] npm rm (with any of the previous argument usage) </code></pre><h2 id="description">DESCRIPTION</h2> <p>This uninstalls a package, completely removing everything npm installed on its behalf.</p> <p>Example:</p> <pre><code>npm uninstall sax </code></pre><p>In global mode (ie, with <code>-g</code> or <code>--global</code> appended to the command), it uninstalls the current package context as a global package.</p> <p><code>npm uninstall</code> takes 3 exclusive, optional flags which save or update the package version in your main package.json:</p> <ul> <li><p><code>--save</code>: Package will be removed from your <code>dependencies</code>.</p> </li> <li><p><code>--save-dev</code>: Package will be removed from your <code>devDependencies</code>.</p> </li> <li><p><code>--save-optional</code>: Package will be removed from your <code>optionalDependencies</code>.</p> </li> </ul> <p>Scope is optional and follows the usual rules for <code><a href="../misc/npm-scope.html"><a href="../misc/npm-scope.html">npm-scope(7)</a></a></code>.</p> <p>Examples:</p> <pre><code>npm uninstall sax --save npm uninstall @myorg/privatepackage --save npm uninstall node-tap --save-dev npm uninstall dtrace-provider --save-optional </code></pre><h2 id="see-also">SEE ALSO</h2> <ul> <li><a href="../cli/npm-prune.html"><a href="../cli/npm-prune.html">npm-prune(1)</a></a></li> <li><a href="../cli/npm-install.html"><a href="../cli/npm-install.html">npm-install(1)</a></a></li> <li><a href="../files/npm-folders.html"><a href="../files/npm-folders.html">npm-folders(5)</a></a></li> <li><a href="../cli/npm-config.html"><a href="../cli/npm-config.html">npm-config(1)</a></a></li> <li><a href="../misc/npm-config.html"><a href="../misc/npm-config.html">npm-config(7)</a></a></li> <li><a href="../files/npmrc.html"><a href="../files/npmrc.html">npmrc(5)</a></a></li> </ul> </div> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <tr><td style="width:180px;height:10px;background:rgb(237,127,127)" colspan=18>&nbsp;</td></tr> <tr><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td colspan=6 style="width:60px;height:10px;background:#fff">&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td></tr> <tr><td colspan=2 style="width:20px;height:30px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=4 colspan=2>&nbsp;</td><td style="width:10px;height:20px;background:rgb(237,127,127)" rowspan=2>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=3 colspan=2>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td></tr> <tr><td style="width:10px;height:10px;background:#fff" rowspan=2>&nbsp;</td></tr> <tr><td style="width:10px;height:10px;background:#fff">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> </table> <p id="footer">npm-uninstall &mdash; npm@2.7.3</p>
wa-apps/photos/themes/nifty/navigation.html
slowpokes/webasyst-framework
<!-- info pages --> {$photos_pages=$wa->photos->pages()} {if $photos_pages} <div class="float-right"> {wa_print_tree tree=$photos_pages class="menu-h dropdown" attrs = 'id="page-list"' elem =' <a href=":url" title=":title">:name</a>' collapsible_class='collapsible' selected=$wa->param('page_id')} </div> {/if} <ul class="menu-h dropdown"> <!-- core filters --> <li {if $wa->currentUrl() == $wa_app_url} class="bold"{/if}> <a href="{$wa_app_url}">[`Photostream`]</a> </li> <li {if $wa->param('action') neq 'page' && $wa->param('action') neq 'album' && $wa->param('hash') == 'favorites'} class="bold"{/if}> <a href="{$wa_app_url}favorites/">[`Editors’ choice`]</a> </li> <!-- plugins --> {* @event frontend_sidebar.%plugin_id%.menu *} {foreach $frontend_sidebar as $plugin_id => $item}{if !empty($item.menu)} <li>{$item.menu}</li> {/if}{/foreach} <!-- albums --> {if $albums = $wa->photos->albums(0)} <li class="collapsible"> <a href="#" onClick="return false">[`Albums`]</a> {wa_print_tree tree=$albums unfolded=true collapsible_class='collapsible' class="menu-v album-tree" elem ='<a href=":url" title=":name">:name</a>'} </li> {/if} <!-- tags --> {if $cloud = $wa->photos->tags()} <li class="collapsible"> <a href="#" onClick="return false">[`Tags`]</a> <div class="inner shadowed"> <div class="tags block align-center"> {foreach $cloud as $tag} <a href="{$wa_app_url}tag/{$tag.uri_name}/" style="font-size: {$tag.size}%; opacity: {$tag.opacity}">{$tag.name|escape}</a> {/foreach} </div> </div> </li> {/if} <!-- more plugins --> {* @event frontend_sidebar.%plugin_id%.section *} {foreach $frontend_sidebar as $plugin => $output} {if !empty($output.section)} <li class="collapsible"> <a href="#" onClick="return false"> {if substr($plugin, -7) == '-plugin'}{$wa->pluginName(substr($plugin, 0, -7))}{else}[`More`]{/if} </a> <div class="inner shadowed"> {$output.section} </div> </li> {/if} {/foreach} </ul> <div class="clear-both"></div>
src/app/frontend/persistentvolumelist/persistentvolumecard.html
tangfeixiong/dashboard
<!-- Copyright 2015 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <kd-resource-card object-meta="$ctrl.persistentVolume.objectMeta" type-meta="$ctrl.persistentVolume.typeMeta"> <kd-resource-card-columns> <kd-resource-card-column> <div> <a ng-href="{{::$ctrl.getPersistentVolumeDetailHref()}}" class="kd-middle-ellipsised-link"> <kd-middle-ellipsis display-string="{{$ctrl.persistentVolume.objectMeta.name}}"> </kd-middle-ellipsis> </a> </div> </kd-resource-card-column> <kd-resource-card-column> <kd-labels labels="::$ctrl.persistentVolume.objectMeta.labels"></kd-labels> </kd-resource-card-column> <kd-resource-card-column> <kd-middle-ellipsis ng-repeat="(key, value) in ::$ctrl.persistentVolume.capacity" display-string="{{::value}}"> </kd-middle-ellipsis> <div ng-hide="::$ctrl.persistentVolume.capacity">-</div> </kd-resource-card-column> <kd-resource-card-column> <kd-middle-ellipsis ng-repeat="(key, value) in ::$ctrl.persistentVolume.accessModes" display-string="{{::value}}"> </kd-middle-ellipsis> <div ng-hide="::$ctrl.persistentVolume.accessModes">-</div> </kd-resource-card-column> <kd-resource-card-column> <kd-middle-ellipsis display-string="{{$ctrl.persistentVolume.status}}"> </kd-middle-ellipsis> <div ng-hide="::$ctrl.persistentVolume.status">-</div> </kd-resource-card-column> <kd-resource-card-column> <kd-middle-ellipsis display-string="{{$ctrl.persistentVolume.claim}}"> </kd-middle-ellipsis> <div ng-hide="::$ctrl.persistentVolume.claim">-</div> </kd-resource-card-column> <kd-resource-card-column> <kd-middle-ellipsis display-string="{{$ctrl.persistentVolume.reason}}"> </kd-middle-ellipsis> <div ng-hide="::$ctrl.persistentVolume.reason">-</div> </kd-resource-card-column> <kd-resource-card-column> {{::$ctrl.persistentVolume.objectMeta.creationTimestamp | relativeTime}} <md-tooltip> {{::$ctrl.getCreatedAtTooltip($ctrl.persistentVolume.objectMeta.creationTimestamp)}} </md-tooltip> </kd-resource-card-column> <kd-resource-card-column class="kd-row-layout-column kd-icon-column"> <kd-resource-card-menu> <kd-resource-card-delete-menu-item resource-kind-name="[[Persistent Volume|Label 'Persistent Volume' which will appear in the persistent volume delete dialog opened from a persistentvolume card on the list page.]]"> </kd-resource-card-delete-menu-item> <kd-resource-card-edit-menu-item resource-kind-name="[[Persistent Volume|Label 'Persistent Volume' which will appear in the persistent volume delete dialog opened from a persistentvolume card on the list page.]]"> </kd-resource-card-edit-menu-item> </kd-resource-card-menu> </kd-resource-card-column> </kd-resource-card-columns> </kd-resource-card>
venv/bin/doc/html/boost_asio/reference/ip__basic_resolver_query.html
NixaSoftware/CVis
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>ip::basic_resolver_query</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../boost_asio.html" title="Boost.Asio"> <link rel="up" href="../reference.html" title="Reference"> <link rel="prev" href="ip__basic_resolver_iterator/value_type.html" title="ip::basic_resolver_iterator::value_type"> <link rel="next" href="ip__basic_resolver_query/address_configured.html" title="ip::basic_resolver_query::address_configured"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> <td align="center"><a href="../../../../index.html">Home</a></td> <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="ip__basic_resolver_iterator/value_type.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ip__basic_resolver_query/address_configured.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h3 class="title"> <a name="boost_asio.reference.ip__basic_resolver_query"></a><a class="link" href="ip__basic_resolver_query.html" title="ip::basic_resolver_query">ip::basic_resolver_query</a> </h3></div></div></div> <p> An query to be passed to a resolver. </p> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <span class="keyword">typename</span> <a class="link" href="InternetProtocol.html" title="Internet protocol requirements">InternetProtocol</a><span class="special">&gt;</span> <span class="keyword">class</span> <span class="identifier">basic_resolver_query</span> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">ip</span><span class="special">::</span><span class="identifier">resolver_query_base</span> </pre> <h5> <a name="boost_asio.reference.ip__basic_resolver_query.h0"></a> <span class="phrase"><a name="boost_asio.reference.ip__basic_resolver_query.types"></a></span><a class="link" href="ip__basic_resolver_query.html#boost_asio.reference.ip__basic_resolver_query.types">Types</a> </h5> <div class="informaltable"><table class="table"> <colgroup> <col> <col> </colgroup> <thead><tr> <th> <p> Name </p> </th> <th> <p> Description </p> </th> </tr></thead> <tbody> <tr> <td> <p> <a class="link" href="ip__basic_resolver_query/flags.html" title="ip::basic_resolver_query::flags"><span class="bold"><strong>flags</strong></span></a> </p> </td> <td> <p> A bitmask type (C++ Std [lib.bitmask.types]). </p> </td> </tr> <tr> <td> <p> <a class="link" href="ip__basic_resolver_query/protocol_type.html" title="ip::basic_resolver_query::protocol_type"><span class="bold"><strong>protocol_type</strong></span></a> </p> </td> <td> <p> The protocol type associated with the endpoint query. </p> </td> </tr> </tbody> </table></div> <h5> <a name="boost_asio.reference.ip__basic_resolver_query.h1"></a> <span class="phrase"><a name="boost_asio.reference.ip__basic_resolver_query.member_functions"></a></span><a class="link" href="ip__basic_resolver_query.html#boost_asio.reference.ip__basic_resolver_query.member_functions">Member Functions</a> </h5> <div class="informaltable"><table class="table"> <colgroup> <col> <col> </colgroup> <thead><tr> <th> <p> Name </p> </th> <th> <p> Description </p> </th> </tr></thead> <tbody> <tr> <td> <p> <a class="link" href="ip__basic_resolver_query/basic_resolver_query.html" title="ip::basic_resolver_query::basic_resolver_query"><span class="bold"><strong>basic_resolver_query</strong></span></a> </p> </td> <td> <p> Construct with specified service name for any protocol. </p> <p> Construct with specified service name for a given protocol. </p> <p> Construct with specified host name and service name for any protocol. </p> <p> Construct with specified host name and service name for a given protocol. </p> </td> </tr> <tr> <td> <p> <a class="link" href="ip__basic_resolver_query/hints.html" title="ip::basic_resolver_query::hints"><span class="bold"><strong>hints</strong></span></a> </p> </td> <td> <p> Get the hints associated with the query. </p> </td> </tr> <tr> <td> <p> <a class="link" href="ip__basic_resolver_query/host_name.html" title="ip::basic_resolver_query::host_name"><span class="bold"><strong>host_name</strong></span></a> </p> </td> <td> <p> Get the host name associated with the query. </p> </td> </tr> <tr> <td> <p> <a class="link" href="ip__basic_resolver_query/service_name.html" title="ip::basic_resolver_query::service_name"><span class="bold"><strong>service_name</strong></span></a> </p> </td> <td> <p> Get the service name associated with the query. </p> </td> </tr> </tbody> </table></div> <h5> <a name="boost_asio.reference.ip__basic_resolver_query.h2"></a> <span class="phrase"><a name="boost_asio.reference.ip__basic_resolver_query.data_members"></a></span><a class="link" href="ip__basic_resolver_query.html#boost_asio.reference.ip__basic_resolver_query.data_members">Data Members</a> </h5> <div class="informaltable"><table class="table"> <colgroup> <col> <col> </colgroup> <thead><tr> <th> <p> Name </p> </th> <th> <p> Description </p> </th> </tr></thead> <tbody> <tr> <td> <p> <a class="link" href="ip__basic_resolver_query/address_configured.html" title="ip::basic_resolver_query::address_configured"><span class="bold"><strong>address_configured</strong></span></a> </p> </td> <td> <p> Only return IPv4 addresses if a non-loopback IPv4 address is configured for the system. Only return IPv6 addresses if a non-loopback IPv6 address is configured for the system. </p> </td> </tr> <tr> <td> <p> <a class="link" href="ip__basic_resolver_query/all_matching.html" title="ip::basic_resolver_query::all_matching"><span class="bold"><strong>all_matching</strong></span></a> </p> </td> <td> <p> If used with v4_mapped, return all matching IPv6 and IPv4 addresses. </p> </td> </tr> <tr> <td> <p> <a class="link" href="ip__basic_resolver_query/canonical_name.html" title="ip::basic_resolver_query::canonical_name"><span class="bold"><strong>canonical_name</strong></span></a> </p> </td> <td> <p> Determine the canonical name of the host specified in the query. </p> </td> </tr> <tr> <td> <p> <a class="link" href="ip__basic_resolver_query/numeric_host.html" title="ip::basic_resolver_query::numeric_host"><span class="bold"><strong>numeric_host</strong></span></a> </p> </td> <td> <p> Host name should be treated as a numeric string defining an IPv4 or IPv6 address and no name resolution should be attempted. </p> </td> </tr> <tr> <td> <p> <a class="link" href="ip__basic_resolver_query/numeric_service.html" title="ip::basic_resolver_query::numeric_service"><span class="bold"><strong>numeric_service</strong></span></a> </p> </td> <td> <p> Service name should be treated as a numeric string defining a port number and no name resolution should be attempted. </p> </td> </tr> <tr> <td> <p> <a class="link" href="ip__basic_resolver_query/passive.html" title="ip::basic_resolver_query::passive"><span class="bold"><strong>passive</strong></span></a> </p> </td> <td> <p> Indicate that returned endpoint is intended for use as a locally bound socket endpoint. </p> </td> </tr> <tr> <td> <p> <a class="link" href="ip__basic_resolver_query/v4_mapped.html" title="ip::basic_resolver_query::v4_mapped"><span class="bold"><strong>v4_mapped</strong></span></a> </p> </td> <td> <p> If the query protocol family is specified as IPv6, return IPv4-mapped IPv6 addresses on finding no IPv6 addresses. </p> </td> </tr> </tbody> </table></div> <p> The <a class="link" href="ip__basic_resolver_query.html" title="ip::basic_resolver_query"><code class="computeroutput"><span class="identifier">ip</span><span class="special">::</span><span class="identifier">basic_resolver_query</span></code></a> class template describes a query that can be passed to a resolver. </p> <h5> <a name="boost_asio.reference.ip__basic_resolver_query.h3"></a> <span class="phrase"><a name="boost_asio.reference.ip__basic_resolver_query.thread_safety"></a></span><a class="link" href="ip__basic_resolver_query.html#boost_asio.reference.ip__basic_resolver_query.thread_safety">Thread Safety</a> </h5> <p> <span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe. </p> <p> <span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Unsafe. </p> <h5> <a name="boost_asio.reference.ip__basic_resolver_query.h4"></a> <span class="phrase"><a name="boost_asio.reference.ip__basic_resolver_query.requirements"></a></span><a class="link" href="ip__basic_resolver_query.html#boost_asio.reference.ip__basic_resolver_query.requirements">Requirements</a> </h5> <p> <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/ip/basic_resolver_query.hpp</code> </p> <p> <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code> </p> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2003-2013 Christopher M. Kohlhoff<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="ip__basic_resolver_iterator/value_type.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ip__basic_resolver_query/address_configured.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
src/java/org/apache/fop/fo/pagination/package.html
Distrotech/fop
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- $Id$ --> <HTML> <TITLE>org.apache.fop.fo.pagination Package</TITLE> <BODY> <P>All the pagination and declaration formatting objects.</P> </BODY> </HTML>
projects/web/web-engine/prototype/styles/common/gadgets/og.common.gadgets.OG-curve.css
McLeodMoores/starling
/** * Copyright 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * Please see distribution for license. */ .og-curve-tooltip { opacity: 0.5; position: absolute; background: #000; padding: 2px; display: none; border: 1px solid #fff; zIndex: 5; } .og-curve-tooltip td{ color: #fff; } .og-curve-plot { background: #fff; }
Hackathon-111/SecurityController/confd-6.6/doc/api/python/confd.maapi.html
kimjinyong/i2nsf-framework
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><title>Python: module confd.maapi</title> </head><body bgcolor="#f0f0f8"> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> <tr bgcolor="#7799ee"> <td valign=bottom>&nbsp;<br> <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="confd.html"><font color="#ffffff">confd</font></a>.maapi</strong></big></big></font></td ><td align=right valign=bottom ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/lab/build/tailf-src/confddoc.confdbasic.confd-6.6-x86_64/confd_dir/src/confd/pyapi/confd/maapi.py">/lab/build/tailf-src/confddoc.confdbasic.confd-6.6-x86_64/confd_dir/src/confd/pyapi/confd/maapi.py</a></font></td></tr></table> <p><tt>MAAPI&nbsp;high&nbsp;level&nbsp;module.<br> &nbsp;<br> This&nbsp;module&nbsp;defines&nbsp;a&nbsp;high&nbsp;level&nbsp;interface&nbsp;to&nbsp;the&nbsp;low-level&nbsp;maapi&nbsp;functions.<br> &nbsp;<br> The&nbsp;'<a href="#Maapi">Maapi</a>'&nbsp;class&nbsp;encapsulates&nbsp;a&nbsp;MAAPI&nbsp;connection&nbsp;which&nbsp;upon&nbsp;constructing,<br> sets&nbsp;up&nbsp;a&nbsp;connection&nbsp;towards&nbsp;ConfD/NCS.&nbsp;An&nbsp;example&nbsp;of&nbsp;setting&nbsp;up&nbsp;a&nbsp;transaction<br> and&nbsp;manipulating&nbsp;data:<br> &nbsp;<br> import&nbsp;ncs<br> &nbsp;<br> m&nbsp;=&nbsp;ncs.maapi.<a href="#Maapi">Maapi</a>()<br> m.start_user_session('admin',&nbsp;'test_context')<br> t&nbsp;=&nbsp;m.start_write_trans()<br> t.get_elem('/model/data{one}/str')<br> t.set_elem('testing',&nbsp;'/model/data{one}/str')<br> t.apply()<br> &nbsp;<br> Another&nbsp;way&nbsp;is&nbsp;to&nbsp;use&nbsp;context&nbsp;managers,&nbsp;which&nbsp;will&nbsp;handle&nbsp;all&nbsp;cleanup<br> related&nbsp;to&nbsp;transactions,&nbsp;user&nbsp;sessions&nbsp;and&nbsp;socket&nbsp;connections:<br> &nbsp;<br> with&nbsp;ncs.maapi.<a href="#Maapi">Maapi</a>()&nbsp;as&nbsp;m:<br> &nbsp;&nbsp;&nbsp;&nbsp;with&nbsp;ncs.maapi.<a href="#Session">Session</a>(m,&nbsp;'admin',&nbsp;'test_context'):<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;with&nbsp;m.start_write_trans()&nbsp;as&nbsp;t:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t.get_elem('/model/data{one}/str')<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t.set_elem('testing',&nbsp;'/model/data{one}/str')<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t.apply()<br> &nbsp;<br> Finally,&nbsp;a&nbsp;really&nbsp;compact&nbsp;way&nbsp;of&nbsp;doing&nbsp;this:<br> &nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;with&nbsp;ncs.maapi.<a href="#-single_write_trans">single_write_trans</a>('admin',&nbsp;'test_context')&nbsp;as&nbsp;t:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t.get_elem('/model/data{one}/str')<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t.set_elem('testing',&nbsp;'/model/data{one}/str')<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t.apply()</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#aa55cc"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="_confd.html">_confd</a><br> <a href="contextlib.html">contextlib</a><br> </td><td width="25%" valign=top><a href="socket.html">socket</a><br> <a href="sys.html">sys</a><br> </td><td width="25%" valign=top><a href="threading.html">threading</a><br> <a href="confd.tm.html">confd.tm</a><br> </td><td width="25%" valign=top><a href="traceback.html">traceback</a><br> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> <td width="100%"><dl> <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a> </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="confd.maapi.html#Key">Key</a> </font></dt><dt><font face="helvetica, arial"><a href="confd.maapi.html#Maapi">Maapi</a> </font></dt><dt><font face="helvetica, arial"><a href="confd.maapi.html#Session">Session</a> </font></dt><dt><font face="helvetica, arial"><a href="confd.maapi.html#Transaction">Transaction</a> </font></dt></dl> </dd> </dl> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#000000" face="helvetica, arial"><a name="Key">class <strong>Key</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td> <td colspan=2><tt><a href="#Key">Key</a>&nbsp;string&nbsp;encapsulation&nbsp;and&nbsp;helper.<br>&nbsp;</tt></td></tr> <tr><td>&nbsp;</td> <td width="100%">Methods defined here:<br> <dl><dt><a name="Key-__getitem__"><strong>__getitem__</strong></a>(self, key)</dt><dd><tt>Get&nbsp;key&nbsp;at&nbsp;index&nbsp;'key'.</tt></dd></dl> <dl><dt><a name="Key-__init__"><strong>__init__</strong></a>(self, key, enum_cs_nodes<font color="#909090">=None</font>)</dt><dd><tt>Initialize&nbsp;a&nbsp;key.<br> &nbsp;<br> 'key'&nbsp;may&nbsp;be&nbsp;a&nbsp;string&nbsp;or&nbsp;a&nbsp;list&nbsp;of&nbsp;strings.</tt></dd></dl> <dl><dt><a name="Key-__iter__"><strong>__iter__</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;key&nbsp;iterator&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl> <dl><dt><a name="Key-__len__"><strong>__len__</strong></a>(self)</dt><dd><tt>Get&nbsp;number&nbsp;of&nbsp;keys.</tt></dd></dl> <dl><dt><a name="Key-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get&nbsp;internal&nbsp;representation.</tt></dd></dl> <dl><dt><a name="Key-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>Get&nbsp;string&nbsp;representation.</tt></dd></dl> <hr> Data descriptors defined here:<br> <dl><dt><strong>__dict__</strong></dt> <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd> </dl> <dl><dt><strong>__weakref__</strong></dt> <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd> </dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#000000" face="helvetica, arial"><a name="Maapi">class <strong>Maapi</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td> <td colspan=2><tt>Class&nbsp;encapsulating&nbsp;a&nbsp;MAAPI&nbsp;connection.<br>&nbsp;</tt></td></tr> <tr><td>&nbsp;</td> <td width="100%">Methods defined here:<br> <dl><dt><a name="Maapi-__dir__"><strong>__dir__</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;list&nbsp;of&nbsp;all&nbsp;available&nbsp;methods&nbsp;in&nbsp;<a href="#Maapi">Maapi</a>.</tt></dd></dl> <dl><dt><a name="Maapi-__enter__"><strong>__enter__</strong></a>(self)</dt><dd><tt>Python&nbsp;magic&nbsp;method.</tt></dd></dl> <dl><dt><a name="Maapi-__exit__"><strong>__exit__</strong></a>(self, exc_type, exc_value, tb)</dt><dd><tt>Python&nbsp;magic&nbsp;method.</tt></dd></dl> <dl><dt><a name="Maapi-__getattr__"><strong>__getattr__</strong></a>(self, name)</dt><dd><tt>Python&nbsp;magic&nbsp;method.<br> &nbsp;<br> This&nbsp;method&nbsp;will&nbsp;be&nbsp;called&nbsp;whenever&nbsp;an&nbsp;attribute&nbsp;not&nbsp;present&nbsp;here<br> is&nbsp;accessed.&nbsp;It&nbsp;will&nbsp;try&nbsp;to&nbsp;find&nbsp;a&nbsp;corresponding&nbsp;attribute&nbsp;in&nbsp;the<br> low-level&nbsp;maapi&nbsp;module&nbsp;which&nbsp;takes&nbsp;a&nbsp;maapi&nbsp;socket&nbsp;as&nbsp;the&nbsp;first<br> arument&nbsp;and&nbsp;forward&nbsp;the&nbsp;call&nbsp;there.<br> &nbsp;<br> Example&nbsp;(pseudo&nbsp;code):<br> &nbsp;&nbsp;&nbsp;&nbsp;import&nbsp;ncs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;high-level&nbsp;module<br> &nbsp;&nbsp;&nbsp;&nbsp;import&nbsp;_ncs&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;low-level&nbsp;module<br> &nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;maapi&nbsp;=&nbsp;ncs.maapi.<a href="#Maapi">Maapi</a>()<br> &nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;Now,&nbsp;these&nbsp;two&nbsp;calls&nbsp;are&nbsp;equal:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.&nbsp;maapi.install_crypto_keys()<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.&nbsp;_ncs.maapi.install_crypto_keys(maapi.msock)</tt></dd></dl> <dl><dt><a name="Maapi-__init__"><strong>__init__</strong></a>(self, ip<font color="#909090">='127.0.0.1'</font>, port<font color="#909090">=4565</font>, path<font color="#909090">=None</font>, load_schemas<font color="#909090">=True</font>, msock<font color="#909090">=None</font>)</dt><dd><tt>Setting&nbsp;up&nbsp;a&nbsp;MAAPI&nbsp;socket.</tt></dd></dl> <dl><dt><a name="Maapi-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get&nbsp;internal&nbsp;representation.</tt></dd></dl> <dl><dt><a name="Maapi-apply_template"><strong>apply_template</strong></a>(*args, **kwargs)</dt><dd><tt>Apply&nbsp;a&nbsp;template.</tt></dd></dl> <dl><dt><a name="Maapi-attach"><strong>attach</strong></a>(self, ctx_or_th, hashed_ns<font color="#909090">=0</font>, usid<font color="#909090">=0</font>)</dt><dd><tt>Attach&nbsp;to&nbsp;an&nbsp;existing&nbsp;transaction.<br> &nbsp;<br> 'ctx_or_th'&nbsp;may&nbsp;be&nbsp;either&nbsp;a&nbsp;TransCtxRef&nbsp;or&nbsp;a&nbsp;transaction&nbsp;handle.<br> The&nbsp;'hashed_ns'&nbsp;argument&nbsp;is&nbsp;basically&nbsp;just&nbsp;there&nbsp;to&nbsp;save&nbsp;a&nbsp;call&nbsp;to<br> set_namespace().&nbsp;'usid'&nbsp;is&nbsp;only&nbsp;used&nbsp;if&nbsp;'ctx_or_th'&nbsp;is&nbsp;a&nbsp;transaction<br> handle&nbsp;and&nbsp;if&nbsp;set&nbsp;to&nbsp;0&nbsp;the&nbsp;user&nbsp;session&nbsp;id&nbsp;that&nbsp;is&nbsp;the&nbsp;owner&nbsp;of&nbsp;the<br> transaction&nbsp;will&nbsp;be&nbsp;used.<br> &nbsp;<br> A&nbsp;new&nbsp;<a href="#Transaction">Transaction</a>&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;will&nbsp;be&nbsp;returned.</tt></dd></dl> <dl><dt><a name="Maapi-attach_init"><strong>attach_init</strong></a>(self)</dt><dd><tt>Attach&nbsp;to&nbsp;phase0&nbsp;for&nbsp;CDB&nbsp;initialization&nbsp;and&nbsp;upgrade.</tt></dd></dl> <dl><dt><a name="Maapi-authenticate"><strong>authenticate</strong></a>(self, user, password, n, src_addr<font color="#909090">=None</font>, src_port<font color="#909090">=None</font>, context<font color="#909090">=None</font>, prot<font color="#909090">=None</font>)</dt><dd><tt>Authenticate&nbsp;a&nbsp;user&nbsp;using&nbsp;the&nbsp;AAA&nbsp;configuration.</tt></dd></dl> <dl><dt><a name="Maapi-cursor"><strong>cursor</strong></a>(self, th, path, enum_cs_nodes<font color="#909090">=None</font>, want_values<font color="#909090">=False</font>)</dt><dd><tt>Get&nbsp;an&nbsp;iterable&nbsp;list&nbsp;cursor.</tt></dd></dl> <dl><dt><a name="Maapi-destroy_cursor"><strong>destroy_cursor</strong></a>(self, mc)</dt><dd><tt>Destroy&nbsp;cursor.</tt></dd></dl> <dl><dt><a name="Maapi-detach"><strong>detach</strong></a>(self, ctx_or_th)</dt><dd><tt>Detach&nbsp;the&nbsp;underlying&nbsp;MAAPI&nbsp;socket.</tt></dd></dl> <dl><dt><a name="Maapi-do_display"><strong>do_display</strong></a>(self, th, path)</dt><dd><tt>Do&nbsp;display.<br> &nbsp;<br> If&nbsp;the&nbsp;data&nbsp;model&nbsp;uses&nbsp;the&nbsp;YANG&nbsp;when&nbsp;or&nbsp;tailf:display-when<br> statement,&nbsp;this&nbsp;function&nbsp;can&nbsp;be&nbsp;used&nbsp;to&nbsp;determine&nbsp;if&nbsp;the&nbsp;item<br> given&nbsp;by&nbsp;the&nbsp;path&nbsp;should&nbsp;be&nbsp;displayed&nbsp;or&nbsp;not.</tt></dd></dl> <dl><dt><a name="Maapi-exists"><strong>exists</strong></a>(self, th, path)</dt><dd><tt>Check&nbsp;if&nbsp;path&nbsp;exists.</tt></dd></dl> <dl><dt><a name="Maapi-find_next"><strong>find_next</strong></a>(self, mc, type, inkeys)</dt><dd><tt>Find&nbsp;next.<br> &nbsp;<br> Update&nbsp;the&nbsp;cursor&nbsp;'mc'&nbsp;with&nbsp;the&nbsp;key(s)&nbsp;for&nbsp;the&nbsp;list&nbsp;entry&nbsp;designated<br> by&nbsp;the&nbsp;'type'&nbsp;and&nbsp;'inkeys'&nbsp;arguments.&nbsp;This&nbsp;function&nbsp;may&nbsp;be&nbsp;used&nbsp;to<br> start&nbsp;a&nbsp;traversal&nbsp;from&nbsp;an&nbsp;arbitrary&nbsp;entry&nbsp;in&nbsp;a&nbsp;list.&nbsp;Keys&nbsp;for<br> subsequent&nbsp;entries&nbsp;may&nbsp;be&nbsp;retrieved&nbsp;with&nbsp;the&nbsp;<a href="#Maapi-get_next">get_next</a>()&nbsp;function.<br> When&nbsp;no&nbsp;more&nbsp;keys&nbsp;are&nbsp;found,&nbsp;False&nbsp;is&nbsp;returned.<br> &nbsp;<br> The&nbsp;strategy&nbsp;to&nbsp;use&nbsp;is&nbsp;defined&nbsp;by&nbsp;'type':<br> &nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;FIND_NEXT&nbsp;-&nbsp;The&nbsp;keys&nbsp;for&nbsp;the&nbsp;first&nbsp;list&nbsp;entry&nbsp;after&nbsp;the&nbsp;one<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;indicated&nbsp;by&nbsp;the&nbsp;'inkeys'&nbsp;argument.<br> &nbsp;&nbsp;&nbsp;&nbsp;FIND_SAME_OR_NEXT&nbsp;-&nbsp;If&nbsp;the&nbsp;values&nbsp;in&nbsp;the&nbsp;'inkeys'&nbsp;array&nbsp;completely<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;identifies&nbsp;an&nbsp;actual&nbsp;existing&nbsp;list&nbsp;entry,&nbsp;the&nbsp;keys&nbsp;for<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this&nbsp;entry&nbsp;are&nbsp;requested.&nbsp;Otherwise&nbsp;the&nbsp;same&nbsp;logic&nbsp;as<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;FIND_NEXT&nbsp;above.</tt></dd></dl> <dl><dt><a name="Maapi-get_next"><strong>get_next</strong></a>(self, mc)</dt><dd><tt>Iterate&nbsp;and&nbsp;get&nbsp;the&nbsp;keys&nbsp;for&nbsp;the&nbsp;next&nbsp;entry&nbsp;in&nbsp;a&nbsp;list.<br> &nbsp;<br> When&nbsp;no&nbsp;more&nbsp;keys&nbsp;are&nbsp;found,&nbsp;False&nbsp;is&nbsp;returned.</tt></dd></dl> <dl><dt><a name="Maapi-get_objects"><strong>get_objects</strong></a>(self, mc, n, nobj)</dt><dd><tt>Get&nbsp;objects.<br> &nbsp;<br> Read&nbsp;at&nbsp;most&nbsp;n&nbsp;values&nbsp;from&nbsp;each&nbsp;nobj&nbsp;lists&nbsp;starting&nbsp;at&nbsp;cursor&nbsp;mc.<br> Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;Value's.</tt></dd></dl> <dl><dt><a name="Maapi-get_running_db_status"><strong>get_running_db_status</strong></a>(self)</dt><dd><tt>Get&nbsp;running&nbsp;db&nbsp;status.<br> &nbsp;<br> Gets&nbsp;the&nbsp;status&nbsp;of&nbsp;the&nbsp;running&nbsp;db.&nbsp;Returns&nbsp;True&nbsp;if&nbsp;consistent&nbsp;and<br> False&nbsp;otherwise.</tt></dd></dl> <dl><dt><a name="Maapi-load_schemas"><strong>load_schemas</strong></a>(self, use_maapi_socket<font color="#909090">=False</font>)</dt><dd><tt>Load&nbsp;the&nbsp;schemas&nbsp;to&nbsp;Python&nbsp;(using&nbsp;shared&nbsp;memory&nbsp;if&nbsp;enabled).<br> &nbsp;<br> If&nbsp;'use_maapi_socket'&nbsp;is&nbsp;set&nbsp;to&nbsp;True,&nbsp;the&nbsp;schmeas&nbsp;are&nbsp;loaded&nbsp;through<br> the&nbsp;NSO&nbsp;daemon&nbsp;via&nbsp;a&nbsp;MAAPI&nbsp;socket.</tt></dd></dl> <dl><dt><a name="Maapi-query_free_result"><strong>query_free_result</strong></a>(self, qrs)</dt><dd><tt>Deallocate&nbsp;QueryResult&nbsp;memory.<br> &nbsp;<br> Deallocated&nbsp;memory&nbsp;inside&nbsp;the&nbsp;QueryResult&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;'qrs'&nbsp;returned&nbsp;from<br> query_result().&nbsp;It&nbsp;is&nbsp;not&nbsp;necessary&nbsp;to&nbsp;call&nbsp;this&nbsp;method&nbsp;as&nbsp;deallocation<br> will&nbsp;be&nbsp;done&nbsp;when&nbsp;the&nbsp;Python&nbsp;library&nbsp;garbage&nbsp;collects&nbsp;the&nbsp;QueryResult<br> <a href="__builtin__.html#object">object</a>.</tt></dd></dl> <dl><dt><a name="Maapi-safe_create"><strong>safe_create</strong></a>(self, th, path)</dt><dd><tt>Safe&nbsp;version&nbsp;of&nbsp;create.<br> &nbsp;<br> Create&nbsp;a&nbsp;new&nbsp;list&nbsp;entry,&nbsp;a&nbsp;presence&nbsp;container,&nbsp;or&nbsp;a&nbsp;leaf&nbsp;of<br> type&nbsp;empty&nbsp;in&nbsp;the&nbsp;data&nbsp;tree&nbsp;-&nbsp;if&nbsp;it&nbsp;doesn't&nbsp;already&nbsp;exist.</tt></dd></dl> <dl><dt><a name="Maapi-safe_delete"><strong>safe_delete</strong></a>(self, th, path)</dt><dd><tt>Safe&nbsp;version&nbsp;of&nbsp;delete.<br> &nbsp;<br> Delete&nbsp;an&nbsp;existing&nbsp;list&nbsp;entry,&nbsp;a&nbsp;presence&nbsp;container,&nbsp;or&nbsp;an<br> optional&nbsp;leaf&nbsp;and&nbsp;all&nbsp;its&nbsp;children&nbsp;(if&nbsp;any)&nbsp;from&nbsp;the&nbsp;data<br> tree.&nbsp;If&nbsp;it&nbsp;exists.</tt></dd></dl> <dl><dt><a name="Maapi-safe_get_elem"><strong>safe_get_elem</strong></a>(self, th, path)</dt><dd><tt>Safe&nbsp;version&nbsp;of&nbsp;get_elem.<br> &nbsp;<br> Read&nbsp;the&nbsp;element&nbsp;at&nbsp;'path',&nbsp;returns&nbsp;'None'&nbsp;if&nbsp;it&nbsp;doesn't<br> exist.</tt></dd></dl> <dl><dt><a name="Maapi-safe_get_object"><strong>safe_get_object</strong></a>(self, th, n, path)</dt><dd><tt>Safe&nbsp;version&nbsp;of&nbsp;get_object.<br> &nbsp;<br> This&nbsp;function&nbsp;reads&nbsp;at&nbsp;most&nbsp;'n'&nbsp;values&nbsp;from&nbsp;the&nbsp;list&nbsp;entry&nbsp;or<br> container&nbsp;specified&nbsp;by&nbsp;the&nbsp;'path'.&nbsp;Returns&nbsp;'None'&nbsp;the&nbsp;path&nbsp;is<br> empty.</tt></dd></dl> <dl><dt><a name="Maapi-set_elem"><strong>set_elem</strong></a>(self, th, value, path)</dt><dd><tt>Set&nbsp;the&nbsp;node&nbsp;at&nbsp;'path'&nbsp;to&nbsp;'value'.<br> &nbsp;<br> If&nbsp;'value'&nbsp;is&nbsp;not&nbsp;of&nbsp;type&nbsp;Value&nbsp;it&nbsp;will&nbsp;be&nbsp;converted&nbsp;to&nbsp;a&nbsp;string<br> before&nbsp;calling&nbsp;set_elem2()&nbsp;under&nbsp;the&nbsp;hood.</tt></dd></dl> <dl><dt><a name="Maapi-shared_apply_template"><strong>shared_apply_template</strong></a>(*args, **kwargs)</dt><dd><tt>FASTMAP&nbsp;version&nbsp;of&nbsp;<a href="#Maapi-apply_template">apply_template</a>().</tt></dd></dl> <dl><dt><a name="Maapi-shared_copy_tree"><strong>shared_copy_tree</strong></a>(*args, **kwargs)</dt><dd><tt>FASTMAP&nbsp;version&nbsp;of&nbsp;copy_tree().</tt></dd></dl> <dl><dt><a name="Maapi-shared_create"><strong>shared_create</strong></a>(*args, **kwargs)</dt><dd><tt>FASTMAP&nbsp;version&nbsp;of&nbsp;create().</tt></dd></dl> <dl><dt><a name="Maapi-shared_insert"><strong>shared_insert</strong></a>(*args, **kwargs)</dt><dd><tt>FASTMAP&nbsp;version&nbsp;of&nbsp;insert().</tt></dd></dl> <dl><dt><a name="Maapi-shared_set_elem"><strong>shared_set_elem</strong></a>(*args, **kwargs)</dt><dd><tt>FASTMAP&nbsp;version&nbsp;of&nbsp;<a href="#Maapi-set_elem">set_elem</a>().<br> &nbsp;<br> If&nbsp;'value'&nbsp;is&nbsp;not&nbsp;of&nbsp;type&nbsp;Value&nbsp;it&nbsp;will&nbsp;be&nbsp;converted&nbsp;to&nbsp;a&nbsp;string<br> before&nbsp;calling&nbsp;shared_set_elem2()&nbsp;under&nbsp;the&nbsp;hood.</tt></dd></dl> <dl><dt><a name="Maapi-shared_set_values"><strong>shared_set_values</strong></a>(*args, **kwargs)</dt><dd><tt>FASTMAP&nbsp;version&nbsp;of&nbsp;set_values().</tt></dd></dl> <dl><dt><a name="Maapi-start_read_trans"><strong>start_read_trans</strong></a>(self, db<font color="#909090">=2</font>, usid<font color="#909090">=0</font>, flags<font color="#909090">=0</font>, vendor<font color="#909090">=None</font>, product<font color="#909090">=None</font>, version<font color="#909090">=None</font>, client_id<font color="#909090">=None</font>)</dt><dd><tt>Start&nbsp;a&nbsp;read&nbsp;transaction.<br> &nbsp;<br> For&nbsp;details&nbsp;see&nbsp;<a href="#Maapi-start_trans">start_trans</a>().</tt></dd></dl> <dl><dt><a name="Maapi-start_trans"><strong>start_trans</strong></a>(self, rw, db<font color="#909090">=2</font>, usid<font color="#909090">=0</font>, flags<font color="#909090">=0</font>, vendor<font color="#909090">=None</font>, product<font color="#909090">=None</font>, version<font color="#909090">=None</font>, client_id<font color="#909090">=None</font>)</dt><dd><tt>Start&nbsp;a&nbsp;transaction&nbsp;towards&nbsp;the&nbsp;'db'.<br> &nbsp;<br> This&nbsp;function&nbsp;starts&nbsp;a&nbsp;new&nbsp;a&nbsp;new&nbsp;transaction&nbsp;towards&nbsp;the&nbsp;given<br> data&nbsp;store.<br> &nbsp;<br> A&nbsp;new&nbsp;<a href="#Transaction">Transaction</a>&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;will&nbsp;be&nbsp;returned.</tt></dd></dl> <dl><dt><a name="Maapi-start_trans_in_trans"><strong>start_trans_in_trans</strong></a>(self, th, readwrite, usid<font color="#909090">=0</font>)</dt><dd><tt>Start&nbsp;a&nbsp;new&nbsp;transaction&nbsp;within&nbsp;a&nbsp;transaction.<br> &nbsp;<br> This&nbsp;function&nbsp;makes&nbsp;it&nbsp;possible&nbsp;to&nbsp;start&nbsp;a&nbsp;transaction&nbsp;with&nbsp;another<br> transaction&nbsp;as&nbsp;backend,&nbsp;instead&nbsp;of&nbsp;an&nbsp;actual&nbsp;data&nbsp;store.&nbsp;This&nbsp;can&nbsp;be<br> useful&nbsp;if&nbsp;we&nbsp;want&nbsp;to&nbsp;make&nbsp;a&nbsp;set&nbsp;of&nbsp;related&nbsp;changes,&nbsp;and&nbsp;then&nbsp;either<br> apply&nbsp;or&nbsp;discard&nbsp;them&nbsp;all&nbsp;based&nbsp;on&nbsp;some&nbsp;criterion,&nbsp;while&nbsp;other&nbsp;changes<br> remain&nbsp;unaffected.&nbsp;The&nbsp;thandle&nbsp;identifies&nbsp;the&nbsp;backend&nbsp;transaction&nbsp;to<br> use.&nbsp;If&nbsp;'usid'&nbsp;is&nbsp;0,&nbsp;the&nbsp;transaction&nbsp;will&nbsp;be&nbsp;started&nbsp;within&nbsp;the&nbsp;user<br> session&nbsp;associated&nbsp;with&nbsp;the&nbsp;MAAPI&nbsp;socket,&nbsp;otherwise&nbsp;it&nbsp;will&nbsp;be&nbsp;started<br> within&nbsp;the&nbsp;user&nbsp;session&nbsp;given&nbsp;by&nbsp;usid.&nbsp;If&nbsp;we&nbsp;call&nbsp;apply()&nbsp;on&nbsp;this<br> "transaction&nbsp;in&nbsp;a&nbsp;transaction"&nbsp;<a href="__builtin__.html#object">object</a>,&nbsp;the&nbsp;changes&nbsp;(if&nbsp;any)&nbsp;will&nbsp;be<br> applied&nbsp;to&nbsp;the&nbsp;backend&nbsp;transaction.&nbsp;To&nbsp;discard&nbsp;the&nbsp;changes,&nbsp;call<br> finish()&nbsp;without&nbsp;calling&nbsp;apply()&nbsp;first.<br> &nbsp;<br> A&nbsp;new&nbsp;<a href="#Transaction">Transaction</a>&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;will&nbsp;be&nbsp;returned.</tt></dd></dl> <dl><dt><a name="Maapi-start_user_session"><strong>start_user_session</strong></a>(self, user, context, groups<font color="#909090">=[]</font>, src_ip<font color="#909090">='127.0.0.1'</font>, src_port<font color="#909090">=0</font>, proto<font color="#909090">=1</font>, vendor<font color="#909090">=None</font>, product<font color="#909090">=None</font>, version<font color="#909090">=None</font>, client_id<font color="#909090">=None</font>)</dt><dd><tt>Start&nbsp;a&nbsp;new&nbsp;user&nbsp;session.<br> &nbsp;<br> This&nbsp;method&nbsp;gives&nbsp;some&nbsp;resonable&nbsp;defaults.</tt></dd></dl> <dl><dt><a name="Maapi-start_write_trans"><strong>start_write_trans</strong></a>(self, db<font color="#909090">=2</font>, usid<font color="#909090">=0</font>, flags<font color="#909090">=0</font>, vendor<font color="#909090">=None</font>, product<font color="#909090">=None</font>, version<font color="#909090">=None</font>, client_id<font color="#909090">=None</font>)</dt><dd><tt>Start&nbsp;a&nbsp;write&nbsp;transaction.<br> &nbsp;<br> For&nbsp;details&nbsp;see&nbsp;<a href="#Maapi-start_trans">start_trans</a>().</tt></dd></dl> <dl><dt><a name="Maapi-write_service_log_entry"><strong>write_service_log_entry</strong></a>(*args, **kwargs)</dt><dd><tt>Write&nbsp;service&nbsp;log&nbsp;entries.<br> &nbsp;<br> This&nbsp;function&nbsp;makes&nbsp;it&nbsp;possible&nbsp;to&nbsp;write&nbsp;service&nbsp;log&nbsp;entries&nbsp;from<br> FASTMAP&nbsp;code.</tt></dd></dl> <hr> Data descriptors defined here:<br> <dl><dt><strong>__dict__</strong></dt> <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd> </dl> <dl><dt><strong>__weakref__</strong></dt> <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd> </dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#000000" face="helvetica, arial"><a name="Session">class <strong>Session</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td> <td colspan=2><tt>Encapsulate&nbsp;a&nbsp;MAAPI&nbsp;user&nbsp;session.<br> &nbsp;<br> Context&nbsp;manager&nbsp;for&nbsp;user&nbsp;sessions.&nbsp;This&nbsp;class&nbsp;makes&nbsp;is&nbsp;easy&nbsp;to&nbsp;use<br> a&nbsp;single&nbsp;<a href="#Maapi">Maapi</a>&nbsp;connection&nbsp;and&nbsp;switch&nbsp;user&nbsp;session&nbsp;along&nbsp;the&nbsp;way.<br> &nbsp;<br> Example:<br> &nbsp;&nbsp;&nbsp;&nbsp;with&nbsp;<a href="#Maapi">Maapi</a>()&nbsp;as&nbsp;m:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;user,&nbsp;context,&nbsp;device&nbsp;in&nbsp;devlist:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;with&nbsp;<a href="#Session">Session</a>(m,&nbsp;user,&nbsp;context):<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;with&nbsp;m.start_write_trans()&nbsp;as&nbsp;t:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;...<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;do&nbsp;something&nbsp;using&nbsp;the&nbsp;correct&nbsp;user&nbsp;session<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;...<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t.apply()<br>&nbsp;</tt></td></tr> <tr><td>&nbsp;</td> <td width="100%">Methods defined here:<br> <dl><dt><a name="Session-__enter__"><strong>__enter__</strong></a>(self)</dt><dd><tt>Python&nbsp;magic&nbsp;method.</tt></dd></dl> <dl><dt><a name="Session-__exit__"><strong>__exit__</strong></a>(self, exc_type, exc_value, tb)</dt><dd><tt>Python&nbsp;magic&nbsp;method.</tt></dd></dl> <dl><dt><a name="Session-__init__"><strong>__init__</strong></a>(self, maapi, user, context, groups<font color="#909090">=[]</font>, src_ip<font color="#909090">='127.0.0.1'</font>, src_port<font color="#909090">=0</font>, proto<font color="#909090">=1</font>, vendor<font color="#909090">=None</font>, product<font color="#909090">=None</font>, version<font color="#909090">=None</font>, client_id<font color="#909090">=None</font>)</dt><dd><tt>Initialize&nbsp;a&nbsp;<a href="#Session">Session</a>&nbsp;<a href="__builtin__.html#object">object</a>.<br> &nbsp;<br> 'maapi'&nbsp;should&nbsp;be&nbsp;a&nbsp;<a href="#Maapi">Maapi</a>&nbsp;<a href="__builtin__.html#object">object</a>.&nbsp;For&nbsp;all&nbsp;other&nbsp;arguments&nbsp;see<br> <a href="#Maapi">Maapi</a>.start_user_session().</tt></dd></dl> <dl><dt><a name="Session-close"><strong>close</strong></a>(self)</dt><dd><tt>Close&nbsp;the&nbsp;user&nbsp;session.</tt></dd></dl> <hr> Data descriptors defined here:<br> <dl><dt><strong>__dict__</strong></dt> <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd> </dl> <dl><dt><strong>__weakref__</strong></dt> <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd> </dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#000000" face="helvetica, arial"><a name="Transaction">class <strong>Transaction</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td> <td colspan=2><tt>Class&nbsp;that&nbsp;corresponds&nbsp;to&nbsp;a&nbsp;single&nbsp;MAAPI&nbsp;transaction.<br>&nbsp;</tt></td></tr> <tr><td>&nbsp;</td> <td width="100%">Methods defined here:<br> <dl><dt><a name="Transaction-__dir__"><strong>__dir__</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;list&nbsp;of&nbsp;all&nbsp;available&nbsp;methods&nbsp;in&nbsp;<a href="#Transaction">Transaction</a>.</tt></dd></dl> <dl><dt><a name="Transaction-__enter__"><strong>__enter__</strong></a>(self)</dt><dd><tt>Python&nbsp;magic&nbsp;method.</tt></dd></dl> <dl><dt><a name="Transaction-__exit__"><strong>__exit__</strong></a>(self, exc_type, exc_value, tb)</dt><dd><tt>Python&nbsp;magic&nbsp;method.</tt></dd></dl> <dl><dt><a name="Transaction-__getattr__"><strong>__getattr__</strong></a>(self, name)</dt><dd><tt>Python&nbsp;magic&nbsp;method.<br> &nbsp;<br> This&nbsp;method&nbsp;will&nbsp;be&nbsp;called&nbsp;whenever&nbsp;an&nbsp;attribute&nbsp;not&nbsp;present&nbsp;here<br> is&nbsp;accessed.&nbsp;It&nbsp;will&nbsp;try&nbsp;to&nbsp;find&nbsp;a&nbsp;corresponding&nbsp;attribute&nbsp;in&nbsp;the&nbsp;<a href="#Maapi">Maapi</a><br> <a href="__builtin__.html#object">object</a>&nbsp;which&nbsp;takes&nbsp;a&nbsp;transaction&nbsp;handle&nbsp;as&nbsp;the&nbsp;second&nbsp;argument&nbsp;and<br> forward&nbsp;the&nbsp;call&nbsp;there.<br> &nbsp;<br> Example&nbsp;(pseudo&nbsp;code):<br> &nbsp;&nbsp;&nbsp;&nbsp;import&nbsp;ncs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;high-level&nbsp;module<br> &nbsp;&nbsp;&nbsp;&nbsp;import&nbsp;_ncs&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;low-level&nbsp;module<br> &nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;maapi&nbsp;=&nbsp;ncs.maapi.<a href="#Maapi">Maapi</a>()<br> &nbsp;&nbsp;&nbsp;&nbsp;trans&nbsp;=&nbsp;maapi.start_read_trans()<br> &nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;Now,&nbsp;these&nbsp;three&nbsp;calls&nbsp;are&nbsp;equal:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.&nbsp;trans.get_elem('/path/to/leaf')<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.&nbsp;maapi.get_elem(trans.th,&nbsp;'/path/to/leaf')<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.&nbsp;_ncs.maapi.get_elem(maapi.msock,&nbsp;trans.th,&nbsp;'/path/to/leaf')</tt></dd></dl> <dl><dt><a name="Transaction-__init__"><strong>__init__</strong></a>(self, maapi, th<font color="#909090">=None</font>, rw<font color="#909090">=None</font>, db<font color="#909090">=2</font>, vendor<font color="#909090">=None</font>, product<font color="#909090">=None</font>, version<font color="#909090">=None</font>, client_id<font color="#909090">=None</font>)</dt><dd><tt>Initialize&nbsp;a&nbsp;<a href="#Transaction">Transaction</a>&nbsp;<a href="__builtin__.html#object">object</a>.<br> &nbsp;<br> When&nbsp;created&nbsp;one&nbsp;may&nbsp;access&nbsp;the&nbsp;maapi&nbsp;and&nbsp;th&nbsp;arguments&nbsp;like&nbsp;this:<br> &nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;trans&nbsp;=&nbsp;<a href="#Transaction">Transaction</a>(mymaapi,&nbsp;th=myth)<br> &nbsp;&nbsp;&nbsp;&nbsp;trans.maapi&nbsp;#&nbsp;the&nbsp;<a href="#Maapi">Maapi</a>&nbsp;<a href="__builtin__.html#object">object</a><br> &nbsp;&nbsp;&nbsp;&nbsp;trans.th&nbsp;#&nbsp;the&nbsp;transaction&nbsp;handle<br> &nbsp;<br> An&nbsp;instance&nbsp;of&nbsp;this&nbsp;class&nbsp;is&nbsp;also&nbsp;a&nbsp;context&nbsp;manager:<br> &nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;with&nbsp;<a href="#Transaction">Transaction</a>(mymaapi,&nbsp;th=myth)&nbsp;as&nbsp;trans:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;do&nbsp;something&nbsp;here...<br> &nbsp;<br> When&nbsp;exiting&nbsp;the&nbsp;with&nbsp;statement,&nbsp;<a href="#Transaction-finish">finish</a>()&nbsp;will&nbsp;be&nbsp;called.<br> &nbsp;<br> If&nbsp;'th'&nbsp;is&nbsp;left&nbsp;out&nbsp;(or&nbsp;None)&nbsp;a&nbsp;new&nbsp;transaction&nbsp;is&nbsp;started&nbsp;using<br> the&nbsp;'db'&nbsp;and&nbsp;'rw'&nbsp;arguments,&nbsp;otherwise&nbsp;'db'&nbsp;and&nbsp;'rw'&nbsp;are&nbsp;ignored.<br> &nbsp;<br> Arguments:<br> &nbsp;&nbsp;&nbsp;&nbsp;maapi&nbsp;--&nbsp;a&nbsp;<a href="#Maapi">Maapi</a>&nbsp;<a href="__builtin__.html#object">object</a><br> &nbsp;&nbsp;&nbsp;&nbsp;th&nbsp;--&nbsp;a&nbsp;transaction&nbsp;handle&nbsp;or&nbsp;None<br> &nbsp;&nbsp;&nbsp;&nbsp;db&nbsp;--&nbsp;database<br> &nbsp;&nbsp;&nbsp;&nbsp;rw&nbsp;--&nbsp;mode&nbsp;(READ&nbsp;or&nbsp;READ_WRITE)<br> &nbsp;&nbsp;&nbsp;&nbsp;vendor&nbsp;--&nbsp;lock&nbsp;error&nbsp;information&nbsp;(optional)<br> &nbsp;&nbsp;&nbsp;&nbsp;product&nbsp;--&nbsp;lock&nbsp;error&nbsp;information&nbsp;(optional)<br> &nbsp;&nbsp;&nbsp;&nbsp;version&nbsp;--&nbsp;lock&nbsp;error&nbsp;information&nbsp;(optional)<br> &nbsp;&nbsp;&nbsp;&nbsp;client_id&nbsp;--&nbsp;lock&nbsp;error&nbsp;information&nbsp;(optional)</tt></dd></dl> <dl><dt><a name="Transaction-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Get&nbsp;internal&nbsp;representation.</tt></dd></dl> <dl><dt><a name="Transaction-abort"><strong>abort</strong></a>(self)</dt><dd><tt>Abort&nbsp;the&nbsp;transaction.</tt></dd></dl> <dl><dt><a name="Transaction-apply"><strong>apply</strong></a>(self, keep_open<font color="#909090">=True</font>, flags<font color="#909090">=0</font>)</dt><dd><tt>Apply&nbsp;the&nbsp;transaction.<br> &nbsp;<br> Validates,&nbsp;prepares&nbsp;and&nbsp;eventually&nbsp;commits&nbsp;or&nbsp;aborts&nbsp;the<br> transaction.&nbsp;If&nbsp;the&nbsp;validation&nbsp;fails&nbsp;and&nbsp;the&nbsp;'keep_open'<br> argument&nbsp;is&nbsp;set&nbsp;to&nbsp;True&nbsp;(default),&nbsp;the&nbsp;transaction&nbsp;is&nbsp;left<br> open&nbsp;and&nbsp;the&nbsp;developer&nbsp;can&nbsp;react&nbsp;upon&nbsp;the&nbsp;validation&nbsp;errors.</tt></dd></dl> <dl><dt><a name="Transaction-apply_with_result"><strong>apply_with_result</strong></a>(*args, **kwargs)</dt><dd><tt>Apply&nbsp;the&nbsp;transaction&nbsp;and&nbsp;return&nbsp;the&nbsp;result.<br> &nbsp;<br> Validates,&nbsp;prepares&nbsp;and&nbsp;eventually&nbsp;commits&nbsp;or&nbsp;aborts&nbsp;the<br> transaction.&nbsp;If&nbsp;the&nbsp;validation&nbsp;fails&nbsp;and&nbsp;the&nbsp;'keep_open'<br> argument&nbsp;is&nbsp;set&nbsp;to&nbsp;True&nbsp;(default),&nbsp;the&nbsp;transaction&nbsp;is&nbsp;left<br> open&nbsp;and&nbsp;the&nbsp;developer&nbsp;can&nbsp;react&nbsp;upon&nbsp;the&nbsp;validation&nbsp;errors.<br> &nbsp;<br> The&nbsp;'flags'&nbsp;argument&nbsp;represent&nbsp;commit&nbsp;parameters&nbsp;that&nbsp;are<br> bitwise&nbsp;ORed&nbsp;together.<br> &nbsp;<br> The&nbsp;'tag'&nbsp;argument&nbsp;is&nbsp;a&nbsp;user&nbsp;defined&nbsp;opaque&nbsp;tag&nbsp;attached&nbsp;to<br> the&nbsp;resulting&nbsp;queue&nbsp;item&nbsp;if&nbsp;using&nbsp;the&nbsp;COMMIT_NCS_COMMIT_QUEUE_ASYNC<br> or&nbsp;COMMIT_NCS_COMMIT_QUEUE_SYNC&nbsp;flag.&nbsp;The&nbsp;tag&nbsp;is&nbsp;present&nbsp;in&nbsp;all<br> notifications&nbsp;and&nbsp;events&nbsp;sent&nbsp;referencing&nbsp;the&nbsp;queue&nbsp;item.<br> &nbsp;<br> The&nbsp;'timeout'&nbsp;argument&nbsp;is&nbsp;in&nbsp;seconds.&nbsp;-1&nbsp;means&nbsp;infinity.<br> Only&nbsp;applicable&nbsp;if&nbsp;the&nbsp;COMMIT_NCS_COMMIT_QUEUE_SYNC&nbsp;flag<br> was&nbsp;set.<br> &nbsp;<br> If&nbsp;the&nbsp;configuration&nbsp;change&nbsp;for&nbsp;the&nbsp;participating&nbsp;devices&nbsp;has<br> been&nbsp;placed&nbsp;in&nbsp;the&nbsp;commit&nbsp;queue&nbsp;or&nbsp;the&nbsp;transaction&nbsp;is&nbsp;a&nbsp;dry-run<br> the&nbsp;result&nbsp;will&nbsp;be&nbsp;an&nbsp;array&nbsp;of&nbsp;TagValue&nbsp;objects.</tt></dd></dl> <dl><dt><a name="Transaction-commit"><strong>commit</strong></a>(self)</dt><dd><tt>Commit&nbsp;the&nbsp;transaction.</tt></dd></dl> <dl><dt><a name="Transaction-finish"><strong>finish</strong></a>(self)</dt><dd><tt>Finish&nbsp;the&nbsp;transaction.<br> &nbsp;<br> This&nbsp;will&nbsp;finish&nbsp;the&nbsp;transaction.&nbsp;If&nbsp;the&nbsp;transaction&nbsp;is&nbsp;implemented<br> by&nbsp;an&nbsp;external&nbsp;database,&nbsp;this&nbsp;will&nbsp;invoke&nbsp;the&nbsp;<a href="#Transaction-finish">finish</a>()&nbsp;callback.</tt></dd></dl> <dl><dt><a name="Transaction-prepare"><strong>prepare</strong></a>(self, flags<font color="#909090">=0</font>)</dt><dd><tt>Prepare&nbsp;transaction.<br> &nbsp;<br> This&nbsp;function&nbsp;must&nbsp;be&nbsp;called&nbsp;as&nbsp;first&nbsp;part&nbsp;of&nbsp;two-phase&nbsp;commit.&nbsp;After<br> this&nbsp;function&nbsp;has&nbsp;been&nbsp;called,&nbsp;<a href="#Transaction-commit">commit</a>()&nbsp;or&nbsp;<a href="#Transaction-abort">abort</a>()&nbsp;must&nbsp;be&nbsp;called.<br> &nbsp;<br> It&nbsp;will&nbsp;invoke&nbsp;the&nbsp;prepare&nbsp;callback&nbsp;in&nbsp;all&nbsp;participants&nbsp;in&nbsp;the<br> transaction.&nbsp;If&nbsp;all&nbsp;participants&nbsp;reply&nbsp;with&nbsp;OK,&nbsp;the&nbsp;second&nbsp;phase&nbsp;of<br> the&nbsp;two-phase&nbsp;commit&nbsp;procedure&nbsp;is&nbsp;commenced.</tt></dd></dl> <dl><dt><a name="Transaction-validate"><strong>validate</strong></a>(self, unlock, forcevalidation<font color="#909090">=False</font>)</dt><dd><tt>Validate&nbsp;the&nbsp;transaction.<br> &nbsp;<br> This&nbsp;function&nbsp;validates&nbsp;all&nbsp;data&nbsp;written&nbsp;in&nbsp;the&nbsp;transaction.&nbsp;This<br> includes&nbsp;all&nbsp;data&nbsp;model&nbsp;constraints&nbsp;and&nbsp;all&nbsp;defined&nbsp;semantic<br> validation,&nbsp;i.e.&nbsp;user&nbsp;programs&nbsp;that&nbsp;have&nbsp;registered&nbsp;functions&nbsp;under<br> validation&nbsp;points.<br> &nbsp;<br> If&nbsp;'unlock'&nbsp;is&nbsp;True,&nbsp;the&nbsp;transaction&nbsp;is&nbsp;open&nbsp;for&nbsp;further&nbsp;editing&nbsp;even<br> if&nbsp;validation&nbsp;succeeds.&nbsp;If&nbsp;'unlock'&nbsp;is&nbsp;False&nbsp;and&nbsp;the&nbsp;function&nbsp;succeeds<br> next&nbsp;function&nbsp;to&nbsp;be&nbsp;called&nbsp;MUST&nbsp;be&nbsp;<a href="#Transaction-prepare">prepare</a>()&nbsp;or&nbsp;<a href="#Transaction-finish">finish</a>().<br> &nbsp;<br> 'unlock&nbsp;=&nbsp;True'&nbsp;can&nbsp;be&nbsp;used&nbsp;to&nbsp;implement&nbsp;a&nbsp;'validate'&nbsp;command&nbsp;which<br> can&nbsp;be&nbsp;given&nbsp;in&nbsp;the&nbsp;middle&nbsp;of&nbsp;an&nbsp;editing&nbsp;session.&nbsp;The&nbsp;first&nbsp;thing&nbsp;that<br> happens&nbsp;is&nbsp;that&nbsp;a&nbsp;lock&nbsp;is&nbsp;set.&nbsp;If&nbsp;'unlock'&nbsp;==&nbsp;False,&nbsp;the&nbsp;lock&nbsp;is<br> released&nbsp;on&nbsp;success.&nbsp;The&nbsp;lock&nbsp;is&nbsp;always&nbsp;released&nbsp;on&nbsp;failure.<br> &nbsp;<br> The&nbsp;'forcevalidation'&nbsp;argument&nbsp;should&nbsp;normally&nbsp;be&nbsp;False.&nbsp;It&nbsp;has&nbsp;no<br> effect&nbsp;for&nbsp;a&nbsp;transaction&nbsp;towards&nbsp;the&nbsp;running&nbsp;or&nbsp;startup&nbsp;data&nbsp;stores,<br> validation&nbsp;is&nbsp;always&nbsp;performed.&nbsp;For&nbsp;a&nbsp;transaction&nbsp;towards&nbsp;the<br> candidate&nbsp;data&nbsp;store,&nbsp;validation&nbsp;will&nbsp;not&nbsp;be&nbsp;done&nbsp;unless<br> 'forcevalidation'&nbsp;is&nbsp;True.&nbsp;Avoiding&nbsp;this&nbsp;validation&nbsp;is&nbsp;preferable&nbsp;if<br> we&nbsp;are&nbsp;going&nbsp;to&nbsp;commit&nbsp;the&nbsp;candidate&nbsp;to&nbsp;running,&nbsp;since&nbsp;otherwise&nbsp;the<br> validation&nbsp;will&nbsp;be&nbsp;done&nbsp;twice.&nbsp;However&nbsp;if&nbsp;we&nbsp;are&nbsp;implementing&nbsp;a<br> 'validate'&nbsp;command,&nbsp;we&nbsp;should&nbsp;give&nbsp;a&nbsp;True&nbsp;value&nbsp;for&nbsp;'forcevalidation'.</tt></dd></dl> <hr> Data descriptors defined here:<br> <dl><dt><strong>__dict__</strong></dt> <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd> </dl> <dl><dt><strong>__weakref__</strong></dt> <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd> </dl> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#eeaa77"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> <tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> <td width="100%"><dl><dt><a name="-StringIO"><strong>StringIO</strong></a>(...)</dt><dd><tt><a href="#-StringIO">StringIO</a>([s])&nbsp;--&nbsp;Return&nbsp;a&nbsp;StringIO-like&nbsp;stream&nbsp;for&nbsp;reading&nbsp;or&nbsp;writing</tt></dd></dl> <dl><dt><a name="-connect"><strong>connect</strong></a>(ip<font color="#909090">='127.0.0.1'</font>, port<font color="#909090">=4565</font>, path<font color="#909090">=None</font>)</dt><dd><tt>Convenience&nbsp;function&nbsp;for&nbsp;connecting&nbsp;to&nbsp;ConfD/NCS.<br> &nbsp;<br> The&nbsp;'ip'&nbsp;and&nbsp;'port'&nbsp;arguments&nbsp;are&nbsp;ignored&nbsp;if&nbsp;path&nbsp;is&nbsp;specified.</tt></dd></dl> <dl><dt><a name="-single_read_trans"><strong>single_read_trans</strong></a>(*args, **kwds)</dt><dd><tt>Context&nbsp;manager&nbsp;for&nbsp;a&nbsp;single&nbsp;READ&nbsp;transaction.<br> &nbsp;<br> This&nbsp;function&nbsp;connects&nbsp;to&nbsp;ConfD/NCS,&nbsp;starts&nbsp;a&nbsp;user&nbsp;session&nbsp;and&nbsp;finally<br> starts&nbsp;a&nbsp;new&nbsp;READ&nbsp;transaction.<br> &nbsp;<br> Signature:<br> def&nbsp;<a href="#-single_read_trans">single_read_trans</a>(user,&nbsp;context,&nbsp;groups=[],<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;db=RUNNING,&nbsp;ip='127.0.0.1',<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;port=&lt;CONFD-OR-NCS-PORT&gt;,&nbsp;path=None,<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;src_ip='127.0.0.1',&nbsp;src_port=0,&nbsp;proto=PROTO_TCP,<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vendor=None,&nbsp;product=None,&nbsp;version=None,<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;client_id=_mk_client_id()):<br> &nbsp;<br> For&nbsp;argument&nbsp;db&nbsp;see&nbsp;<a href="#Maapi">Maapi</a>.start_trans().&nbsp;For&nbsp;arguments&nbsp;user,<br> context,&nbsp;groups,&nbsp;src_ip,&nbsp;src_port,&nbsp;proto,&nbsp;vendor,&nbsp;product,&nbsp;version&nbsp;and<br> client_id&nbsp;see&nbsp;<a href="#Maapi">Maapi</a>.start_user_session().<br> For&nbsp;arguments&nbsp;ip,&nbsp;port&nbsp;and&nbsp;path&nbsp;see&nbsp;<a href="#-connect">connect</a>().</tt></dd></dl> <dl><dt><a name="-single_write_trans"><strong>single_write_trans</strong></a>(*args, **kwds)</dt><dd><tt>Context&nbsp;manager&nbsp;for&nbsp;a&nbsp;single&nbsp;READ/WRITE&nbsp;transaction.<br> &nbsp;<br> This&nbsp;function&nbsp;connects&nbsp;to&nbsp;ConfD/NCS,&nbsp;starts&nbsp;a&nbsp;user&nbsp;session&nbsp;and&nbsp;finally<br> starts&nbsp;a&nbsp;new&nbsp;READ/WRITE&nbsp;transaction.<br> &nbsp;<br> Signature:<br> def&nbsp;<a href="#-single_write_trans">single_write_trans</a>(user,&nbsp;context,&nbsp;groups=[],<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;db=RUNNING,&nbsp;ip='127.0.0.1',<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;port=&lt;CONFD-OR-NCS-PORT&gt;,&nbsp;path=None,<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;src_ip='127.0.0.1',&nbsp;src_port=0,&nbsp;proto=PROTO_TCP,<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vendor=None,&nbsp;product=None,&nbsp;version=None,<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;client_id=_mk_client_id()):<br> &nbsp;<br> For&nbsp;argument&nbsp;db&nbsp;see&nbsp;<a href="#Maapi">Maapi</a>.start_trans().&nbsp;For&nbsp;arguments&nbsp;user,<br> context,&nbsp;groups,&nbsp;src_ip,&nbsp;src_port,&nbsp;proto,&nbsp;vendor,&nbsp;product,&nbsp;version&nbsp;and<br> client_id&nbsp;see&nbsp;<a href="#Maapi">Maapi</a>.start_user_session().<br> For&nbsp;arguments&nbsp;ip,&nbsp;port&nbsp;and&nbsp;path&nbsp;see&nbsp;<a href="#-connect">connect</a>().</tt></dd></dl> </td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> <td width="100%"><strong>CMD_NO_AAA</strong> = 4<br> <strong>CMD_NO_FULLPATH</strong> = 1<br> <strong>CMD_NO_HIDDEN</strong> = 2<br> <strong>CONFIG_AUTOCOMMIT</strong> = 8192<br> <strong>CONFIG_C</strong> = 4<br> <strong>CONFIG_CONTINUE_ON_ERROR</strong> = 16384<br> <strong>CONFIG_C_IOS</strong> = 32<br> <strong>CONFIG_HIDE_ALL</strong> = 2048<br> <strong>CONFIG_J</strong> = 2<br> <strong>CONFIG_JSON</strong> = 131072<br> <strong>CONFIG_MERGE</strong> = 64<br> <strong>CONFIG_NO_PARENTS</strong> = 524288<br> <strong>CONFIG_OPER_ONLY</strong> = 1048576<br> <strong>CONFIG_REPLACE</strong> = 1024<br> <strong>CONFIG_SHOW_DEFAULTS</strong> = 16<br> <strong>CONFIG_SUPPRESS_ERRORS</strong> = 32768<br> <strong>CONFIG_UNHIDE_ALL</strong> = 4096<br> <strong>CONFIG_WITH_DEFAULTS</strong> = 8<br> <strong>CONFIG_WITH_OPER</strong> = 128<br> <strong>CONFIG_WITH_SERVICE_META</strong> = 262144<br> <strong>CONFIG_XML</strong> = 1<br> <strong>CONFIG_XML_LOAD_LAX</strong> = 65536<br> <strong>CONFIG_XML_PRETTY</strong> = 512<br> <strong>CONFIG_XPATH</strong> = 256<br> <strong>C_SNMP_COL_ROW</strong> = 3<br> <strong>C_SNMP_OID</strong> = 2<br> <strong>C_SNMP_VARIABLE</strong> = 1<br> <strong>DEL_ALL</strong> = 2<br> <strong>DEL_EXPORTED</strong> = 3<br> <strong>DEL_SAFE</strong> = 1<br> <strong>ECHO</strong> = 1<br> <strong>FLAG_CONFIG_CACHE_ONLY</strong> = 32<br> <strong>FLAG_CONFIG_ONLY</strong> = 4<br> <strong>FLAG_DELAYED_WHEN</strong> = 64<br> <strong>FLAG_DELETE</strong> = 2<br> <strong>FLAG_EMIT_PARENTS</strong> = 1<br> <strong>FLAG_HIDE_INACTIVE</strong> = 8<br> <strong>FLAG_HINT_BULK</strong> = 1<br> <strong>FLAG_NON_RECURSIVE</strong> = 4<br> <strong>FLAG_NO_CONFIG_CACHE</strong> = 16<br> <strong>FLAG_NO_DEFAULTS</strong> = 2<br> <strong>MOVE_AFTER</strong> = 3<br> <strong>MOVE_BEFORE</strong> = 2<br> <strong>MOVE_FIRST</strong> = 1<br> <strong>MOVE_LAST</strong> = 4<br> <strong>NOECHO</strong> = 0<br> <strong>PRODUCT</strong> = 'ConfD'<br> <strong>SHARED_NO_BACKPOINTER</strong> = 1<br> <strong>UPGRADE_KILL_ON_TIMEOUT</strong> = 1<br> <strong>absolute_import</strong> = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 16384)</td></tr></table> </body></html>
geolocator-3.0/src/cmu/arktweetnlp/impl/package.html
weizh/geolocator-3.0
<body> Implementation of the POS tagger. </body>
src/content/en/fundamentals/performance/critical-rendering-path/_code/measure_crp_timing.html
samdutton/WebFundamentals
<!-- // [START full] --> <!DOCTYPE html> <html> <head> <title>Critical Path: Measure Script</title> <meta name="viewport" content="width=device-width,initial-scale=1"> <link href="style.css" rel="stylesheet"> </head> <body onload="measureCRP()"> <p>Hello <span>web performance</span> students!</p> <div><img src="awesome-photo.jpg"></div> <script src="timing.js"></script> </body> </html> <!-- // [END full] -->
bookworm/library/templates/auth/authopenid/changeemail.html
lizadaly/threepress
{% extends "base.html" %} {% load i18n %} {% block title %}{% trans "Change email address for" %} {{ request.user.username }} {% endblock %} {% block head %} <link rel="stylesheet" type="text/css" href="/static/auth.css" ></link> {% endblock head %} {% block searcharea %}{% endblock %} {% block main %} <div id="bw-content"> <h1>{% trans "Change email address" %}</h1> {% if form.errors %} <p class="bw-message">{% trans "Please correct the errors below" %}:<br /> {% if form.email.errors %} <span class="bw-error">{{ form.email.errors|join:", " }}</span> {% endif %} {% if form.password.errors %} <span class="bw-error">{{ form.password.errors|join:", " }}</span> {% endif %} </p> {% endif %} {% if msg %} <p class="bw-message">{{ msg }}</p> {% endif %} <div> <form action="{{ path }}" method="post" accept-charset="utf-8"> <div id="form-row"><label for="id_email">{% trans "Email" %}</label>{{ form.email }}</div> <div id="form-row"><label for="id_password">{% trans "Password" %}</label>{{ form.password }}</div> <p><input type="submit" value="{{ _("Change email") }}"/></p> </form> </div> </div> {% endblock %}
third_party/WebKit/LayoutTests/fast/events/space-scroll-textinput-canceled.html
axinging/chromium-crosswalk
<!DOCTYPE html> <html> <head> <script src="../../resources/js-test.js"></script> <style type="text/css"> ::-webkit-scrollbar { width: 0px; height: 0px; } </style> </head> <body style="margin:0" onload="runTest();"> <p> Tests that page shouldn't scroll when you hit space key on input field and 'textInput' event was canceled. </p> <div id="console"></div> <input type="text" id="txt" /> <div style="height: 2000px;"></div> <script type="text/javascript"> var txt = document.getElementById('txt'); txt.addEventListener('textInput', function(e) { if (e.data === ' ') { e.preventDefault(); } }, false); function focusAndPressSpace() { document.getElementById('txt').focus(); // Leave some space for pageUp document.scrollingElement.scrollTop = window.innerHeight / 2; eventSender.keyDown("pageUp", []); // Space key shouldn't cancel pageUp eventSender.keyDown(" ", []); // pageUp should finish shouldBecomeEqual("document.scrollingElement.scrollTop", "0", finishJSTest); } jsTestIsAsync = true; function runTest() { if (window.eventSender) { focusAndPressSpace(); } } </script> </body> </html>
documentation/html/MacOS/_c_p_t_mutable_numeric_data_09_type_conversion_8h.html
LiDechao/core-plot
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>Core Plot (Mac OS): Source/CPTMutableNumericData+TypeConversion.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td> <td style="padding-left: 0.5em;"> <div id="projectname">Core Plot (Mac OS) </div> <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="pages.html"><span>Related&#160;Pages</span></a></li> <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File&#160;List</span></a></li> <li><a href="globals.html"><span>File&#160;Members</span></a></li> </ul> </div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('_c_p_t_mutable_numeric_data_09_type_conversion_8h.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> </div> <div class="headertitle"> <div class="title">CPTMutableNumericData+TypeConversion.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#import &quot;<a class="el" href="_c_p_t_mutable_numeric_data_8h_source.html">CPTMutableNumericData.h</a>&quot;</code><br/> <code>#import &quot;<a class="el" href="_c_p_t_numeric_data_type_8h_source.html">CPTNumericDataType.h</a>&quot;</code><br/> </div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for CPTMutableNumericData+TypeConversion.h:</div> <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-0-content" class="dyncontent" style="display:none;"> <div class="center"><img src="_c_p_t_mutable_numeric_data_09_type_conversion_8h__incl.png" border="0" usemap="#_source_2_c_p_t_mutable_numeric_data_09_type_conversion_8h" alt=""/></div> <map name="_source_2_c_p_t_mutable_numeric_data_09_type_conversion_8h" id="_source_2_c_p_t_mutable_numeric_data_09_type_conversion_8h"> <area shape="rect" id="node2" href="_c_p_t_mutable_numeric_data_8h.html" title="CPTMutableNumericData.h" alt="" coords="4,105,197,135"/><area shape="rect" id="node3" href="_c_p_t_numeric_data_type_8h.html" title="CPTNumericDataType.h" alt="" coords="42,265,213,295"/><area shape="rect" id="node4" href="_c_p_t_numeric_data_8h.html" title="CPTNumericData.h" alt="" coords="57,185,199,215"/></map> </div> </div><div class="textblock"><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-1-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div> <div id="dynsection-1-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-1-content" class="dyncontent" style="display:none;"> <div class="center"><img src="_c_p_t_mutable_numeric_data_09_type_conversion_8h__dep__incl.png" border="0" usemap="#_source_2_c_p_t_mutable_numeric_data_09_type_conversion_8hdep" alt=""/></div> <map name="_source_2_c_p_t_mutable_numeric_data_09_type_conversion_8hdep" id="_source_2_c_p_t_mutable_numeric_data_09_type_conversion_8hdep"> <area shape="rect" id="node2" href="_c_p_t_mutable_numeric_data_09_type_conversion_8m.html" title="Source/CPTMutableNumeric\lData+TypeConversion.m" alt="" coords="4,104,205,154"/><area shape="rect" id="node3" href="_c_p_t_plot_8m.html" title="Source/CPTPlot.m" alt="" coords="230,114,367,145"/></map> </div> </div> <p><a href="_c_p_t_mutable_numeric_data_09_type_conversion_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">category &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="category_c_p_t_mutable_numeric_data_07_type_conversion_08.html">CPTMutableNumericData(TypeConversion)</a></td></tr> <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type conversion methods for <a class="el" href="interface_c_p_t_mutable_numeric_data.html" title="An annotated NSMutableData type. ">CPTMutableNumericData</a>. <a href="category_c_p_t_mutable_numeric_data_07_type_conversion_08.html#details">More...</a><br/></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr> </table> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_74389ed8173ad57b461b9d623a1f3867.html">Source</a></li><li class="navelem"><a class="el" href="_c_p_t_mutable_numeric_data_09_type_conversion_8h.html">CPTMutableNumericData+TypeConversion.h</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li> </ul> </div> </body> </html>
wab/2.3/widgets/Filter/setting/SingleFilterSetting.html
cmccullough2/cmv-wab-widgets
<div> <table> <colgroup> <col width="100"></col> <col width="auto"></col> </colgroup> <tbody> <tr> <td>${jimuNls.common.layer}</td> <td data-dojo-attach-point="layerTd"></td> </tr> <tr> <td>${jimuNls.common.title}</td> <td> <div data-dojo-attach-point="nameTextBox" data-dojo-type="dijit/form/ValidationTextBox" data-dojo-attach-event="change:_onNameTextBoxChanged" data-dojo-props='required:true,trim:true' style="width:100%;"></div> </td> </tr> <tr> <td>${jimuNls.common.icon}</td> <td> <div class="click-picker" data-dojo-attach-event="click:_onImageChooserDivClicked"> <div data-dojo-type="jimu/dijit/ImageChooser" data-dojo-attach-point="imageChooser" data-dojo-props="cropImage:true,showSelfImg:true,goldenWidth:16,goldenHeight:16,format:['image/gif','image/png','image/jpeg']" class="jimu-float-leading" style="width:16px;height:16px;"></div> <div class="separator jimu-float-leading"></div> <div class="jimu-icon jimu-icon-down-arrow-8 jimu-float-leading"></div> </div> </td> </tr> <tr> <td colspan="2" data-dojo-attach-point="tdUseMapFilter"></td> </tr> </tbody> </table> <div style="margin-top:10px;"> <div>${nls.filterExpression}</div> <div data-dojo-attach-point="filterDiv"></div> </div> </div>
views/user/followings.html
honger05/nodeclub
<%- partial('../sidebar') %> <div id='content'> <div class='panel'> <div class='header'> <ul class='breadcrumb'> <li><a href='/'>主页</a><span class='divider'>/</span></li> <li class='active'><%= user.name %> 关注的人</li> </ul> </div> <div class='inner'> <% if (users.length > 0) { %> <%- partial('../user/user', { collection: users, as: 'user' }) %> <% } else { %> <p>没有关注任何人</p> <% } %> </div> </div> </div>
test/philip.html5.org/tests/2d.composite.transparent.source-out.html
kangax/webgl-2d
<!DOCTYPE html> <title>Canvas test: 2d.composite.transparent.source-out</title> <script src="../tests.js"></script> <link rel="stylesheet" href="../tests.css"> <link rel="prev" href="2d.composite.transparent.destination-in.html" title="2d.composite.transparent.destination-in"> <link rel="next" href="2d.composite.transparent.destination-out.html" title="2d.composite.transparent.destination-out"> <body class="show_output"> <p> <a href="2d.composite.transparent.destination-in.html" accesskey="p" title="[p] 2d.composite.transparent.destination-in">&lt;</a> <a href="index.html">[index]</a> <a href="2d.composite.transparent.destination-out.html" accesskey="n" title="[n] 2d.composite.transparent.destination-out">&gt;</a> <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.transparent.html">transparent</a>.source-out</h1> <p class="desc"></p> <div class="refs">References: <ul> <li><a href="spec.html#testrefs.2d.composite.source-out">2d.composite.source-out</a> </ul> </div> <p class="output">Actual output:</p> <canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas> <p class="output expectedtext">Expected output:<p><img src="2d.composite.transparent.source-out.png" class="output expected" id="expected" alt=""> <ul id="d"></ul> <script> _addTest(function(canvas, ctx) { ctx.fillStyle = 'rgba(0, 255, 0, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-out'; ctx.fillStyle = 'rgba(0, 0, 255, 0.75)'; ctx.fillRect(0, 0, 100, 50); _assertPixelApprox(canvas, 50,25, 0,0,255,95, "50,25", "0,0,255,95", 5); }); </script>
war/src/main/webapp/help/system-config/master-slave/demand/idleDelay_de.html
v1v/jenkins
<div> Anzahl der Minuten, die dieser Agent inaktiv gewesen sein muss, bevor er offline geschaltet wird. </div>
tomcat/webapps/hudson-3.2.0/help/update-center/proxy-server_tr.html
ArcherSys/ArcherVMPeridot
<!-- ************************************************************************** # # Copyright (C) 2004-2009 Oracle Corporation # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html # # Contributors: # Kohsuke Kawaguchi # #************************************************************************** --> <div> If your Hudson server sits behind a firewall and does not have the direct access to the internet, and if your server JVM is not configured appropriately (<a href="http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html">See JDK networking properties for more details</a>) to enable internet connection, you can specify the HTTP proxy server name in this field to allow Hudson to install plugins on behalf of you. Note that Hudson uses HTTPS to communicate with the update center to download plugins. <p> The value you submit here will be set as <tt>http.proxyHost</tt> system property. Leaving this field empty causes this property to be unset, which means Hudson will try to connect to the host directly. <p> If you are unsure about the value, check the browser proxy configuration. </div>
doc/html/tutorials-tutorial.html
radekp/qtmoko
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Qt 4.4: Qt Tutorial</title> <link rel="next" href="tutorials-tutorial-t1.html" /> <link rel="start" href="index.html" /> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td> <td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">All&nbsp;Namespaces</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td> <td align="right" valign="top" width="230"></td></tr></table><p> [Next: <a href="tutorials-tutorial-t1.html">Chapter 1</a>] </p> <h1 class="title">Qt Tutorial<br /><span class="subtitle"></span> </h1> <p>This tutorial gives an introduction to GUI programming using the Qt toolkit. It doesn't cover everything; the emphasis is on teaching the programming philosophy of GUI programming, and Qt's features are introduced as needed. Some commonly used features are never used in this tutorial.</p> <p>Chapter one starts with a minimal &quot;Hello world&quot; program and the following chapters introduce new concepts. By Chapter 14, the &quot;Hello world&quot; program from Chapter 1 will have turned into a 650-line game.</p> <p>If you are completely new to Qt, please read <a href="how-to-learn-qt.html">How to Learn Qt</a> if you haven't already done so.</p> <p>The tutorial's source code is located in Qt's <tt>examples/tutorials/tutorial</tt> directory.</p> <p>Tutorial chapters:</p> <ol type="1"> <li><a href="tutorials-tutorial-t1.html">Hello World!</a></li> <li><a href="tutorials-tutorial-t2.html">Calling it Quits</a></li> <li><a href="tutorials-tutorial-t3.html">Family Values</a></li> <li><a href="tutorials-tutorial-t4.html">Let There Be Widgets</a></li> <li><a href="tutorials-tutorial-t5.html">Building Blocks</a></li> <li><a href="tutorials-tutorial-t6.html">Building Blocks Galore!</a></li> <li><a href="tutorials-tutorial-t7.html">One Thing Leads to Another</a></li> <li><a href="tutorials-tutorial-t8.html">Preparing for Battle</a></li> <li><a href="tutorials-tutorial-t9.html">With Cannon You Can</a></li> <li><a href="tutorials-tutorial-t10.html">Smooth as Silk</a></li> <li><a href="tutorials-tutorial-t11.html">Giving It a Shot</a></li> <li><a href="tutorials-tutorial-t12.html">Hanging in the Air the Way Bricks Don't</a></li> <li><a href="tutorials-tutorial-t13.html">Game Over</a></li> <li><a href="tutorials-tutorial-t14.html">Facing the Wall</a></li> </ol> <p>This little game doesn't look much like a modern GUI application. It uses a some GUI techniques, but after you've worked through it, we recommend checking out the <a href="mainwindows-application.html">Application</a> example, which presents a small GUI application, with menus, tool bars, a status bar, and so on.</p> <p> [Next: <a href="tutorials-tutorial-t1.html">Chapter 1</a>] </p> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td width="30%" align="left">Copyright &copy; 2008 Nokia</td> <td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td> <td width="30%" align="right"><div align="right">Qt 4.4.3</div></td> </tr></table></div></address></body> </html>
doc/html/qtextentryproxy-members.html
liuyanghejerry/qtextended
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>List of All Members for QTextEntryProxy</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" valign="top" width="32"><img src="images/qtlogo.png" align="left" border="0" /></td> <td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">All&nbsp;Namespaces</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped Classes</font></a>&nbsp;&middot; <a href="modules-index.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td> <td align="right" valign="center"><img src="images/codeless.png" border="0" alt="codeless banner"></td></tr></table><h1 class="title">List of All Members for QTextEntryProxy</h1> <p>This is the complete list of members for <a href="qtextentryproxy.html">QTextEntryProxy</a>, including inherited members.</p> <p><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td width="45%" valign="top"><ul> <li><div class="fn"/>enum <a href="qpaintdevice.html#PaintDeviceMetric-enum">PaintDeviceMetric</a></li> <li><div class="fn"/>enum <a href="qwidget.html#RenderFlag-enum">RenderFlag</a></li> <li><div class="fn"/>typedef <a href="qwidget.html#RenderFlags-typedef">RenderFlags</a></li> <li><div class="fn"/><a href="qtextentryproxy.html#QTextEntryProxy">QTextEntryProxy</a> ( QWidget *, QWidget * )</li> <li><div class="fn"/><a href="qtextentryproxy.html#dtor.QTextEntryProxy">~QTextEntryProxy</a> ()</li> <li><div class="fn"/><a href="qwidget.html#acceptDrops-prop">acceptDrops</a> () const</li> <li><div class="fn"/><a href="qwidget.html#accessibleDescription-prop">accessibleDescription</a> () const</li> <li><div class="fn"/><a href="qwidget.html#accessibleName-prop">accessibleName</a> () const</li> <li><div class="fn"/><a href="qwidget.html#actionEvent">actionEvent</a> ( QActionEvent * )</li> <li><div class="fn"/><a href="qwidget.html#actions">actions</a> () const</li> <li><div class="fn"/><a href="qwidget.html#activateWindow">activateWindow</a> ()</li> <li><div class="fn"/><a href="qwidget.html#addAction">addAction</a> ( QAction * )</li> <li><div class="fn"/><a href="qwidget.html#addActions">addActions</a> ( QList&lt;QAction *&gt; )</li> <li><div class="fn"/><a href="qwidget.html#adjustSize">adjustSize</a> ()</li> <li><div class="fn"/><a href="qwidget.html#autoFillBackground-prop">autoFillBackground</a> () const</li> <li><div class="fn"/><a href="qwidget.html#backgroundRole">backgroundRole</a> () const</li> <li><div class="fn"/><a href="qwidget.html#baseSize-prop">baseSize</a> () const</li> <li><div class="fn"/><a href="qobject.html#blockSignals">blockSignals</a> ( bool )</li> <li><div class="fn"/><a href="qwidget.html#changeEvent">changeEvent</a> ( QEvent * )</li> <li><div class="fn"/><a href="qwidget.html#childAt">childAt</a> ( int, int ) const</li> <li><div class="fn"/><a href="qwidget.html#childAt-4">childAt</a> ( const QPoint &amp; ) const</li> <li><div class="fn"/><a href="qobject.html#childEvent">childEvent</a> ( QChildEvent * )</li> <li><div class="fn"/><a href="qobject.html#children">children</a> () const</li> <li><div class="fn"/><a href="qwidget.html#childrenRect-prop">childrenRect</a> () const</li> <li><div class="fn"/><a href="qwidget.html#childrenRegion-prop">childrenRegion</a> () const</li> <li><div class="fn"/><a href="qtextentryproxy.html#clear">clear</a> ()</li> <li><div class="fn"/><a href="qwidget.html#clearFocus">clearFocus</a> ()</li> <li><div class="fn"/><a href="qwidget.html#clearMask">clearMask</a> ()</li> <li><div class="fn"/><a href="qwidget.html#close">close</a> ()</li> <li><div class="fn"/><a href="qwidget.html#closeEvent">closeEvent</a> ( QCloseEvent * )</li> <li><div class="fn"/><a href="qobject.html#connect">connect</a> ( const QObject *, const char *, const QObject *, const char *, Qt::ConnectionType )</li> <li><div class="fn"/><a href="qobject.html#connect-2">connect</a> ( const QObject *, const char *, const char *, Qt::ConnectionType ) const</li> <li><div class="fn"/><a href="qobject.html#connectNotify">connectNotify</a> ( const char * )</li> <li><div class="fn"/><a href="qwidget.html#contentsRect">contentsRect</a> () const</li> <li><div class="fn"/><a href="qwidget.html#contextMenuEvent">contextMenuEvent</a> ( QContextMenuEvent * )</li> <li><div class="fn"/><a href="qwidget.html#contextMenuPolicy-prop">contextMenuPolicy</a> () const</li> <li><div class="fn"/><a href="qwidget.html#create">create</a> ( WId, bool, bool )</li> <li><div class="fn"/><a href="qwidget.html#cursor-prop">cursor</a> () const</li> <li><div class="fn"/><a href="qwidget.html#customContextMenuRequested">customContextMenuRequested</a> ( const QPoint &amp; )</li> <li><div class="fn"/><a href="qobject.html#customEvent">customEvent</a> ( QEvent * )</li> <li><div class="fn"/><a href="qobject.html#d_ptr-var">d_ptr</a> : </li> <li><div class="fn"/><a href="qobject.html#deleteLater">deleteLater</a> ()</li> <li><div class="fn"/><a href="qpaintdevice.html#depth">depth</a> () const</li> <li><div class="fn"/><a href="qwidget.html#destroy">destroy</a> ( bool, bool )</li> <li><div class="fn"/><a href="qobject.html#destroyed">destroyed</a> ( QObject * )</li> <li><div class="fn"/><a href="qobject.html#disconnect">disconnect</a> ( const QObject *, const char *, const QObject *, const char * )</li> <li><div class="fn"/><a href="qobject.html#disconnect-2">disconnect</a> ( const char *, const QObject *, const char * )</li> <li><div class="fn"/><a href="qobject.html#disconnect-3">disconnect</a> ( const QObject *, const char * )</li> <li><div class="fn"/><a href="qobject.html#disconnectNotify">disconnectNotify</a> ( const char * )</li> <li><div class="fn"/><a href="qwidget.html#dragEnterEvent">dragEnterEvent</a> ( QDragEnterEvent * )</li> <li><div class="fn"/><a href="qwidget.html#dragLeaveEvent">dragLeaveEvent</a> ( QDragLeaveEvent * )</li> <li><div class="fn"/><a href="qwidget.html#dragMoveEvent">dragMoveEvent</a> ( QDragMoveEvent * )</li> <li><div class="fn"/><a href="qwidget.html#dropEvent">dropEvent</a> ( QDropEvent * )</li> <li><div class="fn"/><a href="qobject.html#dumpObjectInfo">dumpObjectInfo</a> ()</li> <li><div class="fn"/><a href="qobject.html#dumpObjectTree">dumpObjectTree</a> ()</li> <li><div class="fn"/><a href="qobject.html#dynamicPropertyNames">dynamicPropertyNames</a> () const</li> <li><div class="fn"/><a href="qwidget.html#effectiveWinId">effectiveWinId</a> () const</li> <li><div class="fn"/><a href="qwidget.html#ensurePolished">ensurePolished</a> () const</li> <li><div class="fn"/><a href="qwidget.html#enterEvent">enterEvent</a> ( QEvent * )</li> <li><div class="fn"/><a href="qwidget.html#event">event</a> ( QEvent * )</li> <li><div class="fn"/><a href="qobject.html#eventFilter">eventFilter</a> ( QObject *, QEvent * )</li> <li><div class="fn"/><a href="qwidget.html#find">find</a> ( WId )</li> <li><div class="fn"/><a href="qobject.html#findChild">findChild</a> ( const QString &amp; ) const</li> <li><div class="fn"/><a href="qobject.html#findChildren">findChildren</a> ( const QString &amp; ) const</li> <li><div class="fn"/><a href="qobject.html#findChildren-2">findChildren</a> ( const QRegExp &amp; ) const</li> <li><div class="fn"/><a href="qwidget.html#focusInEvent">focusInEvent</a> ( QFocusEvent * )</li> <li><div class="fn"/><a href="qwidget.html#focusNextChild">focusNextChild</a> ()</li> <li><div class="fn"/><a href="qwidget.html#focusNextPrevChild">focusNextPrevChild</a> ( bool )</li> <li><div class="fn"/><a href="qwidget.html#focusOutEvent">focusOutEvent</a> ( QFocusEvent * )</li> <li><div class="fn"/><a href="qwidget.html#focusPolicy-prop">focusPolicy</a> () const</li> <li><div class="fn"/><a href="qwidget.html#focusPreviousChild">focusPreviousChild</a> ()</li> <li><div class="fn"/><a href="qwidget.html#focusProxy">focusProxy</a> () const</li> <li><div class="fn"/><a href="qwidget.html#focusWidget">focusWidget</a> () const</li> <li><div class="fn"/><a href="qwidget.html#font-prop">font</a> () const</li> <li><div class="fn"/><a href="qwidget.html#fontInfo">fontInfo</a> () const</li> <li><div class="fn"/><a href="qwidget.html#fontMetrics">fontMetrics</a> () const</li> <li><div class="fn"/><a href="qwidget.html#foregroundRole">foregroundRole</a> () const</li> <li><div class="fn"/><a href="qwidget.html#frameGeometry-prop">frameGeometry</a> () const</li> <li><div class="fn"/><a href="qwidget.html#frameSize-prop">frameSize</a> () const</li> <li><div class="fn"/><a href="qwidget.html#geometry-prop">geometry</a> () const</li> <li><div class="fn"/><a href="qwidget.html#getContentsMargins">getContentsMargins</a> ( int *, int *, int *, int * ) const</li> <li><div class="fn"/><a href="qwidget.html#getDC">getDC</a> () const</li> <li><div class="fn"/><a href="qwidget.html#grabKeyboard">grabKeyboard</a> ()</li> <li><div class="fn"/><a href="qwidget.html#grabMouse">grabMouse</a> ()</li> <li><div class="fn"/><a href="qwidget.html#grabMouse-2">grabMouse</a> ( const QCursor &amp; )</li> <li><div class="fn"/><a href="qwidget.html#grabShortcut">grabShortcut</a> ( const QKeySequence &amp;, Qt::ShortcutContext )</li> <li><div class="fn"/><a href="qwidget.html#hasEditFocus">hasEditFocus</a> () const</li> <li><div class="fn"/><a href="qwidget.html#focus-prop">hasFocus</a> () const</li> <li><div class="fn"/><a href="qwidget.html#mouseTracking-prop">hasMouseTracking</a> () const</li> <li><div class="fn"/><a href="qwidget.html#height-prop">height</a> () const</li> <li><div class="fn"/><a href="qwidget.html#heightForWidth">heightForWidth</a> ( int ) const</li> <li><div class="fn"/><a href="qpaintdevice.html#heightMM">heightMM</a> () const</li> <li><div class="fn"/><a href="qwidget.html#hide">hide</a> ()</li> <li><div class="fn"/><a href="qwidget.html#hideEvent">hideEvent</a> ( QHideEvent * )</li> <li><div class="fn"/><a href="qobject.html#inherits">inherits</a> ( const char * ) const</li> <li><div class="fn"/><a href="qwidget.html#inputContext">inputContext</a> ()</li> <li><div class="fn"/><a href="qwidget.html#inputMethodEvent">inputMethodEvent</a> ( QInputMethodEvent * )</li> <li><div class="fn"/><a href="qwidget.html#inputMethodQuery">inputMethodQuery</a> ( Qt::InputMethodQuery ) const</li> <li><div class="fn"/><a href="qwidget.html#insertAction">insertAction</a> ( QAction *, QAction * )</li> <li><div class="fn"/><a href="qwidget.html#insertActions">insertActions</a> ( QAction *, QList&lt;QAction *&gt; )</li> <li><div class="fn"/><a href="qobject.html#installEventFilter">installEventFilter</a> ( QObject * )</li> <li><div class="fn"/><a href="qwidget.html#isActiveWindow-prop">isActiveWindow</a> () const</li> <li><div class="fn"/><a href="qwidget.html#isAncestorOf">isAncestorOf</a> ( const QWidget * ) const</li> <li><div class="fn"/><a href="qwidget.html#enabled-prop">isEnabled</a> () const</li> <li><div class="fn"/><a href="qwidget.html#isEnabledTo">isEnabledTo</a> ( QWidget * ) const</li> <li><div class="fn"/><a href="qwidget.html#fullScreen-prop">isFullScreen</a> () const</li> <li><div class="fn"/><a href="qwidget.html#isHidden">isHidden</a> () const</li> <li><div class="fn"/><a href="qwidget.html#maximized-prop">isMaximized</a> () const</li> <li><div class="fn"/><a href="qwidget.html#minimized-prop">isMinimized</a> () const</li> <li><div class="fn"/><a href="qwidget.html#modal-prop">isModal</a> () const</li> <li><div class="fn"/><a href="qwidget.html#visible-prop">isVisible</a> () const</li> <li><div class="fn"/><a href="qwidget.html#isVisibleTo">isVisibleTo</a> ( QWidget * ) const</li> <li><div class="fn"/><a href="qobject.html#isWidgetType">isWidgetType</a> () const</li> <li><div class="fn"/><a href="qwidget.html#isWindow">isWindow</a> () const</li> <li><div class="fn"/><a href="qwidget.html#windowModified-prop">isWindowModified</a> () const</li> <li><div class="fn"/><a href="qwidget.html#keyPressEvent">keyPressEvent</a> ( QKeyEvent * )</li> <li><div class="fn"/><a href="qwidget.html#keyReleaseEvent">keyReleaseEvent</a> ( QKeyEvent * )</li> <li><div class="fn"/><a href="qwidget.html#keyboardGrabber">keyboardGrabber</a> ()</li> <li><div class="fn"/><a href="qobject.html#killTimer">killTimer</a> ( int )</li> <li><div class="fn"/><a href="qwidget.html#layout">layout</a> () const</li> <li><div class="fn"/><a href="qwidget.html#layoutDirection-prop">layoutDirection</a> () const</li> <li><div class="fn"/><a href="qwidget.html#leaveEvent">leaveEvent</a> ( QEvent * )</li> <li><div class="fn"/><a href="qwidget.html#locale-prop">locale</a> () const</li> <li><div class="fn"/><a href="qpaintdevice.html#logicalDpiX">logicalDpiX</a> () const</li> <li><div class="fn"/><a href="qpaintdevice.html#logicalDpiY">logicalDpiY</a> () const</li> <li><div class="fn"/><a href="qwidget.html#lower">lower</a> ()</li> <li><div class="fn"/><a href="qwidget.html#macCGHandle">macCGHandle</a> () const</li> <li><div class="fn"/><a href="qwidget.html#macEvent">macEvent</a> ( EventHandlerCallRef, EventRef )</li> <li><div class="fn"/><a href="qwidget.html#macQDHandle">macQDHandle</a> () const</li> <li><div class="fn"/><a href="qwidget.html#mapFrom">mapFrom</a> ( QWidget *, const QPoint &amp; ) const</li> <li><div class="fn"/><a href="qwidget.html#mapFromGlobal">mapFromGlobal</a> ( const QPoint &amp; ) const</li> <li><div class="fn"/><a href="qwidget.html#mapFromParent">mapFromParent</a> ( const QPoint &amp; ) const</li> <li><div class="fn"/><a href="qwidget.html#mapTo">mapTo</a> ( QWidget *, const QPoint &amp; ) const</li> <li><div class="fn"/><a href="qwidget.html#mapToGlobal">mapToGlobal</a> ( const QPoint &amp; ) const</li> <li><div class="fn"/><a href="qwidget.html#mapToParent">mapToParent</a> ( const QPoint &amp; ) const</li> <li><div class="fn"/><a href="qwidget.html#mask">mask</a> () const</li> <li><div class="fn"/><a href="qwidget.html#maximumHeight-prop">maximumHeight</a> () const</li> <li><div class="fn"/><a href="qwidget.html#maximumSize-prop">maximumSize</a> () const</li> <li><div class="fn"/><a href="qwidget.html#maximumWidth-prop">maximumWidth</a> () const</li> <li><div class="fn"/><a href="qobject.html#metaObject">metaObject</a> () const</li> <li><div class="fn"/><a href="qwidget.html#metric">metric</a> ( PaintDeviceMetric ) const</li> <li><div class="fn"/><a href="qwidget.html#minimumHeight-prop">minimumHeight</a> () const</li> <li><div class="fn"/><a href="qwidget.html#minimumSize-prop">minimumSize</a> () const</li> <li><div class="fn"/><a href="qwidget.html#minimumSizeHint-prop">minimumSizeHint</a> () const</li> <li><div class="fn"/><a href="qwidget.html#minimumWidth-prop">minimumWidth</a> () const</li> <li><div class="fn"/><a href="qwidget.html#mouseDoubleClickEvent">mouseDoubleClickEvent</a> ( QMouseEvent * )</li> <li><div class="fn"/><a href="qwidget.html#mouseGrabber">mouseGrabber</a> ()</li> <li><div class="fn"/><a href="qwidget.html#mouseMoveEvent">mouseMoveEvent</a> ( QMouseEvent * )</li> <li><div class="fn"/><a href="qwidget.html#mousePressEvent">mousePressEvent</a> ( QMouseEvent * )</li> <li><div class="fn"/><a href="qwidget.html#mouseReleaseEvent">mouseReleaseEvent</a> ( QMouseEvent * )</li> <li><div class="fn"/><a href="qwidget.html#pos-prop">move</a> ( const QPoint &amp; )</li> <li><div class="fn"/><a href="qwidget.html#pos-prop">move</a> ( int, int )</li> <li><div class="fn"/><a href="qwidget.html#moveEvent">moveEvent</a> ( QMoveEvent * )</li> <li><div class="fn"/><a href="qobject.html#moveToThread">moveToThread</a> ( QThread * )</li> <li><div class="fn"/><a href="qwidget.html#nativeParentWidget">nativeParentWidget</a> () const</li> <li><div class="fn"/><a href="qwidget.html#nextInFocusChain">nextInFocusChain</a> () const</li> <li><div class="fn"/><a href="qwidget.html#normalGeometry-prop">normalGeometry</a> () const</li> <li><div class="fn"/><a href="qpaintdevice.html#numColors">numColors</a> () const</li> <li><div class="fn"/><a href="qobject.html#objectName-prop">objectName</a> () const</li> <li><div class="fn"/><a href="qwidget.html#overrideWindowFlags">overrideWindowFlags</a> ( QFlags&lt;Qt::WindowType&gt; )</li> <li><div class="fn"/><a href="qwidget.html#paintEngine">paintEngine</a> () const</li> <li><div class="fn"/><a href="qwidget.html#paintEvent">paintEvent</a> ( QPaintEvent * )</li> <li><div class="fn"/><a href="qpaintdevice.html#painters-var">painters</a> : </li> <li><div class="fn"/><a href="qpaintdevice.html#paintingActive">paintingActive</a> () const</li> <li><div class="fn"/><a href="qwidget.html#palette-prop">palette</a> () const</li> <li><div class="fn"/><a href="qobject.html#parent">parent</a> () const</li> </ul></td><td valign="top"><ul> <li><div class="fn"/><a href="qwidget.html#parentWidget">parentWidget</a> () const</li> <li><div class="fn"/><a href="qpaintdevice.html#physicalDpiX">physicalDpiX</a> () const</li> <li><div class="fn"/><a href="qpaintdevice.html#physicalDpiY">physicalDpiY</a> () const</li> <li><div class="fn"/><a href="qwidget.html#pos-prop">pos</a> () const</li> <li><div class="fn"/><a href="qobject.html#property">property</a> ( const char * ) const</li> <li><div class="fn"/><a href="qwidget.html#qwsEvent">qwsEvent</a> ( QWSEvent * )</li> <li><div class="fn"/><a href="qwidget.html#raise">raise</a> ()</li> <li><div class="fn"/><a href="qobject.html#receivers">receivers</a> ( const char * ) const</li> <li><div class="fn"/><a href="qwidget.html#rect-prop">rect</a> () const</li> <li><div class="fn"/><a href="qwidget.html#releaseDC">releaseDC</a> ( HDC ) const</li> <li><div class="fn"/><a href="qwidget.html#releaseKeyboard">releaseKeyboard</a> ()</li> <li><div class="fn"/><a href="qwidget.html#releaseMouse">releaseMouse</a> ()</li> <li><div class="fn"/><a href="qwidget.html#releaseShortcut">releaseShortcut</a> ( int )</li> <li><div class="fn"/><a href="qwidget.html#removeAction">removeAction</a> ( QAction * )</li> <li><div class="fn"/><a href="qobject.html#removeEventFilter">removeEventFilter</a> ( QObject * )</li> <li><div class="fn"/><a href="qwidget.html#render">render</a> ( QPaintDevice *, const QPoint &amp;, const QRegion &amp;, QFlags&lt;QWidget::RenderFlag&gt; )</li> <li><div class="fn"/><a href="qwidget.html#render-2">render</a> ( QPainter *, const QPoint &amp;, const QRegion &amp;, QFlags&lt;QWidget::RenderFlag&gt; )</li> <li><div class="fn"/><a href="qwidget.html#repaint">repaint</a> ()</li> <li><div class="fn"/><a href="qwidget.html#repaint-6">repaint</a> ( int, int, int, int )</li> <li><div class="fn"/><a href="qwidget.html#repaint-7">repaint</a> ( const QRect &amp; )</li> <li><div class="fn"/><a href="qwidget.html#repaint-8">repaint</a> ( const QRegion &amp; )</li> <li><div class="fn"/><a href="qwidget.html#resetInputContext">resetInputContext</a> ()</li> <li><div class="fn"/><a href="qwidget.html#size-prop">resize</a> ( const QSize &amp; )</li> <li><div class="fn"/><a href="qwidget.html#size-prop">resize</a> ( int, int )</li> <li><div class="fn"/><a href="qwidget.html#resizeEvent">resizeEvent</a> ( QResizeEvent * )</li> <li><div class="fn"/><a href="qwidget.html#restoreGeometry">restoreGeometry</a> ( const QByteArray &amp; )</li> <li><div class="fn"/><a href="qwidget.html#saveGeometry">saveGeometry</a> () const</li> <li><div class="fn"/><a href="qwidget.html#scroll">scroll</a> ( int, int )</li> <li><div class="fn"/><a href="qwidget.html#scroll-2">scroll</a> ( int, int, const QRect &amp; )</li> <li><div class="fn"/><a href="qobject.html#sender">sender</a> () const</li> <li><div class="fn"/><a href="qwidget.html#acceptDrops-prop">setAcceptDrops</a> ( bool )</li> <li><div class="fn"/><a href="qwidget.html#accessibleDescription-prop">setAccessibleDescription</a> ( const QString &amp; )</li> <li><div class="fn"/><a href="qwidget.html#accessibleName-prop">setAccessibleName</a> ( const QString &amp; )</li> <li><div class="fn"/><a href="qwidget.html#setAttribute">setAttribute</a> ( Qt::WidgetAttribute, bool )</li> <li><div class="fn"/><a href="qwidget.html#autoFillBackground-prop">setAutoFillBackground</a> ( bool )</li> <li><div class="fn"/><a href="qwidget.html#setBackgroundRole">setBackgroundRole</a> ( QPalette::ColorRole )</li> <li><div class="fn"/><a href="qwidget.html#baseSize-prop">setBaseSize</a> ( const QSize &amp; )</li> <li><div class="fn"/><a href="qwidget.html#baseSize-prop">setBaseSize</a> ( int, int )</li> <li><div class="fn"/><a href="qwidget.html#setContentsMargins">setContentsMargins</a> ( int, int, int, int )</li> <li><div class="fn"/><a href="qwidget.html#contextMenuPolicy-prop">setContextMenuPolicy</a> ( Qt::ContextMenuPolicy )</li> <li><div class="fn"/><a href="qwidget.html#cursor-prop">setCursor</a> ( const QCursor &amp; )</li> <li><div class="fn"/><a href="qwidget.html#setDisabled">setDisabled</a> ( bool )</li> <li><div class="fn"/><a href="qwidget.html#setEditFocus">setEditFocus</a> ( bool )</li> <li><div class="fn"/><a href="qwidget.html#enabled-prop">setEnabled</a> ( bool )</li> <li><div class="fn"/><a href="qwidget.html#setFixedHeight">setFixedHeight</a> ( int )</li> <li><div class="fn"/><a href="qwidget.html#setFixedSize">setFixedSize</a> ( const QSize &amp; )</li> <li><div class="fn"/><a href="qwidget.html#setFixedSize-2">setFixedSize</a> ( int, int )</li> <li><div class="fn"/><a href="qwidget.html#setFixedWidth">setFixedWidth</a> ( int )</li> <li><div class="fn"/><a href="qwidget.html#setFocus">setFocus</a> ( Qt::FocusReason )</li> <li><div class="fn"/><a href="qwidget.html#setFocus-2">setFocus</a> ()</li> <li><div class="fn"/><a href="qwidget.html#focusPolicy-prop">setFocusPolicy</a> ( Qt::FocusPolicy )</li> <li><div class="fn"/><a href="qwidget.html#setFocusProxy">setFocusProxy</a> ( QWidget * )</li> <li><div class="fn"/><a href="qwidget.html#font-prop">setFont</a> ( const QFont &amp; )</li> <li><div class="fn"/><a href="qwidget.html#setForegroundRole">setForegroundRole</a> ( QPalette::ColorRole )</li> <li><div class="fn"/><a href="qwidget.html#geometry-prop">setGeometry</a> ( const QRect &amp; )</li> <li><div class="fn"/><a href="qwidget.html#geometry-prop">setGeometry</a> ( int, int, int, int )</li> <li><div class="fn"/><a href="qwidget.html#setHidden">setHidden</a> ( bool )</li> <li><div class="fn"/><a href="qwidget.html#setInputContext">setInputContext</a> ( QInputContext * )</li> <li><div class="fn"/><a href="qwidget.html#setLayout">setLayout</a> ( QLayout * )</li> <li><div class="fn"/><a href="qwidget.html#layoutDirection-prop">setLayoutDirection</a> ( Qt::LayoutDirection )</li> <li><div class="fn"/><a href="qwidget.html#locale-prop">setLocale</a> ( const QLocale &amp; )</li> <li><div class="fn"/><a href="qwidget.html#setMask">setMask</a> ( const QBitmap &amp; )</li> <li><div class="fn"/><a href="qwidget.html#setMask-2">setMask</a> ( const QRegion &amp; )</li> <li><div class="fn"/><a href="qwidget.html#maximumHeight-prop">setMaximumHeight</a> ( int )</li> <li><div class="fn"/><a href="qwidget.html#maximumSize-prop">setMaximumSize</a> ( const QSize &amp; )</li> <li><div class="fn"/><a href="qwidget.html#maximumSize-prop">setMaximumSize</a> ( int, int )</li> <li><div class="fn"/><a href="qwidget.html#maximumWidth-prop">setMaximumWidth</a> ( int )</li> <li><div class="fn"/><a href="qwidget.html#minimumHeight-prop">setMinimumHeight</a> ( int )</li> <li><div class="fn"/><a href="qwidget.html#minimumSize-prop">setMinimumSize</a> ( const QSize &amp; )</li> <li><div class="fn"/><a href="qwidget.html#minimumSize-prop">setMinimumSize</a> ( int, int )</li> <li><div class="fn"/><a href="qwidget.html#minimumWidth-prop">setMinimumWidth</a> ( int )</li> <li><div class="fn"/><a href="qwidget.html#mouseTracking-prop">setMouseTracking</a> ( bool )</li> <li><div class="fn"/><a href="qobject.html#objectName-prop">setObjectName</a> ( const QString &amp; )</li> <li><div class="fn"/><a href="qwidget.html#palette-prop">setPalette</a> ( const QPalette &amp; )</li> <li><div class="fn"/><a href="qwidget.html#setParent">setParent</a> ( QWidget * )</li> <li><div class="fn"/><a href="qwidget.html#setParent-2">setParent</a> ( QWidget *, QFlags&lt;Qt::WindowType&gt; )</li> <li><div class="fn"/><a href="qobject.html#setProperty">setProperty</a> ( const char *, const QVariant &amp; )</li> <li><div class="fn"/><a href="qwidget.html#setShortcutAutoRepeat">setShortcutAutoRepeat</a> ( int, bool )</li> <li><div class="fn"/><a href="qwidget.html#setShortcutEnabled">setShortcutEnabled</a> ( int, bool )</li> <li><div class="fn"/><a href="qwidget.html#sizeIncrement-prop">setSizeIncrement</a> ( const QSize &amp; )</li> <li><div class="fn"/><a href="qwidget.html#sizeIncrement-prop">setSizeIncrement</a> ( int, int )</li> <li><div class="fn"/><a href="qwidget.html#sizePolicy-prop">setSizePolicy</a> ( QSizePolicy )</li> <li><div class="fn"/><a href="qwidget.html#sizePolicy-prop">setSizePolicy</a> ( QSizePolicy::Policy, QSizePolicy::Policy )</li> <li><div class="fn"/><a href="qwidget.html#statusTip-prop">setStatusTip</a> ( const QString &amp; )</li> <li><div class="fn"/><a href="qwidget.html#setStyle">setStyle</a> ( QStyle * )</li> <li><div class="fn"/><a href="qwidget.html#styleSheet-prop">setStyleSheet</a> ( const QString &amp; )</li> <li><div class="fn"/><a href="qwidget.html#setTabOrder">setTabOrder</a> ( QWidget *, QWidget * )</li> <li><div class="fn"/><a href="qtextentryproxy.html#setTarget">setTarget</a> ( QWidget * )</li> <li><div class="fn"/><a href="qwidget.html#toolTip-prop">setToolTip</a> ( const QString &amp; )</li> <li><div class="fn"/><a href="qwidget.html#updatesEnabled-prop">setUpdatesEnabled</a> ( bool )</li> <li><div class="fn"/><a href="qwidget.html#visible-prop">setVisible</a> ( bool )</li> <li><div class="fn"/><a href="qwidget.html#whatsThis-prop">setWhatsThis</a> ( const QString &amp; )</li> <li><div class="fn"/><a href="qwidget.html#windowFilePath-prop">setWindowFilePath</a> ( const QString &amp; )</li> <li><div class="fn"/><a href="qwidget.html#windowFlags-prop">setWindowFlags</a> ( QFlags&lt;Qt::WindowType&gt; )</li> <li><div class="fn"/><a href="qwidget.html#windowIcon-prop">setWindowIcon</a> ( const QIcon &amp; )</li> <li><div class="fn"/><a href="qwidget.html#windowIconText-prop">setWindowIconText</a> ( const QString &amp; )</li> <li><div class="fn"/><a href="qwidget.html#windowModality-prop">setWindowModality</a> ( Qt::WindowModality )</li> <li><div class="fn"/><a href="qwidget.html#windowModified-prop">setWindowModified</a> ( bool )</li> <li><div class="fn"/><a href="qwidget.html#windowOpacity-prop">setWindowOpacity</a> ( qreal )</li> <li><div class="fn"/><a href="qwidget.html#setWindowRole">setWindowRole</a> ( const QString &amp; )</li> <li><div class="fn"/><a href="qwidget.html#setWindowState">setWindowState</a> ( QFlags&lt;Qt::WindowState&gt; )</li> <li><div class="fn"/><a href="qwidget.html#setWindowSurface">setWindowSurface</a> ( QWindowSurface * )</li> <li><div class="fn"/><a href="qwidget.html#windowTitle-prop">setWindowTitle</a> ( const QString &amp; )</li> <li><div class="fn"/><a href="qwidget.html#show">show</a> ()</li> <li><div class="fn"/><a href="qwidget.html#showEvent">showEvent</a> ( QShowEvent * )</li> <li><div class="fn"/><a href="qwidget.html#showFullScreen">showFullScreen</a> ()</li> <li><div class="fn"/><a href="qwidget.html#showMaximized">showMaximized</a> ()</li> <li><div class="fn"/><a href="qwidget.html#showMinimized">showMinimized</a> ()</li> <li><div class="fn"/><a href="qwidget.html#showNormal">showNormal</a> ()</li> <li><div class="fn"/><a href="qobject.html#signalsBlocked">signalsBlocked</a> () const</li> <li><div class="fn"/><a href="qwidget.html#size-prop">size</a> () const</li> <li><div class="fn"/><a href="qwidget.html#sizeHint-prop">sizeHint</a> () const</li> <li><div class="fn"/><a href="qwidget.html#sizeIncrement-prop">sizeIncrement</a> () const</li> <li><div class="fn"/><a href="qwidget.html#sizePolicy-prop">sizePolicy</a> () const</li> <li><div class="fn"/><a href="qwidget.html#stackUnder">stackUnder</a> ( QWidget * )</li> <li><div class="fn"/><a href="qobject.html#startTimer">startTimer</a> ( int )</li> <li><div class="fn"/><a href="qobject.html#staticMetaObject-var">staticMetaObject</a> : </li> <li><div class="fn"/><a href="qobject.html#staticQtMetaObject-var">staticQtMetaObject</a> : </li> <li><div class="fn"/><a href="qwidget.html#statusTip-prop">statusTip</a> () const</li> <li><div class="fn"/><a href="qwidget.html#style">style</a> () const</li> <li><div class="fn"/><a href="qwidget.html#styleSheet-prop">styleSheet</a> () const</li> <li><div class="fn"/><a href="qwidget.html#tabletEvent">tabletEvent</a> ( QTabletEvent * )</li> <li><div class="fn"/><a href="qwidget.html#testAttribute">testAttribute</a> ( Qt::WidgetAttribute ) const</li> <li><div class="fn"/><a href="qtextentryproxy.html#text">text</a> () const : QString</li> <li><div class="fn"/><a href="qtextentryproxy.html#textChanged">textChanged</a> ( const QString &amp; )</li> <li><div class="fn"/><a href="qobject.html#thread">thread</a> () const</li> <li><div class="fn"/><a href="qobject.html#timerEvent">timerEvent</a> ( QTimerEvent * )</li> <li><div class="fn"/><a href="qwidget.html#toolTip-prop">toolTip</a> () const</li> <li><div class="fn"/><a href="qobject.html#tr">tr</a> ( const char *, const char *, int )</li> <li><div class="fn"/><a href="qobject.html#trUtf8">trUtf8</a> ( const char *, const char *, int )</li> <li><div class="fn"/><a href="qwidget.html#underMouse">underMouse</a> () const</li> <li><div class="fn"/><a href="qwidget.html#cursor-prop">unsetCursor</a> ()</li> <li><div class="fn"/><a href="qwidget.html#layoutDirection-prop">unsetLayoutDirection</a> ()</li> <li><div class="fn"/><a href="qwidget.html#locale-prop">unsetLocale</a> ()</li> <li><div class="fn"/><a href="qwidget.html#update">update</a> ()</li> <li><div class="fn"/><a href="qwidget.html#update-2">update</a> ( int, int, int, int )</li> <li><div class="fn"/><a href="qwidget.html#update-3">update</a> ( const QRect &amp; )</li> <li><div class="fn"/><a href="qwidget.html#update-4">update</a> ( const QRegion &amp; )</li> <li><div class="fn"/><a href="qwidget.html#updateGeometry">updateGeometry</a> ()</li> <li><div class="fn"/><a href="qwidget.html#updateMicroFocus">updateMicroFocus</a> ()</li> <li><div class="fn"/><a href="qwidget.html#updatesEnabled-prop">updatesEnabled</a> () const</li> <li><div class="fn"/><a href="qwidget.html#visibleRegion">visibleRegion</a> () const</li> <li><div class="fn"/><a href="qwidget.html#whatsThis-prop">whatsThis</a> () const</li> <li><div class="fn"/><a href="qwidget.html#wheelEvent">wheelEvent</a> ( QWheelEvent * )</li> <li><div class="fn"/><a href="qwidget.html#width-prop">width</a> () const</li> <li><div class="fn"/><a href="qpaintdevice.html#widthMM">widthMM</a> () const</li> <li><div class="fn"/><a href="qwidget.html#winEvent">winEvent</a> ( MSG *, long * )</li> <li><div class="fn"/><a href="qwidget.html#winId">winId</a> () const</li> <li><div class="fn"/><a href="qwidget.html#window">window</a> () const</li> <li><div class="fn"/><a href="qwidget.html#windowFilePath-prop">windowFilePath</a> () const</li> <li><div class="fn"/><a href="qwidget.html#windowFlags-prop">windowFlags</a> () const</li> <li><div class="fn"/><a href="qwidget.html#windowIcon-prop">windowIcon</a> () const</li> <li><div class="fn"/><a href="qwidget.html#windowIconText-prop">windowIconText</a> () const</li> <li><div class="fn"/><a href="qwidget.html#windowModality-prop">windowModality</a> () const</li> <li><div class="fn"/><a href="qwidget.html#windowOpacity-prop">windowOpacity</a> () const</li> <li><div class="fn"/><a href="qwidget.html#windowRole">windowRole</a> () const</li> <li><div class="fn"/><a href="qwidget.html#windowState">windowState</a> () const</li> <li><div class="fn"/><a href="qwidget.html#windowSurface">windowSurface</a> () const</li> <li><div class="fn"/><a href="qwidget.html#windowTitle-prop">windowTitle</a> () const</li> <li><div class="fn"/><a href="qwidget.html#windowType">windowType</a> () const</li> <li><div class="fn"/><a href="qwidget.html#x-prop">x</a> () const</li> <li><div class="fn"/><a href="qwidget.html#x11Event">x11Event</a> ( XEvent * )</li> <li><div class="fn"/><a href="qwidget.html#x11Info">x11Info</a> () const</li> <li><div class="fn"/><a href="qwidget.html#x11PictureHandle">x11PictureHandle</a> () const</li> <li><div class="fn"/><a href="qwidget.html#y-prop">y</a> () const</li> </ul> </td></tr> </table></p> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td align="left">Copyright &copy; 2009 Trolltech</td> <td align="center"><a href="trademarks.html">Trademarks</a></td> <td align="right"><div align="right">Qt Extended 4.4.3</div></td> </tr></table></div></address></body> </html>
doc/html/qsimfiles.html
rk34cj/qt-extend-4.4.3
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>QSimFiles Class Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" valign="top" width="32"><img src="images/qtlogo.png" align="left" border="0" /></td> <td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">All&nbsp;Namespaces</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped Classes</font></a>&nbsp;&middot; <a href="modules-index.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td> <td align="right" valign="center"><img src="images/codeless.png" border="0" alt="codeless banner"></td></tr></table><h1 class="title">QSimFiles Class Reference<br /><span class="small-subtitle">[<a href="qttelephonymodule.html">QtTelephonyModule</a>]</span> </h1> <p>The QSimFiles class provides an interface for reading and writing the files on a SIM. <a href="#details">More...</a></p> <pre> #include &lt;QSimFiles&gt;</pre><p>Inherits <a href="qcomminterface.html">QCommInterface</a>.</p> <p>Inherited by <a href="qmodemsimfiles.html">QModemSimFiles</a>.</p> <ul> <li><a href="qsimfiles-members.html">List of all members, including inherited members</a></li> </ul> <a name="public-functions"></a> <h3>Public Functions</h3> <ul> <li><div class="fn"/><b><a href="qsimfiles.html#QSimFiles">QSimFiles</a></b> ( const QString &amp; <i>service</i> = QString(), QObject * <i>parent</i> = 0, QCommInterface::Mode <i>mode</i> = Client )</li> <li><div class="fn"/><b><a href="qsimfiles.html#dtor.QSimFiles">~QSimFiles</a></b> ()</li> </ul> <ul> <li><div class="fn"/>1 public function inherited from <a href="qcomminterface.html#public-functions">QCommInterface</a></li> <li><div class="fn"/>4 public functions inherited from <a href="qabstractipcinterface.html#public-functions">QAbstractIpcInterface</a></li> <li><div class="fn"/>29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li> </ul> <a name="public-slots"></a> <h3>Public Slots</h3> <ul> <li><div class="fn"/>virtual void <b><a href="qsimfiles.html#readBinary">readBinary</a></b> ( const QString &amp; <i>reqid</i>, const QString &amp; <i>fileid</i>, int <i>pos</i>, int <i>len</i> )</li> <li><div class="fn"/>virtual void <b><a href="qsimfiles.html#readRecord">readRecord</a></b> ( const QString &amp; <i>reqid</i>, const QString &amp; <i>fileid</i>, int <i>recno</i>, int <i>recordSize</i> = -1 )</li> <li><div class="fn"/>virtual void <b><a href="qsimfiles.html#requestFileInfo">requestFileInfo</a></b> ( const QString &amp; <i>reqid</i>, const QString &amp; <i>fileid</i> )</li> <li><div class="fn"/>virtual void <b><a href="qsimfiles.html#writeBinary">writeBinary</a></b> ( const QString &amp; <i>reqid</i>, const QString &amp; <i>fileid</i>, int <i>pos</i>, const QByteArray &amp; <i>data</i> )</li> <li><div class="fn"/>virtual void <b><a href="qsimfiles.html#writeRecord">writeRecord</a></b> ( const QString &amp; <i>reqid</i>, const QString &amp; <i>fileid</i>, int <i>recno</i>, const QByteArray &amp; <i>data</i> )</li> </ul> <ul> <li><div class="fn"/>1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li> </ul> <a name="signals"></a> <h3>Signals</h3> <ul> <li><div class="fn"/>void <b><a href="qsimfiles.html#error">error</a></b> ( const QString &amp; <i>reqid</i>, QTelephony::SimFileError <i>err</i> )</li> <li><div class="fn"/>void <b><a href="qsimfiles.html#fileInfo">fileInfo</a></b> ( const QString &amp; <i>reqid</i>, int <i>size</i>, int <i>recordSize</i>, QTelephony::SimFileType <i>type</i> )</li> <li><div class="fn"/>void <b><a href="qsimfiles.html#readDone">readDone</a></b> ( const QString &amp; <i>reqid</i>, const QByteArray &amp; <i>data</i>, int <i>pos</i> )</li> <li><div class="fn"/>void <b><a href="qsimfiles.html#writeDone">writeDone</a></b> ( const QString &amp; <i>reqid</i>, int <i>pos</i> )</li> </ul> <ul> <li><div class="fn"/>1 signal inherited from <a href="qabstractipcinterface.html#signals">QAbstractIpcInterface</a></li> <li><div class="fn"/>1 signal inherited from <a href="qobject.html#signals">QObject</a></li> </ul> <h3>Additional Inherited Members</h3> <ul> <li><div class="fn"/>1 property inherited from <a href="qobject.html#properties">QObject</a></li> <li><div class="fn"/>1 public type inherited from <a href="qobject.html#public-variables">QObject</a></li> <li><div class="fn"/>4 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li> <li><div class="fn"/>14 protected functions inherited from <a href="qabstractipcinterface.html#protected-functions">QAbstractIpcInterface</a></li> <li><div class="fn"/>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li> <li><div class="fn"/>2 protected variables inherited from <a href="qobject.html#protected-variables">QObject</a></li> </ul> <a name="details"></a> <hr /> <h2>Detailed Description</h2> <p>The QSimFiles class provides an interface for reading and writing the files on a SIM.</p> <p>Client applications should use <a href="qbinarysimfile.html">QBinarySimFile</a> and <a href="qrecordbasedsimfile.html">QRecordBasedSimFile</a> to access SIM files as they provide a cleaner interface. The QSimFiles class is mainly intended for use by service implementations, which inherit from QSimFiles and override the methods described below. <a href="qmodemsimfiles.html">QModemSimFiles</a> is the standard implementation of the service for AT-based modems.</p> <p>See also <a href="qbinarysimfile.html">QBinarySimFile</a>, <a href="qrecordbasedsimfile.html">QRecordBasedSimFile</a>, and <a href="qmodemsimfiles.html">QModemSimFiles</a>.</p> <hr /> <h2>Member Function Documentation</h2> <h3 class="fn"><a name="QSimFiles"></a>QSimFiles::QSimFiles ( const <a href="qstring.html">QString</a> &amp; <i>service</i> = QString(), <a href="qobject.html">QObject</a> * <i>parent</i> = 0, <a href="qabstractipcinterface.html#Mode-enum">QCommInterface::Mode</a> <i>mode</i> = Client )</h3> <p>Construct a new SIM file access object for <i>service</i> and attach it to <i>parent</i>. The object will be created in client mode if <i>mode</i> is Client, or server mode otherwise.</p> <p>If <i>service</i> is empty, this class will use the first available service that supports SIM file access. If there is more than one service that supports SIM file access, the caller should enumerate them with <a href="qabstractipcinterfacegroupmanager.html#supports">QCommServiceManager::supports</a>() and create separate <a href="qsimfiles.html">QSimFiles</a> objects for each.</p> <p>Normally this constructor would not be used by client applications. Client applications should use <a href="qbinarysimfile.html">QBinarySimFile</a> and <a href="qrecordbasedsimfile.html">QRecordBasedSimFile</a>. Server applications should inherit from the <a href="qsimfiles.html">QSimFiles</a> class and call this constructor with <i>mode</i> set to <a href="qabstractipcinterface.html#Mode-enum">QCommInterface::Server</a>.</p> <p>See also <a href="qabstractipcinterfacegroupmanager.html#supports">QCommServiceManager::supports</a>().</p> <h3 class="fn"><a name="dtor.QSimFiles"></a>QSimFiles::~QSimFiles ()</h3> <p>Destroy this SIM file access object.</p> <h3 class="fn"><a name="error"></a>void QSimFiles::error ( const <a href="qstring.html">QString</a> &amp; <i>reqid</i>, <a href="qtelephony.html#SimFileError-enum">QTelephony::SimFileError</a> <i>err</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3> <p>Signal that is emitted when the request <i>reqid</i> fails with an error code <i>err</i>.</p> <p>See also <a href="qsimfiles.html#readBinary">readBinary</a>(), <a href="qsimfiles.html#writeBinary">writeBinary</a>(), <a href="qsimfiles.html#readRecord">readRecord</a>(), and <a href="qsimfiles.html#writeRecord">writeRecord</a>().</p> <h3 class="fn"><a name="fileInfo"></a>void QSimFiles::fileInfo ( const <a href="qstring.html">QString</a> &amp; <i>reqid</i>, int <i>size</i>, int <i>recordSize</i>, <a href="qtelephony.html#SimFileType-enum">QTelephony::SimFileType</a> <i>type</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3> <p>Signal that is emitted when the file information request <i>reqid</i> was successful. The size of the file in bytes is <i>size</i>. If the file is record-based, then <i>recordSize</i> will be the size of the individual records. If the file is binary-based, then <i>recordSize</i> will be 1. The <i>type</i> parameter specifies the actual file type.</p> <p>See also <a href="qsimfiles.html#requestFileInfo">requestFileInfo</a>().</p> <h3 class="fn"><a name="readBinary"></a>void QSimFiles::readBinary ( const <a href="qstring.html">QString</a> &amp; <i>reqid</i>, const <a href="qstring.html">QString</a> &amp; <i>fileid</i>, int <i>pos</i>, int <i>len</i> )&nbsp;&nbsp;<tt> [virtual slot]</tt></h3> <p>Read <i>len</i> bytes from position <i>pos</i> of the binary file <i>fileid</i>. The <i>reqid</i> parameter indicates a caller-assigned request identifier.</p> <p>Once the read completes, the <a href="qsimfiles.html#readDone">readDone</a>() signal will be emitted with the same <i>reqid</i>. If the request fails, the <a href="qsimfiles.html#error">error</a>() signal will be emitted.</p> <p>Client applications should use <a href="qbinarysimfile.html#read">QBinarySimFile::read</a>() instead.</p> <p>See also <a href="qsimfiles.html#readDone">readDone</a>() and <a href="qsimfiles.html#writeBinary">writeBinary</a>().</p> <h3 class="fn"><a name="readDone"></a>void QSimFiles::readDone ( const <a href="qstring.html">QString</a> &amp; <i>reqid</i>, const <a href="qbytearray.html">QByteArray</a> &amp; <i>data</i>, int <i>pos</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3> <p>Signal that is emitted when the read request <i>reqid</i> was successful in reading <i>data</i> from <i>pos</i> in the file.</p> <p>See also <a href="qsimfiles.html#readBinary">readBinary</a>() and <a href="qsimfiles.html#readRecord">readRecord</a>().</p> <h3 class="fn"><a name="readRecord"></a>void QSimFiles::readRecord ( const <a href="qstring.html">QString</a> &amp; <i>reqid</i>, const <a href="qstring.html">QString</a> &amp; <i>fileid</i>, int <i>recno</i>, int <i>recordSize</i> = -1 )&nbsp;&nbsp;<tt> [virtual slot]</tt></h3> <p>Read record <i>recno</i> the record-based file <i>fileid</i>. The <i>reqid</i> parameter indicates a caller-assigned request identifier.</p> <p>Once the read completes, the <a href="qsimfiles.html#readDone">readDone</a>() signal will be emitted with the same <i>reqid</i>. If the request fails, the <a href="qsimfiles.html#error">error</a>() signal will be emitted.</p> <p>If <i>recordSize</i> is not -1, it indicates that the record size is already known. Otherwise the service will determine the record size for itself.</p> <p>Client applications should use <a href="qrecordbasedsimfile.html#read">QRecordBasedSimFile::read</a>() instead.</p> <p>See also <a href="qsimfiles.html#readDone">readDone</a>() and <a href="qsimfiles.html#writeRecord">writeRecord</a>().</p> <h3 class="fn"><a name="requestFileInfo"></a>void QSimFiles::requestFileInfo ( const <a href="qstring.html">QString</a> &amp; <i>reqid</i>, const <a href="qstring.html">QString</a> &amp; <i>fileid</i> )&nbsp;&nbsp;<tt> [virtual slot]</tt></h3> <p>Request the current file information for <i>fileid</i>. The <i>reqid</i> parameter indicates a caller-assigned request identifier.</p> <p>Once the request completes, the <a href="qsimfiles.html#fileInfo">fileInfo</a>() signal will be emitted when the same <i>reqid</i>. If the request fails, the <a href="qsimfiles.html#error">error</a>() signal will be emitted.</p> <p>Client applications should use <a href="qbinarysimfile.html#requestFileSize">QBinarySimFile::requestFileSize</a>() or <a href="qrecordbasedsimfile.html#requestFileInfo">QRecordBasedSimFile::requestFileInfo</a>() instead.</p> <p>See also <a href="qsimfiles.html#fileInfo">fileInfo</a>().</p> <h3 class="fn"><a name="writeBinary"></a>void QSimFiles::writeBinary ( const <a href="qstring.html">QString</a> &amp; <i>reqid</i>, const <a href="qstring.html">QString</a> &amp; <i>fileid</i>, int <i>pos</i>, const <a href="qbytearray.html">QByteArray</a> &amp; <i>data</i> )&nbsp;&nbsp;<tt> [virtual slot]</tt></h3> <p>Write <i>data</i> at position <i>pos</i> of the binary file <i>fileid</i>. The <i>reqid</i> parameter indicates a caller-assigned request identifier.</p> <p>Once the write completes, the <a href="qsimfiles.html#writeDone">writeDone</a>() signal will be emitted with the same <i>reqid</i>. If the request fails, the <a href="qsimfiles.html#error">error</a>() signal will be emitted.</p> <p>Client applications should use <a href="qbinarysimfile.html#write">QBinarySimFile::write</a>() instead.</p> <p>See also <a href="qsimfiles.html#writeDone">writeDone</a>() and <a href="qsimfiles.html#readBinary">readBinary</a>().</p> <h3 class="fn"><a name="writeDone"></a>void QSimFiles::writeDone ( const <a href="qstring.html">QString</a> &amp; <i>reqid</i>, int <i>pos</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3> <p>Signal that is emitted when the write request <i>reqid</i> successfully wrote to position <i>pos</i> of the file.</p> <p>See also <a href="qsimfiles.html#writeBinary">writeBinary</a>() and <a href="qsimfiles.html#writeRecord">writeRecord</a>().</p> <h3 class="fn"><a name="writeRecord"></a>void QSimFiles::writeRecord ( const <a href="qstring.html">QString</a> &amp; <i>reqid</i>, const <a href="qstring.html">QString</a> &amp; <i>fileid</i>, int <i>recno</i>, const <a href="qbytearray.html">QByteArray</a> &amp; <i>data</i> )&nbsp;&nbsp;<tt> [virtual slot]</tt></h3> <p>Write <i>data</i> at position <i>recno</i> of the record-based file <i>fileid</i>. The <i>reqid</i> parameter indicates a caller-assigned request identifier.</p> <p>Once the write completes, the <a href="qsimfiles.html#writeDone">writeDone</a>() signal will be emitted with the same <i>reqid</i>. If the request fails, the <a href="qsimfiles.html#error">error</a>() signal will be emitted.</p> <p>Client applications should use <a href="qrecordbasedsimfile.html#write">QRecordBasedSimFile::write</a>() instead.</p> <p>See also <a href="qsimfiles.html#writeDone">writeDone</a>() and <a href="qsimfiles.html#readRecord">readRecord</a>().</p> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td align="left">Copyright &copy; 2009 Trolltech</td> <td align="center"><a href="trademarks.html">Trademarks</a></td> <td align="right"><div align="right">Qt Extended 4.4.3</div></td> </tr></table></div></address></body> </html>
web/resources/scripts/ext/docs/source/dragdropzones.html
sguazt/dcsj-sharegrid-portal
<html> <head> <title>The source code</title> <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../resources/prettify/prettify.js"></script> </head> <body onload="prettyPrint();"> <pre class="prettyprint lang-js">Ext.onReady(function() { var patients = [{ insuranceCode: '11111', name: 'Fred Bloggs', address: 'Main Street', telephone: '555 1234 123' }, { insuranceCode: '22222', name: 'Fred West', address: 'Cromwell Street', telephone: '666 666 666' }, { insuranceCode: '33333', name: 'Fred Mercury', address: 'Over The Rainbow', telephone: '555 321 0987' }, { insuranceCode: '44444', name: 'Fred Forsyth', address: 'Blimp Street', telephone: '555 111 2222' }, { insuranceCode: '55555', name: 'Fred Douglass', address: 'Talbot County, Maryland', telephone: 'N/A' }]; var PatientRecord = Ext.data.Record.create([{ name: 'name' }, { name: 'address' }, { name: 'telephone' }]); var patientStore = new Ext.data.Store({ data: patients, reader: new Ext.data.JsonReader({ id: 'insuranceCode' }, PatientRecord) }); var hospitals = [{ code: 'AAAAA', name: 'Saint Thomas', address: 'Westminster Bridge Road, SE1 7EH', telephone: '020 7188 7188' }, { code: 'BBBBB', name: 'Queen\'s Medical Centre', address: 'Derby Road, NG7 2UH', telephone: '0115 924 9924' }, { code: 'CCCCC', name: 'Saint Bartholomew', address: 'West Smithfield, EC1A 7BE', telephone: '020 7377 7000' }, { code: 'DDDDD', name: 'Royal London', address: 'Whitechapel, E1 1BB', telephone: '020 7377 7000' }]; var HospitalRecord = Ext.data.Record.create([{ name: 'name' }, { name: 'address' }, { name: 'telephone' }]); var hospitalStore = new Ext.data.Store({ data: hospitals, reader: new Ext.data.JsonReader({ id: 'code' }, HospitalRecord) }); var patientView = new Ext.DataView({ cls: 'patient-view', tpl: '<tpl for=".">' + '<div class="patient-source"><table><tbody>' + '<tr><td class="patient-label">Name</td><td class="patient-name">{name}</td></tr>' + '<tr><td class="patient-label">Address</td><td class="patient-name">{address}</td></tr>' + '<tr><td class="patient-label">Telephone</td><td class="patient-name">{telephone}</td></tr>' + '</tbody></table></div>' + '</tpl>', itemSelector: 'div.patient-source', store: patientStore, listeners: { render: initializePatientDragZone } }); var helpWindow = new Ext.Window({ title: 'Source code', width: 920, height: 500, closeAction: 'hide', bodyCfg: {tag: 'textarea', readonly: true}, bodyStyle: { backgroundColor: 'white', margin: '0px', border: '0px none' }, listeners: { render: function(w) { Ext.Ajax.request({ url: 'dragdropzones.js', success: function(r) { w.body.dom.value = r.responseText; } }); } } }); var hospitalGrid = new Ext.grid.GridPanel({ title: 'Hospitals', region: 'center', margins: '0 5 5 0', bbar: [{ text: 'View Source', handler: function() { helpWindow.show(); } }], columns: [{ dataIndex: 'name', header: 'Name', width: 200 }, { dataIndex: 'address', header: 'Address', width: 300 }, { dataIndex: 'telephone', header: 'Telephone', width: 100 }], viewConfig: { tpl: new Ext.XTemplate('<div class="hospital-target"></div>'), enableRowBody: true, getRowClass: function(rec, idx, p, store) { p.body = this.tpl.apply(rec.data); } }, store: hospitalStore, listeners: { render: initializeHospitalDropZone } }); new Ext.Viewport({ layout: 'border', items: [{ cls: 'app-header', region: 'north', height: 100, html: '<h1>Patient Hospital Assignment</h1>', margins: '5 5 5 5' }, { title: 'Patients', region: 'west', width: 300, margins: '0 5 5 5', items: patientView }, hospitalGrid ] }); }); /* * Here is where we "activate" the DataView. * We have decided that each node with the class "patient-source" encapsulates a single draggable * object. * * So we inject code into the DragZone which, when passed a mousedown event, interrogates * the event to see if it was within an element with the class "patient-source". If so, we * return non-null drag data. * * Returning non-null drag data indicates that the mousedown event has begun a dragging process. * The data must contain a property called "ddel" which is a DOM element which provides an image * of the data being dragged. The actual node clicked on is not dragged, a proxy element is dragged. * We can insert any other data into the data object, and this will be used by a cooperating DropZone * to perform the drop operation. */ function initializePatientDragZone(v) { v.dragZone = new Ext.dd.DragZone(v.getEl(), { // On receipt of a mousedown event, see if it is within a draggable element. // Return a drag data object if so. The data object can contain arbitrary application // data, but it should also contain a DOM element in the ddel property to provide // a proxy to drag. getDragData: function(e) { var sourceEl = e.getTarget(v.itemSelector, 10); if (sourceEl) { d = sourceEl.cloneNode(true); d.id = Ext.id(); return v.dragData = { sourceEl: sourceEl, repairXY: Ext.fly(sourceEl).getXY(), ddel: d, patientData: v.getRecord(sourceEl).data } } }, // Provide coordinates for the proxy to slide back to on failed drag. // This is the original XY coordinates of the draggable element. getRepairXY: function() { return this.dragData.repairXY; } }); } /* * Here is where we "activate" the GridPanel. * We have decided that the element with class "hospital-target" is the element which can receieve * drop gestures. So we inject a method "getTargetFromEvent" into the DropZone. This is constantly called * while the mouse is moving over the DropZone, and it returns the target DOM element if it detects that * the mouse if over an element which can receieve drop gestures. * * Once the DropZone has been informed by getTargetFromEvent that it is over a target, it will then * call several "onNodeXXXX" methods at various points. These include: * * onNodeEnter * onNodeOut * onNodeOver * onNodeDrop * * We provide implementations of each of these to provide behaviour for these events. */ function initializeHospitalDropZone(g) { g.dropZone = new Ext.dd.DropZone(g.getView().scroller, { // If the mouse is over a target node, return that node. This is // provided as the "target" parameter in all "onNodeXXXX" node event handling functions getTargetFromEvent: function(e) { return e.getTarget('.hospital-target'); }, // On entry into a target node, highlight that node. onNodeEnter : function(target, dd, e, data){ Ext.fly(target).addClass('hospital-target-hover'); }, // On exit from a target node, unhighlight that node. onNodeOut : function(target, dd, e, data){ Ext.fly(target).removeClass('hospital-target-hover'); }, // While over a target node, return the default drop allowed class which // places a "tick" icon into the drag proxy. onNodeOver : function(target, dd, e, data){ return Ext.dd.DropZone.prototype.dropAllowed; }, // On node drop, we can interrogate the target node to find the underlying // application object that is the real target of the dragged data. // In this case, it is a Record in the GridPanel's Store. // We can use the data set up by the DragZone's getDragData method to read // any data we decided to attach. onNodeDrop : function(target, dd, e, data){ var rowIndex = g.getView().findRowIndex(target); var h = g.getStore().getAt(rowIndex); Ext.Msg.alert('Drop gesture', 'Dropped patient ' + data.patientData.name + ' on hospital ' + h.data.name); return true; } }); }</pre> </body> </html>
tests/wpt/web-platform-tests/mixed-content/gen/top.meta/unset/xhr/cross-http.no-redirect.https.html
larsbergstrom/servo
<!DOCTYPE html> <!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using common/security-features/tools/template/test.release.html.template. --> <html> <head> <title>Mixed-Content: Blockable content</title> <meta charset='utf-8'> <meta name="description" content="Test behavior of blockable content."> <link rel="author" title="Kristijan Burnik" href="burnik@chromium.org"> <link rel="help" href="http://www.w3.org/TR/mixed-content/#category-blockable"> <meta name="assert" content="Mixed-Content: Expects blocked for xhr to cross-http origin and no-redirect redirection from https context."> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/common/security-features/resources/common.sub.js"></script> <script src="/mixed-content/generic/test-case.sub.js"></script> </head> <body> <script> TestCase( { "expectation": "blocked", "origin": "cross-http", "redirection": "no-redirect", "source_context_list": [], "source_scheme": "https", "subresource": "xhr", "subresource_policy_deliveries": [] }, document.querySelector("meta[name=assert]").content, new SanityChecker() ).start(); </script> <div id="log"></div> </body> </html>
source/api/apidocs-4.8/root_admin/removeCertFromLoadBalancer.html
terbolous/cloudstack-www
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"> <title>Apache CloudStack | The Power Behind Your Cloud</title> </head> <body> <div id="insidetopbg"> <div id="inside_wrapper"> <div class="uppermenu_panel"> <div class="uppermenu_box"></div> </div> <div id="main_master"> <div id="inside_header"> <div class="header_top"> <a class="cloud_logo" href="http://cloudstack.org"></a> <div class="mainemenu_panel"></div> </div> </div> <div id="main_content"> <div class="inside_apileftpanel"> <div class="inside_contentpanel" style="width:930px;"> <div class="api_titlebox"> <div class="api_titlebox_left"> <span> Apache CloudStack v4.8.0 Root Admin API Reference </span> <p></p> <h1>removeCertFromLoadBalancer</h1> <p>Removes a certificate from a load balancer rule</p> </div> <div class="api_titlebox_right"> <a class="api_backbutton" href="../TOC_Root_Admin.html"></a> </div> </div> <div class="api_tablepanel"> <h2>Request parameters</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Parameter Name</strong></td><td style="width:500px;">Description</td><td style="width:180px;">Required</td> </tr> <tr> <td style="width:200px;"><strong>lbruleid</strong></td><td style="width:500px;"><strong>the ID of the load balancer rule</strong></td><td style="width:180px;"><strong>true</strong></td> </tr> </table> </div> <div class="api_tablepanel"> <h2>Response Tags</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Response Name</strong></td><td style="width:500px;">Description</td> </tr> <tr> <td style="width:200px;"><strong>displaytext</strong></td><td style="width:500px;">any text associated with the success or failure</td> </tr> <tr> <td style="width:200px;"><strong>success</strong></td><td style="width:500px;">true if operation is executed successfully</td> </tr> </table> </div> </div> </div> </div> </div> <div id="footer"> <div id="comments_thread"> <script type="text/javascript" src="https://comments.apache.org/show_comments.lua?site=test" async="true"></script> <noscript> <iframe width="930" height="500" src="https://comments.apache.org/iframe.lua?site=test&amp;page=4.2.0/rootadmin"></iframe> </noscript> </div> <div id="footer_mainmaster"> <p>Copyright &copy; 2016 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0.</a> <br> Apache, CloudStack, Apache CloudStack, the Apache CloudStack logo, the CloudMonkey logo and the Apache feather logo are trademarks of The Apache Software Foundation.</p> </div> </div> </div> </div> </body> </html>
source/api/apidocs-4.7/root_admin/deleteLdapConfiguration.html
pdion891/cloudstack-www
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"> <title>Apache CloudStack | The Power Behind Your Cloud</title> </head> <body> <div id="insidetopbg"> <div id="inside_wrapper"> <div class="uppermenu_panel"> <div class="uppermenu_box"></div> </div> <div id="main_master"> <div id="inside_header"> <div class="header_top"> <a class="cloud_logo" href="http://cloudstack.org"></a> <div class="mainemenu_panel"></div> </div> </div> <div id="main_content"> <div class="inside_apileftpanel"> <div class="inside_contentpanel" style="width:930px;"> <div class="api_titlebox"> <div class="api_titlebox_left"> <span> Apache CloudStack v4.7.0 Root Admin API Reference </span> <p></p> <h1>deleteLdapConfiguration</h1> <p>Remove an Ldap Configuration</p> </div> <div class="api_titlebox_right"> <a class="api_backbutton" href="../TOC_Root_Admin.html"></a> </div> </div> <div class="api_tablepanel"> <h2>Request parameters</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Parameter Name</strong></td><td style="width:500px;">Description</td><td style="width:180px;">Required</td> </tr> <tr> <td style="width:200px;"><strong>hostname</strong></td><td style="width:500px;"><strong>Hostname</strong></td><td style="width:180px;"><strong>true</strong></td> </tr> </table> </div> <div class="api_tablepanel"> <h2>Response Tags</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Response Name</strong></td><td style="width:500px;">Description</td> </tr> <tr> <td style="width:200px;"><strong>hostname</strong></td><td style="width:500px;">hostname</td> </tr> <tr> <td style="width:200px;"><strong>port</strong></td><td style="width:500px;">port</td> </tr> </table> </div> </div> </div> </div> </div> <div id="footer"> <div id="comments_thread"> <script type="text/javascript" src="https://comments.apache.org/show_comments.lua?site=test" async="true"></script> <noscript> <iframe width="930" height="500" src="https://comments.apache.org/iframe.lua?site=test&amp;page=4.2.0/rootadmin"></iframe> </noscript> </div> <div id="footer_mainmaster"> <p>Copyright &copy; 2015 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0.</a> <br> Apache, CloudStack, Apache CloudStack, the Apache CloudStack logo, the CloudMonkey logo and the Apache feather logo are trademarks of The Apache Software Foundation.</p> </div> </div> </div> </div> </body> </html>
src/main/vertx2/vertx1x_docs/core_manual_ruby.html
vietj/vertx
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <link href="bootstrap/bootstrap.css" type="text/css" rel="stylesheet"/> <link href="google-code-prettify/prettify.css" type="text/css" rel="stylesheet"/> <script type="text/javascript" src="google-code-prettify/prettify.js"></script> <link href="css/vertx.css" type="text/css" rel="stylesheet"/> <link href="css/sunburst.css" type="text/css" rel="stylesheet"/> <title>Vert.x Ruby API Manual</title> <script> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-30144458-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body onload="prettyPrint()"> <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="i-bar"></span> <span class="i-bar"></span> <span class="i-bar"></span> </a> <a class="brand" href="/">vert.x</a> <div class="nav-collapse"> <ul class="nav"> <li><a href="/">Home</a></li> <li><a href="downloads.html">Download</a></li> <li><a href="install.html">Install</a></li> <li><a href="tutorials.html">Tutorials</a></li> <li><a href="examples.html">Examples</a></li> <li class="active"><a href="docs.html">Documentation</a></li> <li><a href="https://github.com/vert-x/vert.x">Source</a></li> <li><a href="http://groups.google.com/group/vertx">Google Group</a></li> <li><a href="community.html">Community</a></li> <li><a href="http://vertxproject.wordpress.com/">Blog</a></li> </ul> </div> </div> </div> </div> <div class="container"> <div class="row"> <div class="span12"> <div class="well"> <h1 style="font-size: 35px;">Ruby API Manual</h1> </div> </div> </div> <div class="row"> <div class="span12"> <div class="well"> <div> <div class="toc"> <ul> <li><a href="#writing-verticles">Writing Verticles</a><ul> <li><a href="#accessing-the-vertx-api">Accessing the Vert.x API</a></li> <li><a href="#verticle-clean-up">Verticle clean-up</a></li> <li><a href="#getting-configuration-in-a-verticle">Getting Configuration in a Verticle</a></li> <li><a href="#logging-from-a-verticle">Logging from a Verticle</a></li> <li><a href="#accessing-environment-variables-from-a-verticle">Accessing environment variables from a Verticle</a></li> </ul> </li> <li><a href="#deploying-and-undeploying-verticles-programmatically">Deploying and Undeploying Verticles Programmatically</a><ul> <li><a href="#deploying-a-simple-verticle">Deploying a simple verticle</a></li> <li><a href="#deploying-a-module-programmatically">Deploying a module programmatically</a></li> <li><a href="#passing-configuration-to-a-verticle-programmatically">Passing configuration to a verticle programmatically</a></li> <li><a href="#using-a-verticle-to-co-ordinate-loading-of-an-application">Using a Verticle to co-ordinate loading of an application</a></li> <li><a href="#specifying-number-of-instances">Specifying number of instances</a></li> <li><a href="#getting-notified-when-deployment-is-complete">Getting Notified when Deployment is complete</a></li> <li><a href="#deploying-worker-verticles">Deploying Worker Verticles</a></li> <li><a href="#undeploying-a-verticle">Undeploying a Verticle</a></li> </ul> </li> <li><a href="#the-event-bus">The Event Bus</a><ul> <li><a href="#the-theory">The Theory</a><ul> <li><a href="#addressing">Addressing</a></li> <li><a href="#handlers">Handlers</a></li> <li><a href="#publish-subscribe-messaging">Publish / subscribe messaging</a></li> <li><a href="#point-to-point-messaging">Point to point messaging</a></li> <li><a href="#transient">Transient</a></li> <li><a href="#types-of-messages">Types of messages</a></li> </ul> </li> <li><a href="#event-bus-api">Event Bus API</a><ul> <li><a href="#registering-and-unregistering-handlers">Registering and Unregistering Handlers</a></li> <li><a href="#publishing-messages">Publishing messages</a></li> <li><a href="#sending-messages">Sending messages</a></li> <li><a href="#replying-to-messages">Replying to messages</a></li> <li><a href="#message-types">Message types</a></li> </ul> </li> <li><a href="#distributed-event-bus">Distributed event bus</a></li> </ul> </li> <li><a href="#shared-data">Shared Data</a><ul> <li><a href="#shared-hashes">Shared Hashes</a></li> <li><a href="#shared-sets">Shared Sets</a></li> </ul> </li> <li><a href="#buffers">Buffers</a><ul> <li><a href="#creating-buffers">Creating Buffers</a></li> <li><a href="#writing-to-a-buffer">Writing to a Buffer</a><ul> <li><a href="#appending-to-a-buffer">Appending to a Buffer</a></li> <li><a href="#random-access-buffer-writes">Random access buffer writes</a></li> </ul> </li> <li><a href="#reading-from-a-buffer">Reading from a Buffer</a></li> <li><a href="#other-buffer-methods">Other buffer methods:</a></li> </ul> </li> <li><a href="#delayed-and-periodic-tasks">Delayed and Periodic Tasks</a><ul> <li><a href="#one-shot-timers">One-shot Timers</a></li> <li><a href="#periodic-timers">Periodic Timers</a></li> <li><a href="#cancelling-timers">Cancelling timers</a></li> </ul> </li> <li><a href="#writing-tcp-servers-and-clients">Writing TCP Servers and Clients</a><ul> <li><a href="#net-server">Net Server</a><ul> <li><a href="#creating-a-net-server">Creating a Net Server</a></li> <li><a href="#start-the-server-listening">Start the Server Listening</a></li> <li><a href="#getting-notified-of-incoming-connections">Getting Notified of Incoming Connections</a></li> <li><a href="#closing-a-net-server">Closing a Net Server</a></li> <li><a href="#netserver-properties">NetServer Properties</a></li> <li><a href="#handling-data">Handling Data</a><ul> <li><a href="#reading-data-from-the-socket">Reading Data from the Socket</a></li> <li><a href="#writing-data-to-a-socket">Writing Data to a Socket</a></li> </ul> </li> <li><a href="#closing-a-socket">Closing a socket</a></li> <li><a href="#closed-handler">Closed Handler</a></li> <li><a href="#exception-handler">Exception handler</a></li> <li><a href="#read-and-write-streams">Read and Write Streams</a></li> </ul> </li> <li><a href="#scaling-tcp-servers">Scaling TCP Servers</a></li> <li><a href="#netclient">NetClient</a><ul> <li><a href="#creating-a-net-client">Creating a Net Client</a></li> <li><a href="#making-a-connection">Making a Connection</a></li> <li><a href="#catching-exceptions-on-the-net-client">Catching exceptions on the Net Client</a></li> <li><a href="#configuring-reconnection">Configuring Reconnection</a></li> <li><a href="#netclient-properties">NetClient Properties</a></li> </ul> </li> <li><a href="#ssl-servers">SSL Servers</a></li> <li><a href="#ssl-clients">SSL Clients</a></li> </ul> </li> <li><a href="#flow-control-streams-and-pumps">Flow Control - Streams and Pumps</a><ul> <li><a href="#readstream">ReadStream</a></li> <li><a href="#writestream">WriteStream</a></li> <li><a href="#pump">Pump</a></li> </ul> </li> <li><a href="#writing-http-servers-and-clients">Writing HTTP Servers and Clients</a><ul> <li><a href="#writing-http-servers">Writing HTTP servers</a><ul> <li><a href="#creating-an-http-server">Creating an HTTP Server</a></li> <li><a href="#start-the-server-listening_1">Start the Server Listening</a></li> <li><a href="#getting-notified-of-incoming-requests">Getting Notified of Incoming Requests</a></li> <li><a href="#handling-http-requests">Handling HTTP Requests</a><ul> <li><a href="#request-method">Request Method</a></li> <li><a href="#request-uri">Request URI</a></li> <li><a href="#request-path">Request Path</a></li> <li><a href="#request-query">Request Query</a></li> <li><a href="#request-headers">Request Headers</a></li> <li><a href="#request-params">Request params</a></li> <li><a href="#reading-data-from-the-request-body">Reading Data from the Request Body</a></li> </ul> </li> <li><a href="#http-server-responses">HTTP Server Responses</a></li> <li><a href="#setting-status-code-and-message">Setting Status Code and Message</a><ul> <li><a href="#writing-http-responses">Writing HTTP responses</a></li> <li><a href="#ending-http-responses">Ending HTTP responses</a></li> <li><a href="#closing-the-underlying-connection">Closing the underlying connection</a></li> <li><a href="#response-headers">Response headers</a></li> <li><a href="#chunked-http-responses-and-trailers">Chunked HTTP Responses and Trailers</a></li> </ul> </li> <li><a href="#serving-files-directly-from-disk">Serving files directly from disk</a></li> <li><a href="#pumping-responses">Pumping Responses</a></li> </ul> </li> <li><a href="#writing-http-clients">Writing HTTP Clients</a><ul> <li><a href="#creating-an-http-client">Creating an HTTP Client</a></li> <li><a href="#pooling-and-keep-alive">Pooling and Keep Alive</a></li> <li><a href="#closing-the-client">Closing the client</a></li> <li><a href="#making-requests">Making Requests</a><ul> <li><a href="#writing-to-the-request-body">Writing to the request body</a></li> <li><a href="#ending-http-requests">Ending HTTP requests</a></li> <li><a href="#writing-request-headers">Writing Request Headers</a></li> <li><a href="#http-chunked-requests">HTTP chunked requests</a></li> </ul> </li> <li><a href="#http-client-responses">HTTP Client Responses</a><ul> <li><a href="#reading-data-from-the-response-body">Reading Data from the Response Body</a></li> </ul> </li> </ul> </li> <li><a href="#pumping-requests-and-responses">Pumping Requests and Responses</a><ul> <li><a href="#100-continue-handling">100-Continue Handling</a></li> </ul> </li> <li><a href="#https-servers">HTTPS Servers</a></li> <li><a href="#https-clients">HTTPS Clients</a></li> <li><a href="#scaling-http-servers">Scaling HTTP servers</a></li> </ul> </li> <li><a href="#routing-http-requests-with-pattern-matching">Routing HTTP requests with Pattern Matching</a><ul> <li><a href="#specifying-matches">Specifying matches.</a></li> <li><a href="#extracting-parameters-from-the-path">Extracting parameters from the path</a></li> <li><a href="#extracting-params-using-regular-expressions">Extracting params using Regular Expressions</a></li> <li><a href="#handling-requests-where-nothing-matches">Handling requests where nothing matches</a></li> </ul> </li> <li><a href="#websockets">WebSockets</a><ul> <li><a href="#websockets-on-the-server">WebSockets on the server</a><ul> <li><a href="#reading-from-and-writing-to-websockets">Reading from and Writing to WebSockets</a></li> <li><a href="#rejecting-websockets">Rejecting WebSockets</a></li> </ul> </li> <li><a href="#websockets-on-the-http-client">WebSockets on the HTTP client</a></li> <li><a href="#websockets-in-the-browser">WebSockets in the browser</a></li> <li><a href="#routing-websockets-with-pattern-matching">Routing WebSockets with Pattern Matching</a></li> </ul> </li> <li><a href="#sockjs">SockJS</a><ul> <li><a href="#sockjs-server">SockJS Server</a></li> <li><a href="#reading-and-writing-data-from-a-sockjs-server">Reading and writing data from a SockJS server</a></li> <li><a href="#sockjs-client">SockJS client</a></li> </ul> </li> <li><a href="#sockjs-eventbus-bridge">SockJS - EventBus Bridge</a><ul> <li><a href="#setting-up-the-bridge">Setting up the Bridge</a></li> <li><a href="#using-the-event-bus-from-client-side-javascript">Using the Event Bus from client side JavaScript</a></li> <li><a href="#securing-the-bridge">Securing the Bridge</a></li> <li><a href="#messages-that-require-authorisation">Messages that require authorisation</a></li> </ul> </li> <li><a href="#file-system">File System</a><ul> <li><a href="#synchronous-forms">Synchronous forms</a></li> <li><a href="#copy">copy</a></li> <li><a href="#move">move</a></li> <li><a href="#truncate">truncate</a></li> <li><a href="#chmod">chmod</a></li> <li><a href="#props">props</a></li> <li><a href="#lprops">lprops</a></li> <li><a href="#link">link</a></li> <li><a href="#symlink">symlink</a></li> <li><a href="#unlink">unlink</a></li> <li><a href="#read_sym_link">read_sym_link</a></li> <li><a href="#delete">delete</a></li> <li><a href="#mkdir">mkdir</a></li> <li><a href="#read_dir">read_dir</a></li> <li><a href="#read_file_as_buffer">read_file_as_buffer</a></li> <li><a href="#write_buffer_to_file">write_buffer_to_file</a></li> <li><a href="#create_file">create_file</a></li> <li><a href="#exists">exists?</a></li> <li><a href="#fs_props">fs_props</a></li> <li><a href="#open">open</a></li> <li><a href="#asyncfile">AsyncFile</a><ul> <li><a href="#random-access-writes">Random access writes</a></li> <li><a href="#random-access-reads">Random access reads</a></li> <li><a href="#flushing-data-to-underlying-storage">Flushing data to underlying storage.</a></li> <li><a href="#using-asyncfile-as-readstream-and-writestream">Using AsyncFile as ReadStream and WriteStream</a></li> <li><a href="#closing-an-asyncfile">Closing an AsyncFile</a></li> </ul> </li> </ul> </li> </ul> </div> <h1 id="writing-verticles">Writing Verticles</h1><br/> <p>We previously discussed how a verticle is the unit of deployment in vert.x. Let's look in more detail about how to write a verticle.</p> <p>As an example we'll write a simple TCP echo server. The server just accepts connections and any data received by it is echoed back on the connection.</p> <p>Copy the following into a text editor and save it as <code>server.rb</code></p> <pre class="prettyprint">require "vertx" include Vertx @server = NetServer.new.connect_handler { |socket| Pump.new(socket, socket).start }.listen(1234, 'localhost') def vertx_stop @server.close end </pre> <p>Now, go to the directory where you saved the file and type</p> <pre class="prettyprint">vertx run server.rb </pre> <p>The server will now be running. Connect to it using telnet:</p> <pre class="prettyprint">telnet localhost 1234 </pre> <p>And notice how data you send (and hit enter) is echoed back to you.</p> <p>Congratulations! You've written your first verticle.</p> <h2 id="accessing-the-vertx-api">Accessing the Vert.x API</h2><br/> <p>If you want to access the vert.x core API from within your verticle (which you almost certainly want to do), you need to require it with <code>require 'vertx'</code> at the top of your script. Normally this will be the first thing at the top of your verticle main.</p> <p>This will import the module <code>Vertx</code>. The <code>Vertx</code> module contains the various classes and methods that make up the vert.x core API.</p> <h2 id="verticle-clean-up">Verticle clean-up</h2><br/> <p>Servers, clients and event bus handlers will be automatically closed when the verticles is stopped, however if you need to provide any custom clean-up code when the verticle is stopped you can provide a <code>vertx_stop</code> top-level method. Vert.x will then call this when the verticle is stopped. </p> <h2 id="getting-configuration-in-a-verticle">Getting Configuration in a Verticle</h2><br/> <p>If JSON configuration has been passed when deploying a verticle from either the command line using <code>vertx run</code> or <code>vertx deploy</code> and specifying a configuration file, or when deploying programmatically, that configuration is available to the verticle using the <code>Vertx.config</code> method. For example:</p> <pre class="prettyprint">config = Vertx.config; # Do something with config puts "number of wibbles is #{config.wibble_number}" </pre> <p>The config returned is a Ruby Hash. You can use this object to configure the verticle. Allowing verticles to be configured in a consistent way like this allows configuration to be easily passed to them irrespective of the language.</p> <h2 id="logging-from-a-verticle">Logging from a Verticle</h2><br/> <p>Each verticle is given its own logger. To get a reference to it invoke the <code>Vertx.logger</code> method:</p> <pre class="prettyprint">logger = Vertx.logger logger.info 'I am logging something' </pre> <p>The logger has the functions:</p> <ul> <li>trace</li> <li>debug</li> <li>info</li> <li>warn</li> <li>error</li> <li>fatal</li> </ul> <p>Which have the normal meanings you would expect.</p> <p>The log files by default go in a file called <code>vertx.log</code> in the system temp directory. On my Linux box this is <code>\tmp</code>.</p> <p>For more information on configuring logging, please see the main manual.</p> <h2 id="accessing-environment-variables-from-a-verticle">Accessing environment variables from a Verticle</h2><br/> <p>You can access environment variables from a Verticle with the method <code>Vertx.env</code>.</p> <h1 id="deploying-and-undeploying-verticles-programmatically">Deploying and Undeploying Verticles Programmatically</h1><br/> <p>You can deploy and undeploy verticles programmatically from inside another verticle. Any verticles deployed programmatically inherit the path of the parent verticle.</p> <h2 id="deploying-a-simple-verticle">Deploying a simple verticle</h2><br/> <p>To deploy a verticle programmatically call the function <code>Vertx.deploy_verticle</code>. The return value of <code>Vertx.deploy_verticle</code> is the unique id of the deployment, which can be used later to undeploy the verticle.</p> <p>To deploy a single instance of a verticle :</p> <pre class="prettyprint">Vertx.deploy_verticle('my_verticle.rb') </pre> <h2 id="deploying-a-module-programmatically">Deploying a module programmatically</h2><br/> <p>You should use <code>deploy_module</code> to deploy a module, for example:</p> <pre class="prettyprint">container.deploy_module('vertx.mailer-v1.0', config) </pre> <p>Would deploy an instance of the <code>vertx.mailer</code> module with the specified configuration. Please see the modules manual for more information about modules.</p> <h2 id="passing-configuration-to-a-verticle-programmatically">Passing configuration to a verticle programmatically</h2><br/> <p>JSON configuration can be passed to a verticle that is deployed programmatically. Inside the deployed verticle the configuration is accessed with the <code>vertx.config</code> function. For example:</p> <pre class="prettyprint">var config = { name: 'foo', age: 234 } Vertx.deploy_verticle('my_verticle.rb', config) </pre> <p>Then, in <code>my_verticle.rb</code> you can access the config via <code>vertx.config</code> as previously explained.</p> <h2 id="using-a-verticle-to-co-ordinate-loading-of-an-application">Using a Verticle to co-ordinate loading of an application</h2><br/> <p>If you have an application that is composed of multiple verticles that all need to be started at application start-up, then you can use another verticle that maintains the application configuration and starts all the other verticles. You can think of this as your application starter verticle.</p> <p>For example, you could create a verticle <code>app.rb</code> as follows:</p> <pre class="prettyprint"># Application config appConfig = { :verticle1_config =&gt; { # Config for verticle1 }, :verticle2_config =&gt; { # Config for verticle2 }, :verticle3_config =&gt; { # Config for verticle3 }, :verticle4_config =&gt; { # Config for verticle4 }, :verticle5_config =&gt; { # Config for verticle5 } } # Start the verticles that make up the app Vertx.deploy_verticle("verticle1.rb", appConfig[:verticle1_config]) Vertx.deploy_verticle("verticle2.rb", appConfig[:verticle2_config], 5) Vertx.deploy_verticle("verticle3.rb", appConfig[:verticle3_config]) Vertx.deploy_worker_verticle("verticle4.rb", appConfig[:verticle4_config]) Vertx.deploy_worker_verticle("verticle5.rb", appConfig[:verticle5_config], 10) </pre> <p>Then you can start your entire application by simply running:</p> <pre class="prettyprint">vertx run app.rb </pre> <p>or</p> <pre class="prettyprint">vertx deploy app.rb </pre> <h2 id="specifying-number-of-instances">Specifying number of instances</h2><br/> <p>By default, when you deploy a verticle only one instance of the verticle is deployed. If you want more than one instance to be deployed, e.g. so you can scale over your cores better, you can specify the number of instances in the third parameter to <code>deploy_verticle</code>:</p> <pre class="prettyprint">Vertx.deploy_verticle('my_verticle.rb', nil, 10) </pre> <p>The above example would deploy 10 instances.</p> <h2 id="getting-notified-when-deployment-is-complete">Getting Notified when Deployment is complete</h2><br/> <p>The actual verticle deployment is asynchronous and might not complete until some time after the call to <code>deploy_verticle</code> has returned. If you want to be notified when the verticle has completed being deployed, you can pass a block to <code>deploy_verticle</code>, which will be called when it's complete:</p> <pre class="prettyprint">Vertx.deploy_verticle('my_verticle.rb', nil, 10) { puts "It's been deployed!" } </pre> <h2 id="deploying-worker-verticles">Deploying Worker Verticles</h2><br/> <p>The <code>Vertx.deploy_verticle</code> method deploys standard (non worker) verticles. If you want to deploy worker verticles use the <code>Vertx.deploy_worker_verticle</code> function. This function takes the same parameters as <code>Vertx.deploy_verticle</code> with the same meanings.</p> <h2 id="undeploying-a-verticle">Undeploying a Verticle</h2><br/> <p>Any verticles that you deploy programmatically from within a verticle and all of their children are automatically undeployed when the parent verticle is undeployed, so in most cases you will not need to undeploy a verticle manually, however if you do want to do this, it can be done by calling the function <code>Vertx.undeploy_verticle</code> passing in the deployment id that was returned from the call to <code>Vertx.deploy_verticle</code></p> <pre class="prettyprint">deploymentID = Vertx.deploy_verticle('my_verticle.rb') { # Immediately undeploy it vertx.undeployVerticle(deploymentID); } </pre> <h1 id="the-event-bus">The Event Bus</h1><br/> <p>The event bus is the nervous system of vert.x.</p> <p>It allows verticles to communicate with each other irrespective of what language they are written in, and whether they're in the same vert.x instance, or in a different vert.x instance. It even allows client side JavaScript running in a browser to communicate on the same event bus. (More on that later).</p> <p>It creates a distributed polyglot overlay network spanning multiple server nodes and multiple browsers.</p> <p>The event bus API is incredibly simple. It basically involves registering handlers, unregistering handlers and sending messages.</p> <p>First some theory:</p> <h2 id="the-theory">The Theory</h2><br/> <h3 id="addressing">Addressing</h3><br/> <p>Messages are sent on the event bus to an <em>address</em>.</p> <p>Vert.x doesn't bother with any fancy addressing schemes. In vert.x an address is simply a string, any string is valid. However it is wise to use some kind of scheme, e.g. using periods to demarcate a namespace.</p> <p>Some examples of valid addresses are <code>europe.news.feed1</code>, <code>acme.games.pacman</code>, <code>sausages</code>, and <code>X</code>.</p> <h3 id="handlers">Handlers</h3><br/> <p>A handler is a thing that receives messages from the bus. You register a handler at an address.</p> <p>Many different handlers from the same or different verticles can be registered at the same address. A single handler can be registered by the verticle at many different addresses.</p> <h3 id="publish-subscribe-messaging">Publish / subscribe messaging</h3><br/> <p>The event bus supports <em>publishing</em> messages. Messages are published to an address. Publishing means delivering the message to all handlers that are registered at that address. This is the familiar <em>publish/subscribe</em> messaging pattern.</p> <h3 id="point-to-point-messaging">Point to point messaging</h3><br/> <p>The event bus supports <em>point to point</em> messaging. Messages are sent to an address. This means a message is delivered to <em>at most</em> one of the handlers registered at that address. If there is more than one handler regsitered at the address, one will be chosen using a non-strict round-robin algorithm.</p> <p>With point to point messaging, an optional reply handler can be specified when sending the message. When a message is received by a recipient, and has been <em>processed</em>, the recipient can optionally decide to reply to the message. If they do so that reply handler will be called.</p> <p>When the reply is received back at the sender, it too can be replied to. This can be repeated ad-infinitum, and allows a dialog to be set-up between two different verticles. This is a common messaging pattern called the <em>Request-Response</em> pattern.</p> <h3 id="transient">Transient</h3><br/> <p><em>All messages in the event bus are transient, and in case of failure of all or parts of the event bus, there is a possibility messages will be lost. If your application cares about lost messages, you should code your handlers to be idempotent, and your senders to retry after recovery.</em></p> <p>If you want to persist your messages you can use a persistent work queue module for that.</p> <h3 id="types-of-messages">Types of messages</h3><br/> <p>Messages that you send on the event bus can be as simple as a string, a number or a boolean. You can also send vert.x buffers or JSON messages.</p> <p>It's highly recommended you use JSON messages to communicate between verticles. JSON is easy to create and parse in all the languages that vert.x supports.</p> <h2 id="event-bus-api">Event Bus API</h2><br/> <p>Let's jump into the API</p> <h3 id="registering-and-unregistering-handlers">Registering and Unregistering Handlers</h3><br/> <p>To set a message handler on the address <code>test.address</code>, you call the method <code>registerHandler</code> on the <code>EventBus</code> class</p> <pre class="prettyprint">id = Vertx::EventBus.register_handler('test.address') do |message| puts "Got message body #{message.body}" end </pre> <p>It's as simple as that. The handler will then receive any messages sent to that address. The object passed into the handler is an instance of class <code>Message</code>. The body of the message is available via the <code>body</code> attribute. </p> <p>The return value of <code>register_handler</code> is a unique handler id which can used later to unregister the handler.</p> <p>When you register a handler on an address and you're in a cluster it can take some time for the knowledge of that new handler to be propagated across the entire cluster. If you want to be notified when that has completed you can optionally specify a block to the <code>register_handler</code> method as the third argument. This block will then be called once the information has reached all nodes of the cluster. E.g. :</p> <pre class="prettyprint">Vertx::EventBus.register_handler('test.address', myHandler) do puts 'Yippee! The handler info has been propagated across the cluster' end </pre> <p>To unregister a handler it's just as straightforward. You simply call <code>unregister_handler</code> passing in the id of the handler:</p> <pre class="prettyprint">Vertx::EventBus.unregister_handler('test.address', id); </pre> <p>As with registering, when you unregister a handler and you're in a cluster it can also take some time for the knowledge of that unregistration to be propagated across the entire to cluster. If you want to be notified when that has completed you can optionally specify another block to the <code>register_handler</code> method:</p> <pre class="prettyprint">Vertx::EventBus.unregister_handler(id) do puts 'Yippee! The handler unregister has been propagated across the cluster' end </pre> <p>If you want your handler to live for the full lifetime of your verticle there is no need to unregister it explicitly - vert.x will automatically unregister any handlers when the verticle is stopped. </p> <h3 id="publishing-messages">Publishing messages</h3><br/> <p>Publishing a message is also trivially easy. Just publish it specifying the address, for example:</p> <pre class="prettyprint">Vertx::EventBus.send('test.address", 'hello world') </pre> <p>That message will then be delivered to any handlers registered against the address "test.address".</p> <h3 id="sending-messages">Sending messages</h3><br/> <p>Sending a message will result in at most one handler registered at the address receiving the message. This is the point to point messaging pattern.</p> <pre class="prettyprint">Vertx::EventBus.send('test.address", 'hello world') </pre> <h3 id="replying-to-messages">Replying to messages</h3><br/> <p>Sometimes after you send a message you want to receive a reply from the recipient. This is known as the <em>request-response pattern</em>.</p> <p>To do this you send a message, and specify a block as a reply handler. When the receiver receives the message there is a method <code>reply</code> on the <code>Message</code> instance that is passed into the handler.</p> <p>When this function is invoked it causes a reply to be sent back to the sender where the reply handler is invoked. An example will make this clear:</p> <p>The receiver:</p> <pre class="prettyprint">Vertx::EventBus.registerHandler('test.address') do |message| puts("I received a message #{message.body}") # Do some stuff... # Now reply to it message.reply('This is a reply') end </pre> <p>The sender:</p> <pre class="prettyprint">Vertx::EventBus.send('test.address', 'This is a message') do |message| puts("I received a reply #{message.body}") end </pre> <p>It is legal also to send an empty reply or null reply.</p> <p>The replies themselves can also be replied to so you can create a dialog between two different verticles consisting of multiple rounds.</p> <h3 id="message-types">Message types</h3><br/> <p>The message you send can be any of the following types:</p> <ul> <li>number</li> <li>String</li> <li>boolean</li> <li>JSON object</li> <li>Vert.x Buffer</li> </ul> <p>Vert.x buffers and JSON objects are copied before delivery if they are delivered in the same JVM, so different verticles can't access the exact same object instance.</p> <p>Here are some more examples:</p> <p>Send some numbers:</p> <pre class="prettyprint">Vertx::EventBus.send('test.address', 1234) Vertx::EventBus.send('test.address', 3.14159) </pre> <p>Send a boolean:</p> <pre class="prettyprint">Vertx::EventBus.send('test.address', true) </pre> <p>Send a JSON object:</p> <pre class="prettyprint">myObj = { 'name' =&gt; 'Tim', 'address' =&gt; 'The Moon', 'age' =&gt; 457 } Vertx::EventBus.send('test.address', myObj) </pre> <p>Nil messages can also be sent:</p> <pre class="prettyprint">Vertx::EventBus.send('test.address', nil) </pre> <p>It's a good convention to have your verticles communicating using JSON.</p> <h2 id="distributed-event-bus">Distributed event bus</h2><br/> <p>To make each vert.x instance on your network participate on the same event bus, start each vert.x instance with the <code>-cluster</code> command line switch.</p> <p>See the chapter in the main manual on running vert.x for more information on this.</p> <p>Once you've done that, any vert.x instances started in cluster mode will merge to form a distributed event bus.</p> <h1 id="shared-data">Shared Data</h1><br/> <p>Sometimes it makes sense to allow different verticles instances to share data in a safe way. Vert.x allows simple <em>Hash</em> and <em>Set</em> data structures to be shared between verticles.</p> <p>There is a caveat: To prevent issues due to mutable data, vert.x only allows simple immutable types such as number, boolean and string or Buffer to be used in shared data. With a Buffer, it is automatically copied when retrieved from the shared data, so different verticle instances never see the same object instance.</p> <p>Currently data can only be shared between verticles in the <em>same vert.x instance</em>. In later versions of vert.x we aim to extend this to allow data to be shared by all vert.x instances in the cluster.</p> <h2 id="shared-hashes">Shared Hashes</h2><br/> <p>To use a shared hash to share data between verticles first get a reference to the hash, and then we just use standard Hash operations to put and get the data.</p> <pre class="prettyprint">hash = Vertx::SharedData.getHash('demo.myhash') hash['some-key'] = 'some-value' </pre> <p>And then, in a different verticle:</p> <pre class="prettyprint">hash = Vertx::SharedData.getHash('demo.myhash') puts("value of some-key is #{hash['some-key']}") </pre> <p><strong>TODO</strong> More on map API</p> <h2 id="shared-sets">Shared Sets</h2><br/> <p>To use a shared set to share data between verticles first get a reference to the set.</p> <pre class="prettyprint">set = Vertx::SharedData.getSet('demo.myset') set.add('some-value'); </pre> <p>And then, in a different verticle:</p> <pre class="prettyprint">set = Vertx::SharedData.getSet('demo.myset') # Do something with the set </pre> <p><strong>TODO</strong> - More on set API</p> <p>API - atomic updates etc</p> <h1 id="buffers">Buffers</h1><br/> <p>Most data in vert.x is shuffled around using instances of <code>Vertx::Buffer</code>.</p> <p>A Buffer represents a sequence of zero or more bytes that can be written to or read from, and which expands automatically as necessary to accomodate any bytes written to it.</p> <h2 id="creating-buffers">Creating Buffers</h2><br/> <p>Create an empty buffer</p> <pre class="prettyprint">buff = Vertx::Buffer.create </pre> <p>Create a buffer from a String. The String will be encoded in the buffer using UTF-8.</p> <pre class="prettyprint">buff = Vertx::Buffer.create_from_str("some-string") </pre> <p>Create a buffer from a String: The String will be encoded using the specified encoding, e.g:</p> <pre class="prettyprint">buff = Vertx::Buffer.create_from_str("some-string", "UTF-16") </pre> <p>Create a buffer with an initial size hint. If you know your buffer will have a certain amount of data written to it you can create the buffer and specify this size. This makes the buffer initially allocate that much memory and is more efficient than the buffer automatically resizing multiple times as data is written to it.</p> <p>Note that buffers created this way <em>are empty</em>. It does not create a buffer filled with zeros up to the specified size.</p> <pre class="prettyprint">buff = Vertx::Buffer.create(100000) </pre> <h2 id="writing-to-a-buffer">Writing to a Buffer</h2><br/> <p>There are two ways to write to a buffer: appending, and random access. In either case buffers will always expand automatically to encompass the bytes. It's not possible to write outside the bounds of the buffer.</p> <h3 id="appending-to-a-buffer">Appending to a Buffer</h3><br/> <p>To append to a buffer, you use the <code>append_XXX</code> methods. Append methods exist for appending other buffers, String, Float and FixNum.</p> <p>When appending a FixNum you have to specify how many bytes you want to append this as in the buffer. Valid values are 1, 2, 4, 8. All FixNums are appended as signed integer values.</p> <p>When appending a Float you have to specify how many bytes you want to append this as in the buffer. Valid values are 4, 8, representing a single precision 32-bit IEEE 754 and a double precision 64-bit IEEE 754 floating point number respectively.</p> <p>The return value of the <code>append_XXX</code> methods is the buffer itself, so these can be chained:</p> <pre class="prettyprint">buff = Vertx::Buffer.create buff.append_fixnum(100, 1) # Append a single byte in the buffer buff.append_fixnum(231243, 8) # Append number as 8 bytes in the buffer buff.append_str('foo').append_float(23.4232, 4) # Appends can be chained socket.write_buffer(buff) </pre> <p>Appending FixNums:</p> <pre class="prettyprint">buff.append_fixnum(100, 1) # Append number as single signed byte buff.append_fixnum(100, 2) # Append number as signed integer in two bytes buff.append_fixnum(100, 4) # Append number as signed integer in four bytes buff.append_fixnum(100, 8) # Append number as signed integer in eight bytes </pre> <p>Appending Floats:</p> <pre class="prettyprint">buff.append_float(12.234, 4) # Append number as a 32-bit IEEE 754 floating point number (4 bytes) buff.append_float(12.234, 8) # Append number as a 64-bit IEEE 754 floating point number (8 bytes) </pre> <p>Appending buffers</p> <pre class="prettyprint">buff.append_buffer(other_buffer) # Append other_buffer to buff </pre> <p>Appending strings</p> <pre class="prettyprint">buff.append_str(str) # Append string as UTF-8 encoded bytes buff.append_str(str, 'UTF-16') # Append string as sequence of bytes in specified encodingt </pre> <h3 id="random-access-buffer-writes">Random access buffer writes</h3><br/> <p>You can also write into the buffer at a specific index, by using the <code>set_XXX</code> methods. Set methods exist for other buffers, String, Float and FixNum. All the set methods take an index as the first argument - this represents the position in the buffer where to start writing the data.</p> <p>When setting a FixNum you have to specify how many bytes you want to set this as in the buffer. Valid values are 1, 2, 4, 8.</p> <p>When setting a Float you have to specify how many bytes you want to set this as in the buffer. Valid values are 4, 8.</p> <p>The buffer will always expand as necessary to accomodate the data.</p> <pre class="prettyprint">buff = Vertx::Buffer.create buff.set_fixnum(0, 4, 123123) # Set number as 4 bytes written at index 0 buff.set_float(1000, 8, 414.123123123) # Set float as 8 bytes at index 1000 </pre> <p>To set FixNums:</p> <pre class="prettyprint">buff.set_fixnum(100, 123, 1) # Set number as a single signed byte at position 100 buff.set_fixnum(100, 123, 2) # Set number as a signed two byte integer at position 100 buff.set_fixnum(100, 123, 4) # Set number as a signed four byte integer at position 100 buff.set_fixnum(100, 123, 8) # Set number as a signed eight byte integer at position 100 </pre> <p>To set Floats:</p> <pre class="prettyprint">buff.set_float(100, 1.234, 4) # Set the number as a 32-bit IEEE 754 floating point number (4 bytes) at pos 100 buff.set_float(100, 1.234, 8) # Set the number as a 64-bit IEEE 754 floating point number (4 bytes) at pos 100 </pre> <p>To set a buffer</p> <pre class="prettyprint">buff.set_buffer(100, other_buffer) </pre> <p>To set a string</p> <pre class="prettyprint">buff.set_string(100, str) # Set the string using UTF-8 encoding buff.set_string(100, str, 'UTF-16') # Set the string using the specified encoding </pre> <h2 id="reading-from-a-buffer">Reading from a Buffer</h2><br/> <p>Data is read from a buffer using the <code>get_XXX</code> methods. Get methods exist for byte, FixNum and Float. The first argument to these methods is an index in the buffer from where to get the data.</p> <p>When reading FixNum values the data in the buffer is interpreted as a signed integer value.</p> <pre class="prettyprint">num = buff.get_byte(100) # Get a byte from pos 100 in buffer num = buff.get_fixnum(100, 1) # Same as get_byte num = buff.get_fixnum(100, 2) # Get two bytes as signed integer from pos 100 num = buff.get_fixnum(100, 4) # Get four bytes as signed integer from pos 100 num = buff.get_fixnum(100, 8) # Get eight bytes as signed integer from pos 100 </pre> <p>Floats:</p> <pre class="prettyprint">num = buff.get_float(100, 4) # Get four bytes as a 32-bit IEEE 754 floating point number from pos 100 num = buff.get_float(100, 8) # Get eight bytes as a 32-bit IEEE 754 floating point number from pos 100 </pre> <p>Strings:</p> <pre class="prettyprint">str = buff.get_string(100, 110) # Get 10 bytes from pos 100 interpreted as UTF-8 string str = buff.get_string(100, 110, 'UTF-16') # Get 10 bytes from pos 100 interpreted in specified encoding </pre> <p>Buffers:</p> <pre class="prettyprint">other_buff = buff.get_buffer(100, 110) # Get 10 bytes as a new buffer starting at position 100 </pre> <h2 id="other-buffer-methods">Other buffer methods:</h2><br/> <ul> <li><code>length</code>: To obtain the length of the buffer. The length of a buffer is the index of the byte in the buffer with the largest index + 1.</li> <li><code>copy</code>: Copy the entire buffer</li> </ul> <p>See the Yardoc for more detailed method level documentation. </p> <h1 id="delayed-and-periodic-tasks">Delayed and Periodic Tasks</h1><br/> <p>It's very common in vert.x to want to perform an action after a delay, or periodically.</p> <p>In standard verticles you can't just make the thread sleep to introduce a delay, as that will block the event loop thread.</p> <p>Instead you use vert.x timers. Timers can be <em>one-shot</em> or <em>periodic</em>. We'll discuss both</p> <h2 id="one-shot-timers">One-shot Timers</h2><br/> <p>A one shot timer calls an event handler after a certain delay, expressed in milliseconds.</p> <p>To set a timer to fire once you use the <code>Vertx.set_timer</code> function passing in the delay and specifying a handler block which will be called when after the delay:</p> <pre class="prettyprint">Vertx.set_timer(1000) do puts 'And one second later this is printed' end puts 'First this is printed' </pre> <h2 id="periodic-timers">Periodic Timers</h2><br/> <p>You can also set a timer to fire periodically by using the <code>set_periodic</code> function. There will be an initial delay equal to the period. The return value of <code>set_periodic</code> is a unique timer id (number). This can be later used if the timer needs to be cancelled. The argument passed into the timer event handler is also the unique timer id:</p> <pre class="prettyprint">id = Vertx.set_timer(1000) do puts 'And every second this is printed' end puts 'First this is printed' </pre> <h2 id="cancelling-timers">Cancelling timers</h2><br/> <p>To cancel a periodic timer, call the <code>cancel_timer</code> function specifying the timer id. For example:</p> <pre class="prettyprint">id = Vertx.set_periodic(1000) do # This will never be called end # And immediately cancel it Vertx.cancel_timer(id) </pre> <p>Or you can cancel it from inside the event handler. The following example cancels the timer after it has fired 10 times.</p> <pre class="prettyprint">count = 0 Vertx.set_periodic(1000) do puts "In event handler #{count}" count += 1 vertx.cancelTimer(id) if count == 10 end </pre> <h1 id="writing-tcp-servers-and-clients">Writing TCP Servers and Clients</h1><br/> <p>Creating TCP servers and clients is incredibly easy with vert.x.</p> <h2 id="net-server">Net Server</h2><br/> <h3 id="creating-a-net-server">Creating a Net Server</h3><br/> <p>To create a TCP server we simply create an instance of Vertx::NetServer</p> <pre class="prettyprint">server = Vertx::NetServer.new </pre> <h3 id="start-the-server-listening">Start the Server Listening</h3><br/> <p>To tell that server to listen for connections we do:</p> <pre class="prettyprint">server = Vertx::NetServer.new server.listen(1234, 'myhost') </pre> <p>The first parameter to <code>listen</code> is the port. The second parameter is the hostname or ip address. If it is ommitted it will default to <code>0.0.0.0</code> which means it will listen at all available interfaces.</p> <h3 id="getting-notified-of-incoming-connections">Getting Notified of Incoming Connections</h3><br/> <p>Just having a TCP server listening creates a working server that you can connect to (try it with telnet!), however it's not very useful since it doesn't do anything with the connections.</p> <p>To be notified when a connection occurs we need to call the <code>connect_handler</code> function of the server, specifying a block which represents the handler. The handler will be called when a connection is made:</p> <pre class="prettyprint">server = Vertx::NetServer.new server.connect_handler { puts 'A client has connected!' } server.listen(1234, 'localhost') </pre> <p>That's a bit more interesting. Now it displays 'A client has connected!' every time a client connects.</p> <p>The return value of the <code>connect_handler</code> method is the server itself, so multiple invocations can be chained together. That means we can rewrite the above as:</p> <pre class="prettyprint">server = Vertx::NetServer.new server.connect_handler do puts 'A client has connected!' end.listen(1234, 'localhost') </pre> <p>or</p> <pre class="prettyprint">Vertx::NetServer.new.connect_handler do puts 'A client has connected!' end.listen(1234, 'localhost') </pre> <p>This is a common pattern throughout the vert.x API.</p> <h3 id="closing-a-net-server">Closing a Net Server</h3><br/> <p>To close a net server just call the <code>close</code> method.</p> <pre class="prettyprint">server.close </pre> <p>The close is actually asynchronous and might not complete until some time after the <code>close</code> method has returned. If you want to be notified when the actual close has completed then you can specify a block to the <code>close</code> function.</p> <p>This block will then be called when the close has fully completed.</p> <pre class="prettyprint">server.close { puts 'The server is now fully closed.' } </pre> <p>In most cases you don't need to close a net server explicitly since vert.x will close them for you when the verticle stops. </p> <h3 id="netserver-properties">NetServer Properties</h3><br/> <p>NetServer has a set of attributes you can set which affect its behaviour. Firstly there are bunch of attributes used to tweak the TCP parameters, in most cases you won't need to set these:</p> <ul> <li> <p><code>tcp_no_delay</code> If this attribute is true then <a href="http://en.wikipedia.org/wiki/Nagle's_algorithm">Nagle's Algorithm</a> is disabled. If false then it is enabled.</p> </li> <li> <p><code>send_buffer_size</code> Sets the TCP send buffer size in bytes.</p> </li> <li> <p><code>receive_buffer_size</code> Sets the TCP receive buffer size in bytes.</p> </li> <li> <p><code>tcp_keep_alive</code> if this attribute is true then <a href="http://en.wikipedia.org/wiki/Keepalive#TCP_keepalive">TCP keep alive</a> is enabled, if false it is disabled.</p> </li> <li> <p><code>reuse_address</code> if this attribute is true then addresses in TIME_WAIT state can be reused after they have been closed.</p> </li> <li> <p><code>so_linger</code></p> </li> <li> <p><code>traffic_class</code></p> </li> </ul> <p>NetServer has a further set of properties which are used to configure SSL. We'll discuss those later on.</p> <h3 id="handling-data">Handling Data</h3><br/> <p>So far we have seen how to create a <code>NetServer</code>, and accept incoming connections, but not how to do anything interesting with the connections. Let's remedy that now.</p> <p>When a connection is made, the connect handler is called passing in an instance of <code>NetSocket</code>. This is a socket-like interface to the actual connection, and allows you to read and write data as well as do various other things like close the socket.</p> <h4 id="reading-data-from-the-socket">Reading Data from the Socket</h4><br/> <p>To read data from the socket you need to set the <code>data_handler</code> on the socket. This handler will be called with a <code>Buffer</code> every time data is received on the socket. You could try the following code and telnet to it to send some data:</p> <pre class="prettyprint">server = Vertx::NetServer.new server.connect_handler do |sock| sock.data_handler do |buffer| puts "I received #{buffer.length} bytes of data" end end.listen(1234, 'localhost') </pre> <h4 id="writing-data-to-a-socket">Writing Data to a Socket</h4><br/> <p>To write data to a socket, you invoke one of the write methods. </p> <p>With a single buffer:</p> <pre class="prettyprint">myBuffer = Vertx::Buffer.create(...) sock.write_buffer(myBuffer) </pre> <p>A string. In this case the string will encoded using UTF-8 and the result written to the wire.</p> <pre class="prettyprint">sock.write_str('hello') </pre> <p>A string and an encoding. In this case the string will encoded using the specified encoding and the result written to the wire.</p> <pre class="prettyprint">sock.write_str('hello', 'UTF-16') </pre> <p>The write methods are asynchronous and always returns immediately after the write has been queued.</p> <p>The actual write might occur some time later. If you want to be informed when the actual write has happened you can specify a block to the method:</p> <p>This block will then be invoked when the write has completed:</p> <pre class="prettyprint">sock.write_str('hello') { puts 'It has actually been written' } </pre> <p>Let's put it all together.</p> <p>Here's an example of a simple TCP echo server which simply writes back (echoes) everything that it receives on the socket:</p> <pre class="prettyprint">server = Vertx::NetServer.new server.connect_handler do |sock| sock.data_handler do |buffer| sock.write(buffer) end end.listen(1234, 'localhost'); </pre> <h3 id="closing-a-socket">Closing a socket</h3><br/> <p>You can close a socket by invoking the <code>close</code> method. This will close the underlying TCP connection.</p> <h3 id="closed-handler">Closed Handler</h3><br/> <p>If you want to be notified when a socket is closed, you can set the `closed_handler':</p> <pre class="prettyprint">server = Vertx::NetServer.new server.connect_handler do |sock| sock.closed_handler { puts 'The socket is now closed' } end </pre> <p>The closed handler will be called irrespective of whether the close was initiated by the client or server.</p> <h3 id="exception-handler">Exception handler</h3><br/> <p>You can set an exception handler on the socket that will be called if an exception occurs:</p> <pre class="prettyprint">server = Vertx::NetServer.new server.connect_handler do |sock| sock.exception_handler { puts 'Oops. Something went wrong' } end </pre> <h3 id="read-and-write-streams">Read and Write Streams</h3><br/> <p>NetSocket also can at as a <code>ReadStream</code> and a <code>WriteStream</code>. This allows flow control to occur on the connection and the connection data to be pumped to and from other object such as HTTP requests and responses, WebSockets and asynchronous files.</p> <p>This will be discussed in depth in the chapter on streams and pumps.</p> <h2 id="scaling-tcp-servers">Scaling TCP Servers</h2><br/> <p>A verticle instance is strictly single threaded.</p> <p>If you create a simple TCP server and deploy a single instance of it then all the handlers for that server are always executed on the same event loop (thread).</p> <p>This means that if you are running on a server with a lot of cores, and you only have this one instance deployed then you will have at most one core utilised on your server! That's not very good, right?</p> <p>To remedy this you can simply deploy more instances of the verticle in the server, e.g.</p> <pre class="prettyprint">vertx run echo_server.rb -instances 20 </pre> <p>The above would run 20 instances of echo_server.rb to a locally running vert.x instance.</p> <p>Once you do this you will find the echo server works functionally identically to before, but, <em>as if by magic</em>, all your cores on your server can be utilised and more work can be handled.</p> <p>At this point you might be asking yourself <em>'Hold on, how can you have more than one server listening on the same host and port? Surely you will get port conflicts as soon as you try and deploy more than one instance?'</em></p> <p><em>Vert.x does a little magic here</em>.</p> <p>When you deploy another server on the same host and port as an existing server it doesn't actually try and create a new server listening on the same host/port.</p> <p>Instead it internally maintains just a single server, and, as incoming connections arrive it distributes them in a round-robin fashion to any of the connect handlers set by the verticles.</p> <p>Consequently vert.x TCP servers can scale over available cores while each vert.x verticle instance remains strictly single threaded, and you don't have to do any special tricks like writing load-balancers in order to scale your server on your multi-core machine.</p> <h2 id="netclient">NetClient</h2><br/> <p>A NetClient is used to make TCP connections to servers.</p> <h3 id="creating-a-net-client">Creating a Net Client</h3><br/> <p>To create a TCP client we simply create an instance of <code>Vertx::NetClient</code>.</p> <pre class="prettyprint">client = Vertx::NetClient.new </pre> <h3 id="making-a-connection">Making a Connection</h3><br/> <p>To actually connect to a server you invoke the <code>connect</code> method</p> <pre class="prettyprint">client = Vertx::NetClient.new client.connect(1234, 'localhost') do |sock| puts 'We have connected' end </pre> <p>The connect method takes the port number as the first parameter, followed by the hostname or ip address of the server. It takes a block as the connect handler. This handler will be called when the connection actually occurs.</p> <p>The argument passed into the connect handler is an instance of <code>NetSocket</code>, exactly the same as what is passed into the server side connect handler. Once given the <code>NetSocket</code> you can read and write data from the socket in exactly the same way as you do on the server side.</p> <p>You can also close it, set the closed handler, set the exception handler and use it as a <code>ReadStream</code> or <code>WriteStream</code> exactly the same as the server side <code>NetSocket</code>.</p> <h3 id="catching-exceptions-on-the-net-client">Catching exceptions on the Net Client</h3><br/> <p>You can set an exception handler on the <code>NetClient</code>. This will catch any exceptions that occur during connection.</p> <pre class="prettyprint">client = Vertx::NetClient.new client.exception_handler do |ex| puts 'Cannot connect since the host does not exist!' end client.connect(4242, 'host-that-doesnt-exist') do |sock| puts 'this won't get called' end </pre> <h3 id="configuring-reconnection">Configuring Reconnection</h3><br/> <p>A NetClient can be configured to automatically retry connecting or reconnecting to the server in the event that it cannot connect or has lost its connection. This is done by invoking setting the attributes <code>reconnect_attempts</code> and <code>reconnect_interval</code>:</p> <pre class="prettyprint">client = Vertx::NetClient.new client.reconnect_attempts = 1000 client.reconnect_interval = 500 </pre> <p><code>reconnect_attempts</code> determines how many times the client will try to connect to the server before giving up. A value of <code>-1</code> represents an infinite number of times. The default value is <code>0</code>. I.e. no reconnection is attempted.</p> <p><code>reconnect_interval</code> determines how long, in milliseconds, the client will wait between reconnect attempts. The default value is <code>1000</code>.</p> <p>If an exception handler is set on the client, and reconnect attempts is not equal to <code>0</code>. Then the exception handler will not be called until the client gives up reconnecting.</p> <h3 id="netclient-properties">NetClient Properties</h3><br/> <p>Just like <code>NetServer</code>, <code>NetClient</code> also has a set of TCP properties you can set which affect its behaviour. They have the same meaning as those on <code>NetServer</code>.</p> <p><code>NetClient</code> also has a further set of properties which are used to configure SSL. We'll discuss those later on.</p> <h2 id="ssl-servers">SSL Servers</h2><br/> <p>Net servers can also be configured to work with <a href="http://en.wikipedia.org/wiki/Transport_Layer_Security">Transport Layer Security</a> (previously known as SSL).</p> <p>When a <code>NetServer</code> is working as an SSL Server the API of the <code>NetServer</code> and <code>NetSocket</code> is identical compared to when it working with standard sockets. Getting the server to use SSL is just a matter of configuring the <code>NetServer</code> before <code>listen</code> is called.</p> <p>To enabled SSL set the attribute <code>ssl</code> to <code>true</code> on the <code>NetServer</code>.</p> <p>The server must also be configured with a <em>key store</em> and an optional <em>trust store</em>.</p> <p>These are both <em>Java keystores</em> which can be managed using the <a href="http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/keytool.html">keytool</a> utility which ships with the JDK.</p> <p>The keytool command allows you to create keystores, and import and export certificates from them.</p> <p>The key store should contain the server certificate. This is mandatory - the client will not be able to connect to the server over SSL if the server does not have a certificate.</p> <p>The key store is configured on the server using the attributes <code>key_store_path</code> and <code>key_store_password</code>.</p> <p>The trust store is optional and contains the certificates of any clients it should trust. This is only used if client authentication is required.</p> <p>To configure a server to use server certificates only:</p> <pre class="prettyprint">server = Vertx::NetServer.new server.ssl = true server.key_store_path = '/path/to/your/keystore/server-keystore.jks' server.key_store_password = 'password' </pre> <p>Making sure that <code>server-keystore.jks</code> contains the server certificate.</p> <p>To configure a server to also require client certificates:</p> <pre class="prettyprint">server = Vertx::NetServer.new server.ssl = true server.key_store_path = '/path/to/your/keystore/server-keystore.jks' server.key_store_password = 'password' server.client_auth_required = true server.trust_store_path = '/path/to/your/truststore/server-truststore.jks' server.trust_store_password = 'password' </pre> <p>Making sure that <code>server-truststore.jks</code> contains the certificates of any clients who the server trusts.</p> <p>If the attribute <code>client_auth_required</code> is set to <code>true</code> and the client cannot provide a certificate, or it provides a certificate that the server does not trust then the connection attempt will not succeed.</p> <h2 id="ssl-clients">SSL Clients</h2><br/> <p>Net Clients can also be easily configured to use SSL. They have the exact same API when using SSL as when using standard sockets.</p> <p>To enable SSL on a <code>NetClient</code> the attribute <code>ssl</code> must be set to <code>true</code>.</p> <p>If the attribute <code>trust_all</code> has been set to <code>true</code>, then the client will trust all server certificates. The connection will still be encrypted but this mode is vulnerable to 'man in the middle' attacks. I.e. you can't be sure who you are connecting to. Use this with caution. Default value is <code>false</code>.</p> <p>If <code>trust_all</code> is set to <code>false</code>, then a client trust store must be configured and should contain the certificates of the servers that the client trusts.</p> <p>The default value of <code>trust_all</code> is <code>false</code>.</p> <p>The client trust store is just a standard Java key store, the same as the key stores on the server side. The client trust store location is set by setting the attribute <code>trust_store_path</code> on the <code>NetClient</code>. If a server presents a certificate during connection which is not in the client trust store, the connection attempt will not succeed.</p> <p>If the server requires client authentication then the client must present its own certificate to the server when connecting. This certificate should reside in the client key store. Again it's just a regular Java key store. The client keystore location is set with the attribute <code>key_store_path</code> on the <code>NetClient</code>.</p> <p>To configure a client to trust all server certificates (dangerous):</p> <pre class="prettyprint">client = Vertx::NetClient.new client.ssl = true client.trust_all = true </pre> <p>To configure a client to only trust those certificates it has in its trust store:</p> <pre class="prettyprint">client = Vertx::NetClient.new client.ssl = true client.trust_store_path = '/path/to/your/client/truststore/client-truststore.jks' client.trust_store_password = 'password' </pre> <p>To configure a client to only trust those certificates it has in its trust store, and also to supply a client certificate:</p> <pre class="prettyprint">client = Vertx::NetClient.new client.ssl = true client.trust_store_path = '/path/to/your/client/truststore/client-truststore.jks' client.trust_store_password = 'password' client.key_store_path = '/path/to/keystore/holding/client/cert/client-keystore.jks' client.key_store_password = 'password' </pre> <h1 id="flow-control-streams-and-pumps">Flow Control - Streams and Pumps</h1><br/> <p>There are several objects in vert.x that allow data to be read from and written to in the form of Buffers.</p> <p>All operations in the vert.x API are non blocking; calls to write data return immediately and writes are internally queued.</p> <p>It's not hard to see that if you write to an object faster than it can actually write the data to its underlying resource then the write queue could grow without bound - eventually resulting in exhausting available memory.</p> <p>To solve this problem a simple flow control capability is provided by some objects in the vert.x API.</p> <p>Any flow control aware object that can be written to is said to implement <code>ReadStream</code>, and any flow control object that can be read from is said to implement <code>WriteStream</code>.</p> <p>Let's take an example where we want to read from a <code>ReadStream</code> and write the data to a <code>WriteStream</code>.</p> <p>A very simple example would be reading from a <code>NetSocket</code> on a server and writing back to the same <code>NetSocket</code> - since <code>NetSocket</code> implements both <code>ReadStream</code> and <code>WriteStream</code>, but you can do this between any <code>ReadStream</code> and any <code>WriteStream</code>, including HTTP requests and response, async files, WebSockets, etc.</p> <p>A naive way to do this would be to directly take the data that's been read and immediately write it to the NetSocket, for example:</p> <pre class="prettyprint">server = Vertx::NetServer.new server.connect_handler do |sock| sock.data_handler do |buffer| # Write the data straight back sock.write(buffer) end end.listen(1234, 'localhost') </pre> <p>There's a problem with the above example: If data is read from the socket faster than it can be written back to the socket, it will build up in the write queue of the AsyncFile, eventually running out of RAM. This might happen, for example if the client at the other end of the socket wasn't reading very fast, effectively putting back-pressure on the connection.</p> <p>Since <code>NetSocket</code> implements <code>WriteStream</code>, we can check if the <code>WriteStream</code> is full before writing to it:</p> <pre class="prettyprint">server = Vertx::NetServer.new server.connect_handler do |sock| sock.data_handler do |buffer| sock.write(buffer) if !sock.write_queue_full? end end.listen(1234, 'localhost') </pre> <p>This example won't run out of RAM but we'll end up losing data if the write queue gets full. What we really want to do is pause the <code>NetSocket</code> when the <code>AsyncFile</code> write queue is full. Let's do that:</p> <pre class="prettyprint">server = Vertx::NetServer.new server.connect_handler do |sock| sock.data_handler do |buffer| if sock.write_queue_full? sock.pause else sock.write(buffer) end end end.listen(1234, 'localhost') </pre> <p>We're almost there, but not quite. The <code>NetSocket</code> now gets paused when the file is full, but we also need to <em>unpause</em> it when the file write queue has processed its backlog:</p> <pre class="prettyprint">server = Vertx::NetServer.new server.connect_handler do |sock| sock.data_handler do |buffer| if sock.write_queue_full? sock.pause sock.drain_handler { sock.resume } else sock.write(buffer) end end end.listen(1234, 'localhost') </pre> <p>And there we have it. The <code>drain_handler</code> event handler will get called when the write queue is ready to accept more data, this resumes the <code>NetSocket</code> which allows it to read more data.</p> <p>It's very common to want to do this when writing vert.x applications, so we provide a helper class called <code>Pump</code> which does all this hard work for you. You just feed it the <code>ReadStream</code> and the <code>WriteStream</code> and it tell it to start:</p> <pre class="prettyprint">server = Vertx::NetServer.new server.connect_handler do |sock| pump = Vertx::Pump.new(sock, sock) pump.start end.listen(1234, 'localhost') </pre> <p>Which does exactly the same thing as the more verbose example.</p> <p>Let's look at the methods on <code>ReadStream</code> and <code>WriteStream</code> in more detail:</p> <h2 id="readstream">ReadStream</h2><br/> <p><code>ReadStream</code> is implemented by <code>AsyncFile</code>, <code>HttpClientResponse</code>, <code>HttpServerRequest</code>, <code>WebSocket</code>, <code>NetSocket</code> and <code>SockJSSocket</code>.</p> <p>Functions:</p> <ul> <li><code>data_handler</code>: set a handler which will receive data from the <code>ReadStream</code>. As data arrives the handler will be passed a Buffer.</li> <li><code>pause</code>: pause the handler. When paused no data will be received in the <code>data_handler</code>.</li> <li><code>resume</code>: resume the handler. The handler will be called if any data arrives.</li> <li><code>exception_handler</code>: Will be called if an exception occurs on the <code>ReadStream</code>.</li> <li><code>end_handler</code>: Will be called when end of stream is reached. This might be when EOF is reached if the <code>ReadStream</code> represents a file, or when end of request is reached if it's an HTTP request, or when the connection is closed if it's a TCP socket.</li> </ul> <h2 id="writestream">WriteStream</h2><br/> <p><code>WriteStream</code> is implemented by <code>AsyncFile</code>, <code>HttpClientRequest</code>, <code>HttpServerResponse</code>, <code>WebSocket</code>, <code>NetSocket</code> and <code>SockJSSocket</code></p> <p>Functions:</p> <ul> <li><code>write_buffer</code>: write a Buffer to the <code>WriteStream</code>. This method will never block. Writes are queued internally and asynchronously written to the underlying resource.</li> <li><code>write_queue_max_size=</code>: set the number of bytes at which the write queue is considered <em>full</em>, and the function <code>write_queue_full?</code> returns <code>true</code>. Note that, even if the write queue is considered full, if <code>writeBuffer</code> is called the data will still be accepted and queued.</li> <li><code>write_queue_full?</code>: returns <code>true</code> if the write queue is considered full.</li> <li><code>exception_handler</code>: Will be called if an exception occurs on the <code>WriteStream</code>.</li> <li><code>drain_handler</code>: The handler will be called if the <code>WriteStream</code> is considered no longer full.</li> </ul> <h2 id="pump">Pump</h2><br/> <p>Instances of <code>Pump</code> have the following methods:</p> <ul> <li><code>start</code>. Start the pump.</li> <li><code>stop</code>. Stops the pump. When the pump starts it is in stopped mode.</li> <li><code>write_queue_max_size=</code>. This has the same meaning as <code>write_queue_max_size=</code> on the <code>WriteStream</code>.</li> <li><code>bytes_pumped</code>. Returns total number of bytes pumped.</li> </ul> <p>A pump can be started and stopped multiple times.</p> <h1 id="writing-http-servers-and-clients">Writing HTTP Servers and Clients</h1><br/> <h2 id="writing-http-servers">Writing HTTP servers</h2><br/> <p>Vert.x allows you to easily write full featured, highly performant and scalable HTTP servers.</p> <h3 id="creating-an-http-server">Creating an HTTP Server</h3><br/> <p>To create an HTTP server you simply create an instance of <code>vertx.net.HttpServer</code>.</p> <pre class="prettyprint">server = Vertx::HttpServer.new </pre> <h3 id="start-the-server-listening_1">Start the Server Listening</h3><br/> <p>To tell that server to listen for incoming requests you use the <code>listen</code> method:</p> <pre class="prettyprint">server = Vertx::HttpServer.new server.listen(8080, 'myhost') </pre> <p>The first parameter to <code>listen</code> is the port. The second parameter is the hostname or ip address. If the hostname is omitted it will default to <code>0.0.0.0</code> which means it will listen at all available interfaces.</p> <h3 id="getting-notified-of-incoming-requests">Getting Notified of Incoming Requests</h3><br/> <p>To be notified when a request arrives you need to set a request handler. This is done by calling the <code>request_handler</code> method of the server, passing in the handler:</p> <pre class="prettyprint">server = Vertx::HttpServer.new server.request_handler do |request| puts 'An HTTP request has been received' end server.listen(8080, 'localhost') </pre> <p>This displays 'An HTTP request has been received!' every time an HTTP request arrives on the server. You can try it by running the verticle and pointing your browser at <code>http://localhost:8080</code>.</p> <p>Similarly to <code>NetServer</code>, the return value of the <code>request_handler</code> function is the server itself, so multiple invocations can be chained together. That means we can rewrite the above with:</p> <pre class="prettyprint">server = Vertx::HttpServer.new server.request_handler do |request| puts 'An HTTP request has been received' end.listen(8080, 'localhost') </pre> <p>Or:</p> <pre class="prettyprint">server = Vertx::HttpServer.new.request_handler do |request| puts 'An HTTP request has been received' end.listen(8080, 'localhost') </pre> <h3 id="handling-http-requests">Handling HTTP Requests</h3><br/> <p>So far we have seen how to create an <code>HttpServer</code> and be notified of requests. Lets take a look at how to handle the requests and do something useful with them.</p> <p>When a request arrives, the request handler is called passing in an instance of <code>HttpServerRequest</code>. This object represents the server side HTTP request.</p> <p>The handler is called when the headers of the request have been fully read. If the request contains a body, that body may arrive at the server some time after the request handler has been called.</p> <p>It contains functions to get the URI, path, request headers and request parameters. It also contains a <code>response</code> property which is a reference to an object that represents the server side HTTP response for the object.</p> <h4 id="request-method">Request Method</h4><br/> <p>The request object has a property <code>method</code> which is a string representing what HTTP method was requested. Possible values for <code>method</code> are: <code>GET</code>, <code>PUT</code>, <code>POST</code>, <code>DELETE</code>, <code>HEAD</code>, <code>OPTIONS</code>, <code>CONNECT</code>, <code>TRACE</code>, <code>PATCH</code>.</p> <h4 id="request-uri">Request URI</h4><br/> <p>The request object has a property <code>uri</code> which contains the full URI (Uniform Resource Locator) of the request. For example, if the request URI was:</p> <pre class="prettyprint">/a/b/c/page.html?param1=abc&amp;param2=xyz </pre> <p>Then <code>request.uri</code> would contain the string <code>/a/b/c/page.html?param1=abc&amp;param2=xyz</code>.</p> <p>Request URIs can be relative or absolute (with a domain) depending on what the client sent. In many cases they will be relative.</p> <p>The request uri contains the value as defined in <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html">Section 5.1.2 of the HTTP specification - Request-URI</a></p> <h4 id="request-path">Request Path</h4><br/> <p>The request object has a property <code>path</code> which contains the path of the request. For example, if the request URI was:</p> <pre class="prettyprint">/a/b/c/page.html?param1=abc&amp;param2=xyz </pre> <p>Then <code>request.path</code> would contain the string <code>/a/b/c/page.html</code></p> <h4 id="request-query">Request Query</h4><br/> <p>The request object has a property <code>query</code> which contains the query of the request. For example, if the request URI was:</p> <pre class="prettyprint">/a/b/c/page.html?param1=abc&amp;param2=xyz </pre> <p>Then <code>request.query</code> would contain the string <code>param1=abc&amp;param2=xyz</code></p> <h4 id="request-headers">Request Headers</h4><br/> <p>The request headers are available using the <code>headers</code> method on the request object. The return value of the method is a Ruby Hash.</p> <p>Note that the header keys are always lower-cased before being returned to you.</p> <p>Here's an example that echoes the headers to the output of the response. Run it and point your browser at <code>http://localhost:8080</code> to see the headers.</p> <pre class="prettyprint">server.request_handler do |request| request.response.put_header('Content-Type', 'text/plain') str = "Headers are\n" request.headers.each do |key, value| str &lt;&lt; "#{key}: #{value}\n" end request.response.end(str) end.listen(8080, 'localhost') </pre> <h4 id="request-params">Request params</h4><br/> <p>Similarly to the headers, the request parameters are available using the <code>params</code> method on the request object. The return value of the function is just a Hash too.</p> <p>Request parameters are sent on the request URI, after the path. For example if the URI was:</p> <pre class="prettyprint">/page.html?param1=abc&amp;param2=xyz </pre> <p>Then the params hash would be the following JS object:</p> <pre class="prettyprint">{ param1: 'abc', param2: 'xyz' } </pre> <h4 id="reading-data-from-the-request-body">Reading Data from the Request Body</h4><br/> <p>Sometimes an HTTP request contains a request body that we want to read. As previously mentioned the request handler is called when only the headers of the request have arrived so the <code>HttpServerRequest</code> object does not contain the body. This is because the body may be very large and we don't want to create problems with exceeding available memory.</p> <p>To receive the body, you set the <code>data_handler</code> on the request object. This will then get called every time a chunk of the request body arrives. Here's an example:</p> <pre class="prettyprint">server.request_handler do |request| request.data_handler do |buffer| puts "I received #{buffer.length} bytes" end end.listen(8080, 'localhost') </pre> <p>The <code>data_handler</code> may be called more than once depending on the size of the body.</p> <p>You'll notice this is very similar to how data from <code>NetSocket</code> is read.</p> <p>The request object implements the <code>ReadStream</code> interface so you can pump the request body to a <code>WriteStream</code>. See the chapter on streams and pumps for a detailed explanation.</p> <p>In many cases, you know the body is not large and you just want to receive it in one go. To do this you could do something like the following:</p> <pre class="prettyprint">server = Vertx::HttpServer.new server.request_handler do |request| # Create a buffer to hold the body body = Vertx::Buffer.create(0) request.data_handler do |buffer| # Append the chunk to the buffer body.append_buffer(buffer) end request.end_handler do # The entire body has now been received puts "The total body received was #{body.length} bytes" end end.listen(8080, 'localhost') </pre> <p>Like any <code>ReadStream</code> the end handler is invoked when the end of stream is reached - in this case at the end of the request.</p> <p>If the HTTP request is using HTTP chunking, then each HTTP chunk of the request body will correspond to a single call of the data handler.</p> <p>It's a very common use case to want to read the entire body before processing it, so vert.x allows a <code>body_handler</code> to be set on the request object.</p> <p>The body handler is called only once when the <em>entire</em> request body has been read.</p> <p><em>Beware of doing this with very large requests since the entire request body will be stored in memory.</em></p> <p>Here's an example using <code>body_handler</code>:</p> <pre class="prettyprint">server = Vertx::HttpServer.new server.request_handler do |request| request.body_handler do |body| puts "The total body received was #{body.length} bytes" end end.listen(8080, 'localhost') </pre> <p>Simples, innit?</p> <h3 id="http-server-responses">HTTP Server Responses</h3><br/> <p>As previously mentioned, the HTTP request object contains a property <code>response</code>. This is the HTTP response for the request. You use it to write the response back to the client.</p> <h3 id="setting-status-code-and-message">Setting Status Code and Message</h3><br/> <p>To set the HTTP status code for the response use the <code>status_code</code> property. You can also use the <code>status_message</code> property to set the status message. If you do not set the status message a default message will be used.</p> <pre class="prettyprint">server = Vertx::HttpServer.new server.request_handler do |request| request.response.status_code = 404 request.response.status_message = "Too many gerbils" request.response.end end.listen(8080, 'localhost') </pre> <p>The default value for <code>status_code</code> is <code>200</code>. </p> <h4 id="writing-http-responses">Writing HTTP responses</h4><br/> <p>To write data to an HTTP response, you invoke the <code>write_buffer</code> or <code>write_str</code> methods. These methods can be invoked multiple times before the response is ended.</p> <p>With a single buffer:</p> <pre class="prettyprint">myBuffer = ... request.response.write_buffer(myBuffer) </pre> <p>A string. In this case the string will encoded using UTF-8 and the result written to the wire.</p> <pre class="prettyprint">request.response.write_str('hello') </pre> <p>A string and an encoding. In this case the string will encoded using the specified encoding and the result written to the wire.</p> <pre class="prettyprint">request.response.write_str('hello', 'UTF-16') </pre> <p>The write methods are asynchronous and always returns immediately after the write has been queued.</p> <p>The actual write might complete some time later. If you want to be informed when the actual write has completed you can specify a block when calling the method. The block will then be invoked when the write has completed:</p> <pre class="prettyprint">request.response.write_str('hello') { puts 'It has actually been written' } </pre> <p>If you are just writing a single string or Buffer to the HTTP response you can write it and end the response in a single call to the <code>end</code> function.</p> <p>The first call to write results in the response header being being written to the response.</p> <p>Consequently, if you are not using HTTP chunking then you must set the <code>Content-Length</code> header before writing to the response, since it will be too late otherwise. If you are using HTTP chunking you do not have to worry.</p> <h4 id="ending-http-responses">Ending HTTP responses</h4><br/> <p>Once you have finished with the HTTP response you must call the <code>end</code> method on it.</p> <p>This method can be invoked in several ways:</p> <p>With no arguments, the response is simply ended.</p> <pre class="prettyprint">request.response.end </pre> <p>The function can also be called with a string or Buffer in the same way write is called. In this case it's just the same as calling write with a string or Buffer followed by calling <code>end</code> with no arguments. For example:</p> <pre class="prettyprint">request.response.end('That's all folks') </pre> <h4 id="closing-the-underlying-connection">Closing the underlying connection</h4><br/> <p>You can close the underlying TCP connection of the request by calling the <code>close</code> method.</p> <pre class="prettyprint">request.response.close </pre> <h4 id="response-headers">Response headers</h4><br/> <p>HTTP response headers can be added to the response by adding them to the Hash returned from the <code>headers</code> method:</p> <pre class="prettyprint">request.response.headers['Some-header'] = 'foo' </pre> <p>Also, individual HTTP response headers can be written using the <code>put_header</code> function, allowing a more fluent API. For example:</p> <pre class="prettyprint">request.response.put_header('Some-Other-Header', 'wibble'). put_header('Blah', 'Eek') </pre> <p>Response headers must all be added before any parts of the response body are written.</p> <h4 id="chunked-http-responses-and-trailers">Chunked HTTP Responses and Trailers</h4><br/> <p>Vert.x supports <a href="http://en.wikipedia.org/wiki/Chunked_transfer_encoding">HTTP Chunked Transfer Encoding</a>. This allows the HTTP response body to be written in chunks, and is normally used when a large response body is being streamed to a client, whose size is not known in advance.</p> <p>You put the HTTP response into chunked mode by setting the <code>chunked</code> property.</p> <pre class="prettyprint">req.response.chunked = true </pre> <p>Default is non-chunked. When in chunked mode, each call to <code>response.write_buffer</code> or <code>response.write_str</code> will result in a new HTTP chunk being written out.</p> <p>When in chunked mode you can also write HTTP response trailers to the response. These are actually written in the final chunk of the response.</p> <p>Like headers, HTTP response trailers can be added to the response by adding them to the Hash returned from the <code>trailers</code> method:</p> <pre class="prettyprint">request.response.trailers['Some-header'] = 'foo' </pre> <p>Also, individual HTTP response trailers can be written using the <code>put_trailer</code> method, allowing a more fluent API. For example:</p> <pre class="prettyprint">request.response.put_trailer('Some-Other-Header', 'wibble'). put_trailer('Blah', 'Eek') </pre> <h3 id="serving-files-directly-from-disk">Serving files directly from disk</h3><br/> <p>If you were writing a web server, one way to serve a file from disk would be to open it as an <code>AsyncFile</code> and pump it to the HTTP response. Or you could load it it one go using the file system API and write that to the HTTP response.</p> <p>Alternatively, vert.x provides a method which allows you to send serve a file from disk to HTTP response in one operation. Where supported by the underlying operating system this may result in the OS directly transferring bytes from the file to the socket without being copied through userspace at all.</p> <p>Using <code>send_file</code> is usually more efficient for large files, but may be slower than using <code>readFile</code> to manually read the file as a buffer and write it directly to the response.</p> <p>To do this use the <code>send_file</code> function on the HTTP response. Here's a simple HTTP web server that serves static files from the local <code>web</code> directory:</p> <pre class="prettyprint">server = Vertx::HttpServer.new server.request_handler do |req| file = '' if req.path == '/' file = 'index.html' elsif !req.path.include?('..') file = req.path end req.response.send_file('web/' + file) end.listen(8080, 'localhost') </pre> <p><em>Note: If you use <code>send_file</code> while using HTTPS it will copy through userspace, since if the kernel is copying data directly from disk to socket it doesn't give us an opportunity to apply any encryption.</em></p> <p><strong>If you're going to write web servers using vert.x be careful that users cannot exploit the path to access files outside the directory from which you want to serve them.</strong></p> <h3 id="pumping-responses">Pumping Responses</h3><br/> <p>Since the HTTP Response implements <code>WriteStream</code> you can pump to it from any <code>ReadStream</code>, e.g. an <code>AsyncFile</code>, <code>NetSocket</code> or <code>HttpServerRequest</code>.</p> <p>Here's an example which echoes HttpRequest headers and body back in the HttpResponse. It uses a pump for the body, so it will work even if the HTTP request body is much larger than can fit in memory at any one time:</p> <pre class="prettyprint">server = Vertx::HttpServer.new server.request_handler do |req| req.response.put_headers(req.headers) p = Pump.new(req, req.response) p.start req.end_handler { req.response.end } end.listen(8080, 'localhost') </pre> <h2 id="writing-http-clients">Writing HTTP Clients</h2><br/> <h3 id="creating-an-http-client">Creating an HTTP Client</h3><br/> <p>To create an HTTP client you simply create an instance of <code>vertx.HttpClient</code>:</p> <pre class="prettyprint">client = Vertx::HttpClient.new </pre> <p>You set the port and hostname (or ip address) that the client will connect to using the <code>setHost</code> and <code>setPort</code> functions:</p> <pre class="prettyprint">client = Vertx::HttpClient.new client.port = 8181 client.host = 'foo.com' </pre> <p>A single <code>HttpClient</code> always connects to the same host and port. If you want to connect to different servers, create more instances.</p> <p>The default port is <code>80</code> and the default host is <code>localhost</code>. So if you don't explicitly set these values that's what the client will attempt to connect to.</p> <h3 id="pooling-and-keep-alive">Pooling and Keep Alive</h3><br/> <p>By default the <code>HttpClient</code> pools HTTP connections. As you make requests a connection is borrowed from the pool and returned when the HTTP response has ended.</p> <p>If you do not want connections to be pooled you can call <code>setKeepAlive</code> with <code>false</code>:</p> <pre class="prettyprint">client = Vertx::HttpClient.new client.keep_alive = false </pre> <p>In this case a new connection will be created for each HTTP request and closed once the response has ended.</p> <p>You can set the maximum number of connections that the client will pool as follows:</p> <pre class="prettyprint">client = Vertx::HttpClient.new client.max_pool_size = 10 </pre> <p>The default value is <code>1</code>.</p> <h3 id="closing-the-client">Closing the client</h3><br/> <p>Vert.x will automatically close any clients when the verticle is stopped, but if you want to close it explicitly you can:</p> <pre class="prettyprint">client.close </pre> <h3 id="making-requests">Making Requests</h3><br/> <p>To make a request using the client you invoke one the methods named after the HTTP method that you want to invoke.</p> <p>For example, to make a <code>POST</code> request:</p> <pre class="prettyprint">client = Vertx::HttpClient.new client.host = 'foo.com' request = client.post('/some-path/') do |resp| puts "got response #{resp.status_code}" end request.end </pre> <p>To make a PUT request use the <code>put</code> method, to make a GET request use the <code>get</code> method, etc.</p> <p>Legal request methods are: <code>get</code>, <code>put</code>, <code>post</code>, <code>delete</code>, <code>head</code>, <code>options</code>, <code>connect</code>, <code>trace</code> and <code>patch</code>.</p> <p>The general modus operandi is you invoke the appropriate method passing in the request URI as the first parameter, the second parameter is an event handler which will get called when the corresponding response arrives. The response handler is passed the client response object as an argument.</p> <p>The value specified in the request URI corresponds to the Request-URI as specified in <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html">Section 5.1.2 of the HTTP specification</a>. In most cases it will be a relative URI.</p> <p><em>Please note that the domain/port that the client connects to is determined by <code>setPort</code> and <code>setHost</code>, and is not parsed from the uri.</em></p> <p>The return value from the appropriate request method is an <code>HttpClientRequest</code> object. You can use this to add headers to the request, and to write to the request body. The request object implements <code>WriteStream</code>.</p> <p>Once you have finished with the request you must call the <code>end</code> method.</p> <p>If you don't know the name of the request method in advance there is a general <code>request</code> method which takes the HTTP method as a parameter:</p> <pre class="prettyprint">client = Vertx::HttpClient.new client.host = 'foo.com' request = client.request('POST', '/some-path/') do |resp| puts "got response #{resp.status_code}" end request.end </pre> <p>There is also a method called <code>get_now</code> which does the same as <code>get</code>, but automatically ends the request. This is useful for simple GETs which don't have a request body:</p> <pre class="prettyprint">client = Vertx::HttpClient.new client.host = 'foo.com' client.get_now('/some-path/') do |resp| puts "got response #{resp.status_code}" end </pre> <p>With <code>get_now</code> there is no return value.</p> <h4 id="writing-to-the-request-body">Writing to the request body</h4><br/> <p>Writing to the client request body has a very similar API to writing to the server response body.</p> <p>To write data to an <code>HttpClientRequest</code> object, you invoke the <code>write_buffer</code> or <code>write_str</code> methods. These methods can be called multiple times before the request has ended.</p> <p>With a single buffer:</p> <pre class="prettyprint">myBuffer = ... request.write_buffer(myBuffer) </pre> <p>A string. In this case the string will encoded using UTF-8 and the result written to the wire.</p> <pre class="prettyprint">request.write_str('hello') </pre> <p>A string and an encoding. In this case the string will encoded using the specified encoding and the result written to the wire.</p> <pre class="prettyprint">request.write_str('hello', 'UTF-16') </pre> <p>The write functions are asynchronous and always return immediately after the write has been queued. The actual write might complete some time later.</p> <p>If you want to be informed when the actual write has completed you specify a block to the method. This block will be invoked when the write has completed:</p> <pre class="prettyprint">request.response.write('hello') { puts 'It has actually been written' } </pre> <p>If you are just writing a single string or Buffer to the HTTP request you can write it and end the request in a single call to the <code>end</code> method.</p> <p>The first call to <code>write</code> results in the request header being being written to the request.</p> <p>Consequently, if you are not using HTTP chunking then you must set the <code>Content-Length</code> header before writing to the request, since it will be too late otherwise. If you are using HTTP chunking you do not have to worry.</p> <h4 id="ending-http-requests">Ending HTTP requests</h4><br/> <p>Once you have finished with the HTTP request you must call the <code>end</code> method on it.</p> <p>This method can be invoked in several ways:</p> <p>With no arguments, the request is simply ended.</p> <pre class="prettyprint">request.end </pre> <p>The method can also be called with a string or Buffer in the same way write is called. In this case it's just the same as calling write with a string or Buffer followed by calling <code>end</code> with no arguments.</p> <h4 id="writing-request-headers">Writing Request Headers</h4><br/> <p>To write headers to the request, add them to the Hash returned from the <code>headers</code> method:</p> <pre class="prettyprint">client = Vertx::HttpClient.new client.host = 'foo.com' request = client.post('/some-path') do |resp| puts "got response #{resp.status_code}" end request.headers['Some-Header'] = 'Some-Value' request.end </pre> <p>You can also use the <code>put_header</code> method to enable a more fluent API: </p> <pre class="prettyprint">client = Vertx::HttpClient.new client.host = 'foo.com' request = client.post('/some-path') do |resp| puts "got response #{resp.status_code}" end.put_header('Some-Header', 'Some-Value'). put_header('Some-Other-Header', 'Some-Other-Value'). end </pre> <h4 id="http-chunked-requests">HTTP chunked requests</h4><br/> <p>Vert.x supports <a href="http://en.wikipedia.org/wiki/Chunked_transfer_encoding">HTTP Chunked Transfer Encoding</a> for requests. This allows the HTTP request body to be written in chunks, and is normally used when a large request body is being streamed to the server, whose size is not known in advance.</p> <p>You put the HTTP request into chunked mode by setting the attribute <code>chunked</code>.</p> <pre class="prettyprint">request.chunked = true </pre> <p>Default is non-chunked. When in chunked mode, each call to <code>request.write_str</code> or <code>request.write_buffer</code> will result in a new HTTP chunk being written out.</p> <h3 id="http-client-responses">HTTP Client Responses</h3><br/> <p>Client responses are received as an argument to the response handler block that is specified when making a request.</p> <p>The response object implements <code>ReadStream</code>, so it can be pumped to a <code>WriteStream</code> like any other <code>ReadStream</code>.</p> <p>To query the status code of the response use the <code>status_code</code> property. The <code>status_message</code> property contains the status message. For example:</p> <pre class="prettyprint">client = Vertx::HttpClient.new client.host = 'foo.com' client.get_now('/some-path') do |resp| puts "server returned status code: #{resp.status_code}" puts "server returned status message: #{resp.status_message}" end </pre> <h4 id="reading-data-from-the-response-body">Reading Data from the Response Body</h4><br/> <p>The API for reading a http client response body is very similar to the API for reading a http server request body.</p> <p>Sometimes an HTTP response contains a request body that we want to read. Like an HTTP request, the client response handler is called when all the response headers have arrived, not when the entire response body has arrived.</p> <p>To receive the response body, you set a <code>dataHandler</code> on the response object which gets called as parts of the HTTP response arrive. Here's an example:</p> <pre class="prettyprint">client = Vertx::HttpClient.new client.host = 'foo.com' client.get_now('/some-path') do |resp| resp.data_handler { |buffer| puts "I received #{buffer.length} bytes" } end </pre> <p>The response object implements the <code>ReadStream</code> interface so you can pump the response body to a <code>WriteStream</code>. See the chapter on streams and pump for a detailed explanation.</p> <p>The <code>data_handler</code> can be called multiple times for a single HTTP response.</p> <p>As with a server request, if you wanted to read the entire response body before doing something with it you could do something like the following:</p> <pre class="prettyprint">client = Vertx::HttpClient.new client.host = 'foo.com' client.get_now('/some-path') do |resp| # Create a buffer to hold the entire response body body = Vertx::Buffer.create(0) resp.data_handler do |buffer| # Add chunk to the buffer body.append_buffer(buffer) end resp.end_handler do # The entire response body has been received puts "The total body received was #{body.length} bytes" end end </pre> <p>Like any <code>ReadStream</code> the end handler is invoked when the end of stream is reached - in this case at the end of the response.</p> <p>If the HTTP response is using HTTP chunking, then each chunk of the response body will correspond to a single call to the <code>data_handler</code>.</p> <p>It's a very common use case to want to read the entire body in one go, so vert.x allows a <code>body_handler</code> to be set on the response object.</p> <p>The body handler is called only once when the <em>entire</em> response body has been read.</p> <p><em>Beware of doing this with very large responses since the entire response body will be stored in memory.</em></p> <p>Here's an example using <code>body_handler</code>:</p> <pre class="prettyprint">client = Vertx::HttpClient.new client.host = 'foo.com' client.get_now('/some-path') do |resp| resp.body_handler do |body| puts "The total body received was #{body.length} bytes" end end </pre> <h2 id="pumping-requests-and-responses">Pumping Requests and Responses</h2><br/> <p>The HTTP client and server requests and responses all implement either <code>ReadStream</code> or <code>WriteStream</code>. This means you can pump between them and any other read and write streams.</p> <h3 id="100-continue-handling">100-Continue Handling</h3><br/> <p>According to the <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html">HTTP 1.1 specification</a> a client can set a header <code>Expect: 100-Continue</code> and send the request header before sending the rest of the request body.</p> <p>The server can then respond with an interim response status <code>Status: 100 (Continue)</code> to signify the client is ok to send the rest of the body.</p> <p>The idea here is it allows the server to authorise and accept/reject the request before large amounts of data is sent. Sending large amounts of data if the request might not be accepted is a waste of bandwidth and ties up the server in reading data that it will just discard.</p> <p>Vert.x allows you to set a <code>continue_handler</code> on the client request object. This will be called if the server sends back a <code>Status: 100 (Continue)</code> response to signify it is ok to send the rest of the request.</p> <p>This is used in conjunction with the <code>send_head</code> function to send the head of the request.</p> <p>An example will illustrate this:</p> <pre class="prettyprint">client = Vertx::HttpClient.new client.host = 'foo.com' request = client.put('/some-path') do |resp| puts "Got a response: #{resp.status_code}" end request.put_header('Expect', '100-Continue') request.chunked = true request.continue_handler do # OK to send rest of body request.write_str('Some data').end end request.send_head </pre> <h2 id="https-servers">HTTPS Servers</h2><br/> <p>HTTPS servers are very easy to write using vert.x.</p> <p>An HTTPS server has an identical API to a standard HTTP server. Getting the server to use HTTPS is just a matter of configuring the HTTP Server before <code>listen</code> is called.</p> <p>Configuration of an HTTPS server is done in exactly the same way as configuring a <code>NetServer</code> for SSL. Please see the SSL server chapter for detailed instructions.</p> <h2 id="https-clients">HTTPS Clients</h2><br/> <p>HTTPS clients can also be very easily written with vert.x</p> <p>Configuring an HTTP client for HTTPS is done in exactly the same way as configuring a <code>NetClient</code> for SSL. Please see the SSL client chapter for detailed instructions.</p> <h2 id="scaling-http-servers">Scaling HTTP servers</h2><br/> <p>Scaling an HTTP or HTTPS server over multiple cores is as simple as deploying more instances of the verticle. For example:</p> <pre class="prettyprint">vertx deploy http_server.rb -instances 20 </pre> <p>The scaling works in the same way as scaling a <code>NetServer</code>. Please see the chapter on scaling Net Servers for a detailed explanation of how this works.</p> <h1 id="routing-http-requests-with-pattern-matching">Routing HTTP requests with Pattern Matching</h1><br/> <p>Vert.x lets you route HTTP requests to different handlers based on pattern matching on the request path. It also enables you to extract values from the path and use them as parameters in the request.</p> <p>This is particularly useful when developing REST-style web applications.</p> <p>To do this you simply create an instance of <code>Vertx::RouteMatcher</code> and use it as handler in an HTTP server. See the chapter on HTTP servers for more information on setting HTTP handlers. Here's an example:</p> <pre class="prettyprint">server = Vertx::HttpServer.new route_matcher = Vertx::RouteMatcher.new server.request_Handler(route_matcher).listen(8080, 'localhost') </pre> <h2 id="specifying-matches">Specifying matches.</h2><br/> <p>You can then add different matches to the route matcher. For example, to send all GET requests with path <code>/animals/dogs</code> to one handler and all GET requests with path <code>/animals/cats</code> to another handler you would do:</p> <pre class="prettyprint">server = Vertx::HttpServer.new route_matcher = Vertx::RouteMatcher.new route_matcher.get('/animals/dogs') do |req| req.response.end('You requested dogs') end route_matcher.get('/animals/cats') do |req| req.response.end('You requested cats') end server.request_handler(route_matcher).listen(8080, 'localhost') </pre> <p>Corresponding methods exist for each HTTP method - <code>get</code>, <code>post</code>, <code>put</code>, <code>delete</code>, <code>head</code>, <code>options</code>, <code>trace</code>, <code>connect</code> and <code>patch</code>.</p> <p>There's also an <code>all</code> method which applies the match to any HTTP request method.</p> <p>The handler specified to the method is just a normal HTTP server request handler, the same as you would supply to the <code>request_handler</code> method of the HTTP server.</p> <p>You can provide as many matches as you like and they are evaluated in the order you added them, the first matching one will receive the request.</p> <p>A request is sent to at most one handler.</p> <h2 id="extracting-parameters-from-the-path">Extracting parameters from the path</h2><br/> <p>If you want to extract parameters from the path, you can do this too, by using the <code>:</code> (colon) character to denote the name of a parameter. For example:</p> <pre class="prettyprint">server = Vertx::HttpServer.new route_matcher = Vertx::RouteMatcher.new route_matcher.put('/:blogname/:post') do |req| blogName = req.params['blogname'] post = req.params['post'] req.response.end("blogname is #{blogName} post is #{post}") end server.request_handler(route_matcher).listen(8080, 'localhost') </pre> <p>Any params extracted by pattern matching are added to the map of request parameters.</p> <p>In the above example, a PUT request to <code>/myblog/post1</code> would result in the variable <code>blogName</code> getting the value <code>myblog</code> and the variable <code>post</code> getting the value <code>post1</code>.</p> <p>Valid parameter names must start with a letter of the alphabet and be followed by any letters of the alphabet or digits.</p> <h2 id="extracting-params-using-regular-expressions">Extracting params using Regular Expressions</h2><br/> <p>Regular Expressions can be used to extract more complex matches. In this case capture groups are used to capture any parameters.</p> <p>Since the capture groups are not named they are added to the request with names <code>param0</code>, <code>param1</code>, <code>param2</code>, etc.</p> <p>Corresponding methods exist for each HTTP method - <code>get_re</code>, <code>post_re</code>, <code>put_re</code>, <code>delete_re</code>, <code>head_re</code>, <code>options_re</code>, <code>trace_re</code>, <code>connect_re</code> and <code>patch_re</code>.</p> <p>There's also an <code>all_re</code> method which applies the match to any HTTP request method.</p> <p>For example:</p> <pre class="prettyprint">server = Vertx::HttpServer.new route_matcher = Vertx::RouteMatcher.new route_matcher.all_re("\/([^\/]+)\/([^\/]+)") do |req| first = req.params['param0'] second = req.params['param1'] req.response.end("first is #{first} second is #{second}") end server.request_handler(route_matcher).listen(8080, 'localhost') </pre> <p>Run the above and point your browser at <code>http://localhost:8080/animals/cats</code>.</p> <p>It will display 'first is animals and second is cats'. </p> <h2 id="handling-requests-where-nothing-matches">Handling requests where nothing matches</h2><br/> <p>You can use the <code>no_match</code> method to specify a handler that will be called if nothing matches. If you don't specify a no match handler and nothing matches, a 404 will be returned.</p> <pre class="prettyprint">route_matcher.no_match { |req| req.response.end('Nothing matched') } </pre> <h1 id="websockets">WebSockets</h1><br/> <p><a href="http://en.wikipedia.org/wiki/WebSocket">WebSockets</a> are a feature of HTML 5 that allows a full duplex socket-like connection between HTTP servers and HTTP clients (typically browsers).</p> <h2 id="websockets-on-the-server">WebSockets on the server</h2><br/> <p>To use WebSockets on the server you create an HTTP server as normal, but instead of setting a <code>request_handler</code> you set a <code>websocket_handler</code> on the server.</p> <pre class="prettyprint">server = Vertx::HttpServer.new server.websocket_handler do |ws| # A WebSocket has connected! end.listen(8080, 'localhost') </pre> <h3 id="reading-from-and-writing-to-websockets">Reading from and Writing to WebSockets</h3><br/> <p>The <code>websocket</code> instance passed into the handler implements both <code>ReadStream</code> and <code>WriteStream</code>, so you can read and write data to it in the normal ways. I.e by setting a <code>data_handler</code> and calling the <code>write_buffer</code> and <code>write_str</code> methods.</p> <p>See the chapter on <code>NetSocket</code> and streams and pumps for more information.</p> <p>For example, to echo all data received on a WebSocket:</p> <pre class="prettyprint">server = Vertx::HttpServer.new server.websocket_handler do |websocket| p = new Pump(websocket, websocket) p.start end.listen(8080, 'localhost') </pre> <p>The <code>websocket</code> instance also has method <code>write_binary_frame</code> for writing binary data. This has the same effect as calling <code>write_buffer</code>.</p> <p>Another method <code>write_text_frame</code> also exists for writing text data. This is equivalent to calling</p> <pre class="prettyprint">websocket.write_buffer(Vertx::Buffer.create('some-string')) </pre> <h3 id="rejecting-websockets">Rejecting WebSockets</h3><br/> <p>Sometimes you may only want to accept WebSockets which connect at a specific path.</p> <p>To check the path, you can query the <code>path</code> property of the <code>websocket</code>. You can then call the <code>reject</code> method to reject the websocket.</p> <pre class="prettyprint">server = Vertx::HttpServer.new server.websocket_handler do |websocket| if websocket.path == '/services/echo' p = Vertx::Pump.new(websocket, websocket) p.start else websocket.reject end end.listen(8080, 'localhost') </pre> <h2 id="websockets-on-the-http-client">WebSockets on the HTTP client</h2><br/> <p>To use WebSockets from the HTTP client, you create the HTTP client as normal, then call the <code>connect_websocket</code> function, passing in the URI that you wish to connect to at the server, and a handler.</p> <p>The handler will then get called if the WebSocket successfully connects. If the WebSocket does not connect - perhaps the server rejects it, then any exception handler on the HTTP client will be called.</p> <p>Here's an example of WebSockets on the client:</p> <pre class="prettyprint">client = Vertx::HttpClient.new client.port = 8080 client.connect_web_socket('http://localhost:8080/services/echo') do |websocket| websocket.data_handler { |buff| puts "got #{buff}"} websocket.write_text_frame('foo') end </pre> <p>Again, the client side WebSocket implements <code>ReadStream</code> and <code>WriteStream</code>, so you can read and write to it in the same way as any other stream object.</p> <h2 id="websockets-in-the-browser">WebSockets in the browser</h2><br/> <p>To use WebSockets from a compliant browser, you use the standard WebSocket API. Here's some example client side JavaScript which uses a WebSocket.</p> <pre class="prettyprint">&lt;script&gt; var socket = new WebSocket("ws://localhost:8080/services/echo"); socket.onmessage = function(event) { alert("Received data from websocket: " + event.data); } socket.onopen = function(event) { alert("Web Socket opened"); socket.send("Hello World"); }; socket.onclose = function(event) { alert("Web Socket closed"); }; &lt;/script&gt; </pre> <p>For more information see the <a href="http://dev.w3.org/html5/websockets/">WebSocket API documentation</a></p> <h2 id="routing-websockets-with-pattern-matching">Routing WebSockets with Pattern Matching</h2><br/> <p><strong>TODO</strong></p> <h1 id="sockjs">SockJS</h1><br/> <p>WebSockets are a new technology, and many users are still using browsers that do not support them, or which support older, pre-final, versions.</p> <p>Moreover, WebSockets do not work well with many corporate proxies. This means that's it's not possible to guarantee a WebSocket connection is going to succeed for every user.</p> <p>Enter SockJS.</p> <p>SockJS is a client side JavaScript library and protocol which provides a simple WebSocket-like interface to the client side JavaScript developer irrespective of whether the actual browser or network will allow real WebSockets.</p> <p>It does this by supporting various different transports between browser and server, and choosing one at runtime according to browser and network capabilities. All this is transparent to you - you are simply presented with the WebSocket-like interface which <em>just works</em>.</p> <p>Please see the <a href="https://github.com/sockjs/sockjs-client">SockJS website</a> for more information.</p> <h2 id="sockjs-server">SockJS Server</h2><br/> <p>Vert.x provides a complete server side SockJS implementation.</p> <p>This enables vert.x to be used for modern, so-called <em>real-time</em> (this is the <em>modern</em> meaning of <em>real-time</em>, not to be confused by the more formal pre-existing definitions of soft and hard real-time systems) web applications that push data to and from rich client-side JavaScript applications, without having to worry about the details of the transport.</p> <p>To create a SockJS server you simply create a HTTP server as normal and pass it in to the constructor of the SockJS server.</p> <pre class="prettyprint">httpServer = Vertx::HttpServer.new sockJSServer = Vertx::SockJSServer.new(httpServer) </pre> <p>Each SockJS server can host multiple <em>applications</em>.</p> <p>Each application is defined by some configuration, and provides a handler which gets called when incoming SockJS connections arrive at the server.</p> <p>For example, to create a SockJS echo application:</p> <pre class="prettyprint">httpServer = Vertx::HttpServer.new sockJSServer = Vertx::SockJSServer.new(httpServer) config = { 'prefix' =&gt; '/echo' } sockJSServer.install_app(config) do |sock| p = Vertx::Pump.new(sock, sock) p.start end httpServer.listen(8080) </pre> <p>The configuration can take the following fields:</p> <ul> <li><code>prefix</code>: A url prefix for the application. All http requests whose paths begins with selected prefix will be handled by the application. This property is mandatory.</li> <li><code>insert_JSESSIONID</code>: Some hosting providers enable sticky sessions only to requests that have JSESSIONID cookie set. This setting controls if the server should set this cookie to a dummy value. By default setting JSESSIONID cookie is enabled. More sophisticated beaviour can be achieved by supplying a function.</li> <li><code>session_timeout</code>: The server sends a <code>close</code> event when a client receiving connection have not been seen for a while. This delay is configured by this setting. By default the <code>close</code> event will be emitted when a receiving connection wasn't seen for 5 seconds.</li> <li><code>heartbeat_period</code>: In order to keep proxies and load balancers from closing long running http requests we need to pretend that the connecion is active and send a heartbeat packet once in a while. This setting controlls how often this is done. By default a heartbeat packet is sent every 25 seconds.</li> <li><code>max_bytes_streaming</code>: Most streaming transports save responses on the client side and don't free memory used by delivered messages. Such transports need to be garbage-collected once in a while. <code>max_bytes_streaming</code> sets a minimum number of bytes that can be send over a single http streaming request before it will be closed. After that client needs to open new request. Setting this value to one effectively disables streaming and will make streaming transports to behave like polling transports. The default value is 128K.</li> <li><code>library_url</code>: Transports which don't support cross-domain communication natively ('eventsource' to name one) use an iframe trick. A simple page is served from the SockJS server (using its foreign domain) and is placed in an invisible iframe. Code run from this iframe doesn't need to worry about cross-domain issues, as it's being run from domain local to the SockJS server. This iframe also does need to load SockJS javascript client library, and this option lets you specify its url (if you're unsure, point it to the latest minified SockJS client release, this is the default). The default value is <code>http://cdn.sockjs.org/sockjs-0.1.min.js</code></li> </ul> <h2 id="reading-and-writing-data-from-a-sockjs-server">Reading and writing data from a SockJS server</h2><br/> <p>The object passed into the SockJS handler implements <code>ReadStream</code> and <code>WriteStream</code> much like <code>NetSocket</code> or <code>WebSocket</code>. You can therefore use the standard API for reading and writing to the SockJS socket or using it in pumps. See the chapter on Streams and Pumps for more information.</p> <pre class="prettyprint">httpServer = Vertx::HttpServer.new sockJSServer = Vertx::SockJSServer.new(httpServer) config = { 'prefix' =&gt; '/echo' } sockJSServer.install_app(config) do |sock| sock.data_handler do |buffer| sock.write_buffer(buffer) end end httpServer.listen(8080) </pre> <h2 id="sockjs-client">SockJS client</h2><br/> <p>For full information on using the SockJS client library please see the SockJS website. A simple example:</p> <pre class="prettyprint">&lt;script&gt; var sock = new SockJS('http://mydomain.com/my_prefix'); sock.onopen = function() { console.log('open'); }; sock.onmessage = function(e) { console.log('message', e.data); }; sock.onclose = function() { console.log('close'); }; &lt;/script&gt; </pre> <p>As you can see the API is very similar to the WebSockets API. </p> <h1 id="sockjs-eventbus-bridge">SockJS - EventBus Bridge</h1><br/> <h2 id="setting-up-the-bridge">Setting up the Bridge</h2><br/> <p>By connecting up SockJS and the vert.x event bus we create a distributed event bus which not only spans multiple vert.x instances on the server side, but can also include client side JavaScript running in browsers.</p> <p>We can therefore create a huge distributed bus encompassing many browsers and servers. The browsers don't have to be connected to the same server as long as the servers are connected.</p> <p>On the server side we have already discussed the event bus API.</p> <p>We also provide a client side JavaScript library called <code>vertxbus.js</code> which provides the same event bus API, but on the client side.</p> <p>This library internally uses SockJS to send and receive data to a SockJS vert.x server called the SockJS bridge. It's the bridge's responsibility to bridge data between SockJS sockets and the event bus on the server side.</p> <p>Creating a Sock JS bridge is simple. You just call the <code>bridge</code> method on the SockJS server instance.</p> <p>You will also need to secure the bridge (see below).</p> <p>The following example creates and starts a SockJS bridge which will bridge any events sent to the path <code>eventbus</code> on to the server side event bus.</p> <pre class="prettyprint">server = Vertx::HttpServer.new; sockJSServer = Vertx::SockJSServer.new(server) sockJSServer.bridge({'prefix' =&gt; '/eventbus'}, [], []) server.listen(8080) </pre> <p>The SockJS bridge currently only works with JSON event bus messages.</p> <h2 id="using-the-event-bus-from-client-side-javascript">Using the Event Bus from client side JavaScript</h2><br/> <p>Once you've set up a bridge, you can use the event bus from the client side as follows:</p> <p>In your web page, you need to load the script <code>vertxbus.js</code>, then you can access the vert.x event bus API. Here's a rough idea of how to use it. For a full working examples, please consult the bundled examples.</p> <pre class="prettyprint">&lt;script src="http://cdn.sockjs.org/sockjs-0.2.1.min.js"&gt;&lt;/script&gt; &lt;script src='vertxbus.js'&gt;&lt;/script&gt; &lt;script&gt; var eb = new vertx.EventBus('http://localhost:8080/eventbus'); eb.onopen = function() { eb.registerHandler('some-address', function(message) { console.log('received a message: ' + JSON.stringify(message); }); eb.send('some-address', {name: 'tim', age: 587}); } &lt;/script&gt; </pre> <p>You can find <code>vertxbus.js</code> in the <code>client</code> directory of the vert.x distribution.</p> <p>The first thing the example does is to create a instance of the event bus</p> <pre class="prettyprint">var eb = new vertx.EventBus('http://localhost:8080/eventbus'); </pre> <p>The parameter to the constructor is the URI where to connect to the event bus. Since we create our bridge with the prefix <code>eventbus</code> we will connect there.</p> <p>You can't actually do anything with the bridge until it is opened. When it is open the <code>onopen</code> handler will be called.</p> <p>The client side event bus API for registering and unregistering handlers and for sending messages is exactly the same as the server side one. Please consult the JavaScript core manual chapter on the EventBus for a description of that API.</p> <p><strong>There is one more thing to do before getting this working, please read the following section....</strong></p> <h2 id="securing-the-bridge">Securing the Bridge</h2><br/> <p>If you started a bridge like in the above example without securing it, and attempted to send messages through it you'd find that the messages mysteriously disappeared. What happened to them?</p> <p>For most applications you probably don't want client side JavaScript being able to send just any message to any verticle on the server side or to all other browsers.</p> <p>For example, you may have a persistor verticle on the event bus which allows data to be accessed or deleted. We don't want badly behaved or malicious clients being able to delete all the data in your database! Also, we don't necessarily want any client to be able to listen in on any topic.</p> <p>To deal with this, a SockJS bridge will, by default refuse to let through any messages. It's up to you to tell the bridge what messages are ok for it to pass through. (There is an exception for reply messages which are always allowed through).</p> <p>In other words the bridge acts like a kind of firewall which has a default <em>deny-all</em> policy.</p> <p>Configuring the bridge to tell it what messages it should pass through is easy. You pass in two arrays of JSON objects that represent <em>matches</em>, as the final argument in the call to <code>bridge</code>.</p> <p>The first array is the <em>inbound</em> list and represents the messages that you want to allow through from the client to the server. The second array is the <em>outbound</em> list and represents the messages that you want to allow through from the server to the client.</p> <p>Each match can have up to three fields:</p> <ol> <li><code>address</code>: This represents the exact address the message is being sent to. If you want to filter messages based on an exact address you use this field.</li> <li><code>address_re</code>: This is a regular expression that will be matched against the address. If you want to filter messages based on a regular expression you use this field. If the <code>address</code> field is specified this field will be ignored.</li> <li><code>match</code>: This allows you to filter messages based on their structure. Any fields in the match must exist in the message with the same values for them to be passed. This currently only works with JSON messages.</li> </ol> <p>When a message arrives at the bridge, it will look through the available permitted entries.</p> <ul> <li> <p>If an <code>address</code> field has been specified then the <code>address</code> must match exactly with the address of the message for it to be considered matched.</p> </li> <li> <p>If an <code>address</code> field has not been specified and an <code>address_re</code> field has been specified then the regular expression in <code>address_re</code> must match with the address of the message for it to be considered matched.</p> </li> <li> <p>If a <code>match</code> field has been specified, then also the structure of the message must match.</p> </li> </ul> <p>Here is an example:</p> <pre class="prettyprint">server = Vertx::HttpServer.new sockJSServer = Vertx::SockJSServer.new(server) sockJSServer.bridge({'prefix' =&gt; '/eventbus'}, [ # Let through any messages sent to 'demo.orderMgr' { 'address' =&gt; 'demo.orderMgr' }, # Allow calls to the address 'demo.persistor' as long as the messages # have an action field with value 'find' and a collection field with value # 'albums' { 'address' =&gt; 'demo.persistor', 'match' =&gt; { 'action' =&gt; 'find', 'collection' =&gt; 'albums' } }, # Allow through any message with a field `wibble` with value `foo`. { 'match' =&gt; { 'wibble' =&gt; 'foo' } } ], [ # Let through any messages coming from address 'ticker.mystock' { 'address' =&gt; 'ticker.mystock' }, # Let through any messages from addresses starting with "news." (e.g. news.europe, news.usa, etc) { 'address_re' =&gt; 'news\\..+' } ]) server.listen(8080) </pre> <p>To let all messages through you can specify two arrays with a single empty JSON object which will match all messages.</p> <pre class="prettyprint"> sockJSServer.bridge({'prefix' =&gt; '/eventbus'}, [{}], [{}]) </pre> <p><strong>Be very careful!</strong></p> <h2 id="messages-that-require-authorisation">Messages that require authorisation</h2><br/> <p>The bridge can also refuse to let certain messages through if the user is not authorised.</p> <p>To enable this you need to make sure an instance of the <code>vertx.auth-mgr</code> module is available on the event bus. (Please see the modules manual for a full description of modules).</p> <p>To tell the bridge that certain messages require authorisation before being passed, you add the field <code>requires_auth</code> with the value of <code>true</code> in the match. The default value is <code>false</code>. For example, the following match:</p> <pre class="prettyprint">{ 'address' =&gt; 'demo.persistor', 'match' =&gt; { 'action' =&gt; 'find', 'collection' =&gt; 'albums' }, 'requires_auth` =&gt; true } </pre> <p>This tells the bridge that any messages to save orders in the <code>orders</code> collection, will only be passed if the user is successful authenticated (i.e. logged in ok) first. </p> <p>When a message is sent from the client that requires authorisation, the client must pass a field <code>sessionID</code> with the message that contains the unique session ID that they obtained when they logged in with the <code>auth-mgr</code>.</p> <p>When the bridge receives such a message, it will send a message to the <code>auth-mgr</code> to see if the session is authorised for that message. If the session is authorised the bridge will cache the authorisation for a certain amount of time (five minutes by default)</p> <h1 id="file-system">File System</h1><br/> <p>Vert.x lets you manipulate files on the file system. File system operations are asynchronous and take a handler block as the last argument.</p> <p>This block will be called when the operation is complete, or an error has occurred.</p> <p>The first argument passed into the block is an exception, if an error occurred. This will be <code>nil</code> if the operation completed successfully. If the operation returns a result that will be passed in the second argument to the handler.</p> <h2 id="synchronous-forms">Synchronous forms</h2><br/> <p>For convenience, we also provide synchronous forms of most operations. It's highly recommended the asynchronous forms are always used for real applications.</p> <p>The synchronous form does not take a handler as an argument and returns its results directly. The name of the synchronous function is the same as the name as the asynchronous form with <code>_sync</code> appended.</p> <h2 id="copy">copy</h2><br/> <p>Copies a file.</p> <p>This function can be called in two different ways:</p> <ul> <li><code>copy(source, destination)</code></li> </ul> <p>Non recursive file copy. <code>source</code> is the source file name. <code>destination</code> is the destination file name.</p> <p>Here's an example:</p> <pre class="prettyprint">Vertx::FileSystem.copy('foo.dat', 'bar.dat') do |err, res| puts 'Copy was successful' if !err end </pre> <ul> <li><code>copy(source, destination, recursive)</code></li> </ul> <p>Recursive copy. <code>source</code> is the source file name. <code>destination</code> is the destination file name. <code>recursive</code> is a boolean flag - if <code>true</code> and source is a directory, then a recursive copy of the directory and all its contents will be attempted.</p> <h2 id="move">move</h2><br/> <p>Moves a file.</p> <p><code>move(source, destination)</code></p> <p><code>source</code> is the source file name. <code>destination</code> is the destination file name.</p> <h2 id="truncate">truncate</h2><br/> <p>Truncates a file.</p> <p><code>truncate(file, len)</code></p> <p><code>file</code> is the file name of the file to truncate. <code>len</code> is the length in bytes to truncate it to.</p> <h2 id="chmod">chmod</h2><br/> <p>Changes permissions on a file or directory.</p> <p>This function can be called in two different ways:</p> <ul> <li><code>chmod(file, perms)</code>.</li> </ul> <p>Change permissions on a file.</p> <p><code>file</code> is the file name. <code>perms</code> is a Unix style permissions string made up of 9 characters. The first three are the owner's permissions. The second three are the group's permissions and the third three are others permissions. In each group of three if the first character is <code>r</code> then it represents a read permission. If the second character is <code>w</code> it represents write permission. If the third character is <code>x</code> it represents execute permission. If the entity does not have the permission the letter is replaced with <code>-</code>. Some examples:</p> <pre class="prettyprint">rwxr-xr-x r--r--r-- </pre> <ul> <li><code>chmod(file, perms, dir_perms)</code>.</li> </ul> <p>Recursively change permissions on a directory. <code>file</code> is the directory name. <code>perms</code> is a Unix style permissions to apply recursively to any files in the directory. <code>dir_perms</code> is a Unix style permissions string to apply to the directory and any other child directories recursively.</p> <h2 id="props">props</h2><br/> <p>Retrieve properties of a file.</p> <p><code>props(file)</code></p> <p><code>file</code> is the file name. The props are returned in the handler. The results is an object with the following properties/methods:</p> <ul> <li><code>creation_time</code>: Time of file creation.</li> <li><code>last_access_time</code>: Time of last file access.</li> <li><code>last_modified_time</code>: Time file was last modified.</li> <li><code>directory?</code>: This will have the value <code>true</code> if the file is a directory.</li> <li><code>regular_file?</code>: This will have the value <code>true</code> if the file is a regular file (not symlink or directory).</li> <li><code>symbolic_link?</code>: This will have the value <code>true</code> if the file is a symbolic link.</li> <li><code>other?</code>: This will have the value <code>true</code> if the file is another type.</li> </ul> <p>Here's an example:</p> <pre class="prettyprint">Vertx::FileSystem.props('some-file.txt') do |err, props| if err puts "Failed to retrieve file props: #{err}" else puts 'File props are:' puts "Last accessed: #{props.lastAccessTime}" // etc end end </pre> <h2 id="lprops">lprops</h2><br/> <p>Retrieve properties of a link. This is like <code>props</code> but should be used when you want to retrieve properties of a link itself without following it.</p> <p>It takes the same arguments and provides the same results as <code>props</code>.</p> <h2 id="link">link</h2><br/> <p>Create a hard link.</p> <p><code>link(link, existing)</code></p> <p><code>link</code> is the name of the link. <code>existing</code> is the existing file (i.e. where to point the link at).</p> <h2 id="symlink">symlink</h2><br/> <p>Create a symbolic link.</p> <p><code>sym_link(link, existing)</code></p> <p><code>link</code> is the name of the symlink. <code>existing</code> is the existing file (i.e. where to point the symlink at).</p> <h2 id="unlink">unlink</h2><br/> <p>Unlink (delete) a link.</p> <p><code>unlink(link)</code></p> <p><code>link</code> is the name of the link to unlink.</p> <h2 id="read_sym_link">read_sym_link</h2><br/> <p>Reads a symbolic link. I.e returns the path representing the file that the symbolic link specified by <code>link</code> points to.</p> <p><code>read_sym_link(link)</code></p> <p><code>link</code> is the name of the link to read. An usage example would be:</p> <pre class="prettyprint">Vertx::FileSystem.read_sym_link('somelink') do |err, res| puts "Link points at #{res}" if !err end </pre> <h2 id="delete">delete</h2><br/> <p>Deletes a file or recursively deletes a directory.</p> <p>This function can be called in two ways:</p> <ul> <li><code>delete(file)</code></li> </ul> <p>Deletes a file. <code>file</code> is the file name.</p> <ul> <li><code>delete(file, recursive)</code></li> </ul> <p>If <code>recursive</code> is <code>true</code>, it deletes a directory with name <code>file</code>, recursively. Otherwise it just deletes a file.</p> <h2 id="mkdir">mkdir</h2><br/> <p>Creates a directory.</p> <p>This function can be called in three ways:</p> <ul> <li><code>mkdir(dirname)</code></li> </ul> <p>Makes a new empty directory with name <code>dirname</code>, and default permissions `</p> <ul> <li><code>mkdir(dirname, create_parents)</code></li> </ul> <p>If <code>create_parents</code> is <code>true</code>, this creates a new directory and creates any of its parents too. Here's an example</p> <pre class="prettyprint">Vertx::FileSystem.mkdir('a/b/c', true) do |err, res| puts "Directory created ok" if !err end </pre> <ul> <li><code>mkdir(dirname, create_parents, perms)</code></li> </ul> <p>Like <code>mkdir(dirname, create_parents, handler)</code>, but also allows permissions for the newly created director(ies) to be specified. <code>perms</code> is a Unix style permissions string as explained earlier.</p> <h2 id="read_dir">read_dir</h2><br/> <p>Reads a directory. I.e. lists the contents of the directory.</p> <p>This method can be called in two ways:</p> <ul> <li><code>read_dir(dir_name)</code></li> </ul> <p>Lists the contents of a directory</p> <ul> <li><code>read_dir(dir_name, filter)</code></li> </ul> <p>List only the contents of a directory which match the filter. Here's an example which only lists files with an extension <code>txt</code> in a directory.</p> <pre class="prettyprint">Vertx::FileSystem.read_dir('mydirectory', '.*\.txt') do |err, res| if !err puts 'Directory contains these .txt files' res.each do |filename| puts filename end end end </pre> <p>The filter is a regular expression. </p> <h2 id="read_file_as_buffer">read_file_as_buffer</h2><br/> <p>Read the entire contents of a file in one go. <em>Be careful if using this with large files since the entire file will be stored in memory at once</em>.</p> <p><code>read_file_as_bufer(file)</code>. Where <code>file</code> is the file name of the file to read.</p> <p>The body of the file will be returned as a <code>Buffer</code> in the handler.</p> <p>Here is an example:</p> <pre class="prettyprint">Vertx::FileSystem.read_file_as_buffer('myfile.dat') do |err, res| puts "File contains: #{res.length} bytes" if !err end </pre> <h2 id="write_buffer_to_file">write_buffer_to_file</h2><br/> <p>Writes an entire <code>Buffer</code> into a new file on disk</p> <p><code>write_buffer_to_file(file, data)</code> Where <code>file</code> is the file name. <code>data</code> is a <code>Buffer</code> or string.</p> <h2 id="create_file">create_file</h2><br/> <p>Creates a new empty file.</p> <p><code>create_file(file)</code>. Where <code>file</code> is the file name.</p> <h2 id="exists">exists?</h2><br/> <p>Checks if a file exists.</p> <p><code>exists?(file)</code>. Where <code>file</code> is the file name.</p> <p>The result is returned in the handler.</p> <pre class="prettyprint">Vertx::FileSystem.exists?('some-file.txt') do |err, res| puts "File #{res ? 'exists' : 'does not exist'}" if !err </pre> <p>end</p> <h2 id="fs_props">fs_props</h2><br/> <p>Get properties for the file system.</p> <p><code>fs_props(file)</code>. Where <code>file</code> is any file on the file system.</p> <p>The result is returned in the handler. The result object has the following fields:</p> <ul> <li><code>total_space</code>. Total space on the file system in bytes.</li> <li><code>unallocated_space</code>. Unallocated space on the file system in bytes.</li> <li><code>usable_space</code>. Usable space on the file system in bytes.</li> </ul> <p>Here is an example:</p> <pre class="prettyprint">Vertx::FileSystem.fs_props('mydir') do |err, res| puts "total space: #{res.total_space}" if !err end </pre> <h2 id="open">open</h2><br/> <p>Opens an asynchronous file for reading \ writing.</p> <ul> <li><code>open(path, perms = nil, read = true, write = true, create_new = true, flush = false)</code></li> </ul> <p>When the file is opened, an instance of <code>AsyncFile</code> is passed into the result handler block:</p> <pre class="prettyprint">Vertx::FileSystem.open('some-file.dat') do |err, async_file| if err puts "Failed to open file #{err}" else puts 'File opened ok' async_file.close end end </pre> <p>If <code>read</code> is <code>true</code>, the file will be opened for reading. If <code>write</code> is <code>true</code> the file will be opened for writing. If <code>create_new</code> is <code>true</code>, the file will be created if it doesn't already exist. If <code>flush</code> is <code>true</code> then every write on the file will be automatically flushed (synced) from the OS cache. <br/> If the file is created, <code>perms</code> is a Unix-style permissions string used to describe the file permissions for the newly created file.</p> <h2 id="asyncfile">AsyncFile</h2><br/> <p>Instances of <code>AsyncFile</code> are returned from calls to <code>open</code> and you use them to read from and write to files asynchronously. They allow asynchronous random file access.</p> <p>AsyncFile can provide instances of <code>ReadStream</code> and <code>WriteStream</code> via the <code>getReadStream</code> and <code>getWriteStream</code> functions, so you can pump files to and from other stream objects such as net sockets, http requests and responses, and WebSockets.</p> <p>They also allow you to read and write directly to them.</p> <h3 id="random-access-writes">Random access writes</h3><br/> <p>To use an AsyncFile for random access writing you use the <code>write</code> method.</p> <p><code>write(buffer, position, &amp;block)</code>.</p> <p>The parameters to the method are: </p> <ul> <li><code>buffer</code>: the buffer to write.</li> <li><code>position</code>: an integer position in the file where to write the buffer. If the position is greater or equal to the size of the file, the file will be enlarged to accomodate the offset.</li> <li><code>block</code>: a block to call when the operation is complete.</li> </ul> <p>Here is an example of random access writes:</p> <pre class="prettyprint">Vertx::FileSystem.open('some-file.dat') do |err, async_file| if err puts "Failed to open file #{err}" else # File open, write a buffer 5 times into a file buff = Vertx::Buffer.create('foo') (1..5).each do |i| async_file.write(buff, buff.length() * i) do |err, res| if err puts "Failed to write #{err}" else puts 'Written ok' end end end end end </pre> <h3 id="random-access-reads">Random access reads</h3><br/> <p>To use an AsyncFile for random access reads you use the <code>read</code> method.</p> <p><code>read(buffer, offset, position, length, &amp;block)</code>.</p> <p>The parameters to the method are: </p> <ul> <li><code>buffer</code>: the buffer into which the data will be read.</li> <li><code>offset</code>: an integer offset into the buffer where the read data will be placed.</li> <li><code>position</code>: the position in the file where to read data from.</li> <li><code>length</code>: the number of bytes of data to read</li> <li><code>block</code>: a block to call when the operation is complete.</li> </ul> <p>Here's an example of random access reads:</p> <pre class="prettyprint">Vertx::FileSystem.open('some-file.dat') do |err, async_file| if err puts "Failed to open file #{err}" else buff = Vertx::Buffer.create(1000) (1..10).each do |i| async_file.read(buff, i * 100, i * 100, 100) do |err, res| if err puts "Failed to read #{err}" else puts 'Read ok' end end end end end </pre> <h3 id="flushing-data-to-underlying-storage">Flushing data to underlying storage.</h3><br/> <p>If the AsyncFile was not opened with <code>flush = true</code>, then you can manually flush any writes from the OS cache by calling the <code>flush</code> method.</p> <h3 id="using-asyncfile-as-readstream-and-writestream">Using AsyncFile as <code>ReadStream</code> and <code>WriteStream</code></h3><br/> <p>Use the methods <code>read_stream</code> and <code>write_stream</code> to get read and write streams. You can then use them with a pump to pump data to and from other read and write streams.</p> <p>Here's an example of pumping data from a file on a client to a HTTP request:</p> <pre class="prettyprint">client = Vertx::HttpClient.new client.host = 'foo.com' Vertx::FileSystem.open('some-file.dat') do |err, async_file| if err puts "Failed to open file #{err}" else request = client.put('/uploads') do |resp| puts "resp status code #{resp.status_code}" end rs = asyncFile.read_stream pump = Vertx::Pump.new(rs, request) pump.start rs.end_handler do # File sent, end HTTP requuest request.end end end end </pre> <h3 id="closing-an-asyncfile">Closing an AsyncFile</h3><br/> <p>To close an AsyncFile call the <code>close</code> method. Closing is asynchronous and if you want to be notified when the close has been completed you can specify a handler block as an argument to <code>close</code>.</p></div> </div> </div> </div> </div> </body> </html>
core/standards/wf1/interactive/label-events-038.html
frivoal/presto-testo
<!DOCTYPE html> <title>label textarea with 'display: none' contained in a label - onclick</title> <p>Click the label below. The word 'PASS' should appear.</p> <form> <p> <label id="l1"> Click me! <textarea style="display: none" id="b" onclick="document.getElementById('result_onclick').innerHTML = 'PASS'; return false">foobar</textarea> </label> </p> </form> <p id="result_onclick"></p>
third_party/WebKit/LayoutTests/accessibility/image-map-title-causes-crash.html
vadimtk/chrome4sdp
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <script> function removeAreaElement() { document.getElementById("test").innerHTML=1 } function queryTitleOnDecendants(accessibilityObject) { accessibilityObject.deprecatedTitle var count = accessibilityObject.childrenCount; for (var i = 0; i < count; ++i) queryTitleOnDecendants(accessibilityObject.childAtIndex(i)); } </script> <script src="../resources/js-test.js"></script> </head> <body> <img usemap="#map"> <map name="map" id="test"><area href="javascript:document.getElementById('result').innerHTML='area clicked'" /></map> <p id="description"></p> <div id="console"></div> <script> description("Requesting the title of an AccessibilityImageMapLink can cause a crash when the map's area element has been removed."); if (window.accessibilityController) { // First build up full accessibility tree. document.body.focus(); queryTitleOnDecendants(accessibilityController.focusedElement); removeAreaElement() // Now call request the title for each accessibility object. document.body.focus(); queryTitleOnDecendants(accessibilityController.focusedElement); } </script> </body> </html>
third_party/webgl/src/sdk/tests/conformance2/textures/image_bitmap_from_blob/tex-2d-rgb10_a2-rgba-unsigned_int_2_10_10_10_rev.html
endlessm/chromium-browser
<!-- Copyright (c) 2019 The Khronos Group Inc. Use of this source code is governed by an MIT-style license that can be found in the LICENSE.txt file. --> <!-- This file is auto-generated from py/tex_image_test_generator.py DO NOT EDIT! --> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" href="../../../resources/js-test-style.css"/> <script src="../../../js/js-test-pre.js"></script> <script src="../../../js/webgl-test-utils.js"></script> <script src="../../../js/tests/tex-image-and-sub-image-utils.js"></script> <script src="../../../js/tests/tex-image-and-sub-image-with-image-bitmap-utils.js"></script> <script src="../../../js/tests/tex-image-and-sub-image-2d-with-image-bitmap-from-blob.js"></script> </head> <body> <canvas id="example" width="32" height="32"></canvas> <div id="description"></div> <div id="console"></div> <script> "use strict"; function testPrologue(gl) { return true; } generateTest("RGB10_A2", "RGBA", "UNSIGNED_INT_2_10_10_10_REV", testPrologue, "../../../resources/", 2)(); </script> </body> </html>
src/deps/boost/doc/html/boost_asio/reference/buffered_stream/write_some/overload2.html
mxrrow/zaicoin
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>buffered_stream::write_some (2 of 2 overloads)</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../../boost_asio.html" title="Boost.Asio"> <link rel="up" href="../write_some.html" title="buffered_stream::write_some"> <link rel="prev" href="overload1.html" title="buffered_stream::write_some (1 of 2 overloads)"> <link rel="next" href="../../buffered_write_stream.html" title="buffered_write_stream"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> <td align="center"><a href="../../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../write_some.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../buffered_write_stream.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h5 class="title"> <a name="boost_asio.reference.buffered_stream.write_some.overload2"></a><a class="link" href="overload2.html" title="buffered_stream::write_some (2 of 2 overloads)">buffered_stream::write_some (2 of 2 overloads)</a> </h5></div></div></div> <p> Write the given data to the stream. Returns the number of bytes written, or 0 if an error occurred. </p> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <span class="keyword">typename</span> <a class="link" href="../../ConstBufferSequence.html" title="Constant buffer sequence requirements">ConstBufferSequence</a><span class="special">&gt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">write_some</span><span class="special">(</span> <span class="keyword">const</span> <span class="identifier">ConstBufferSequence</span> <span class="special">&amp;</span> <span class="identifier">buffers</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&amp;</span> <span class="identifier">ec</span><span class="special">);</span> </pre> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2003-2012 Christopher M. Kohlhoff<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../write_some.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../buffered_write_stream.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
src/legacy/TestCaseEstimation.html
travisc5/app-catalog
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!-- Copyright (c) 2002-2010 Rally Software Development Corp. All rights reserved. --> <html> <head> <title>Test Case Estimation</title> <meta name="Name" content="Mashup: Test Case Estimation"/> <meta name="Version" content="2.0"/> <meta name="Vendor" content="Rally Software"/> <link rel="stylesheet" type="text/css" href="/slm/css/rally/core.css" charset="utf-8"/> <link rel="stylesheet" type="text/css" href="/slm/css/slm.css" charset="utf-8"/> <style type="text/css"> body { font-family: tahoma, geneva, helvetica, arial, sans-serif; font-size: 11px; background: white; } .heading { font-weight: bold; border: 0px; } table { background: white; } th { font-family: tahoma, geneva, helvetica, arial, sans-serif; font-size: 11px; font-weight: bold; } td { font-family: tahoma, geneva, helvetica, arial, sans-serif; font-size: 10px; font-weight: normal; } .tchl { text-align: left; padding-left: 4px; } .tchc { text-align: center; padding-right: 4px; } .tchr { text-align: right; padding-right: 4px; } .tccl { text-align: left; padding-left: 4px; } .tccc { text-align: center; padding-right: 4px; } .tccr { text-align: right; padding-right: 12px; } a { font-family: tahoma, geneva, helvetica, arial, sans-serif; font-size: 10px; text-decoration: none; } a:link { font-family: tahoma, geneva, helvetica, arial, sans-serif; font-size: 10px; color: #366AB7; } a:visited { font-family: tahoma, geneva, helvetica, arial, sans-serif; font-size: 10px; color: #366AB7; } a img { cursor: pointer; } /* Color Squares for the Verdict table cell */ .pass-legend { width: 35px; background: #6AB17D none repeat scroll 0%; border: 1px solid #DDDDDD; color: white; cursor: default; float: left; height: 14px; line-height: 14px; margin-right: 1px; margin-left: 1px; text-align: center; font-weight: bold; } .pass-legend-fail { width: 35px; background: #F47168 none repeat scroll 0%; border: 1px solid #DDDDDD; color: black; cursor: default; float: left; height: 14px; line-height: 14px; margin-right: 1px; margin-left: 1px; text-align: center; font-weight: bold; } .none-legend { width: 35px; background: #FFFFFF none repeat scroll 0%; border: 1px solid #AAAAAA; color: black; cursor: default; float: left; height: 14px; line-height: 14px; margin-right: 1px; margin-left: 1px; text-align: center; font-weight: normal; } </style> <script src="/slm/js-lib/dojo/1.3.1/dojo/dojo.js"></script> <script src="/slm/js/slm.js"></script> <script src="/slm/mashup/1.18/js/batch-toolkit.js"></script> <script src="/slm/mashup/1.18/js/utilities.js"></script> <script src="/slm/js-lib/ejsc/2.0.1/EJSChart.js"></script> <script type="text/javascript"> function dontProceedNotification(targetDiv) { var noJoy = "<strong>You do not have the necessary custom fields defined for this mashup.<br>" + "<p>TestCaseEstimate, TestCaseToDo and TestCaseActual must be defined " + "as custom fields for the 'Test Case' artifact</strong></p>"; targetDiv.innerHTML = noJoy; } function hasNecessaryCustomFields(attributes, requiredCustomFields) { var status = false; var customFieldsDetected = 0; customFields = []; for (var ix = 0; ix < attributes.length; ix++) { attribute = attributes[ix]; if (attribute.Custom === true) { customFields.push(attribute); } } //console.log("Your custom fields:"); //console.log(customFields); var attr = null; for (var j = 0; j < requiredCustomFields.length; j++) { ncfName = requiredCustomFields[j]; //console.log("Looking to see if _" + ncfName + "_ exists as a custom field ..."); for (var k = 0; k < customFields.length; k++) { attr = customFields[k]; //console.log("_____ " + attr.ElementName + " " + attr.AttributeType); if (attr.ElementName === ncfName && attr.AttributeType === 'DECIMAL') { //console.log(" bingo!!"); customFieldsDetected++; } } } //console.log("found " + customFieldsDetected + " of the " + requiredCustomFields.length + " required custom fields"); if (customFieldsDetected === requiredCustomFields.length) { status = true; } return status; } function shortUrl(type) { if (type == "User Story") { return "ar"; } else if (type == "Defect") { return "df"; } else if (type == "Task") { return "tk"; } else if (type == "Test Case") { return "tc"; } else if (type == "Test Case Result") { return "tcr"; } return "error"; } function createUrl(type, ident) { var url = "__SERVER_URL__" + "/detail/" + shortUrl(type) + "/" + ident; return url; } function drawBox(verdict) { if (verdict === 'Pass') { verdict_class = 'pass-legend'; } else if (verdict === 'Fail') { verdict_class = 'pass-legend-fail'; } else { verdict_class = 'none-legend'; } return '<div class="' + verdict_class + '">' + verdict + '</div>'; } function makeChart(est, todo, act) { var chart_options = { show_legend: false, axis_left : {caption: "", size: 15}, axis_bottom: {caption: "", size: 10}, axis_right : {size: 20} }; var chart = new EJSC.Chart("TCE_Chart", chart_options); chart.setTitle(""); var dataSeries = [ ["Est", est], ["ToDo", todo], ["Actual", act] ]; var adh = new EJSC.ArrayDataHandler(dataSeries); chart.addSeries(new EJSC.BarSeries(adh, {intervalOffset: 0.5})); } var TABLE_START = '<table width="60%" style="margin-top: 15px; margin-left: 5px;">'; var TABLE_END = "</table>"; var HEADER_ROW = '<tr><th class="tchl">Test Case</th> <th>&nbsp;</th> <th class="tchr">Estimate</th> <th>&nbsp;</th> ' + '<th class="tchr">To Do</th> <th>&nbsp;</th> <th class="tchr">Actual</th> ' + '<th>&nbsp;</th> <th class="tchc">Verdict</th></tr>'; var TC_ROW = '<tr><td class="tccl">_TC_INFO_</td><td>&nbsp;</td> <td class="tccr">_TC_ESTIMATE_</td> <td>&nbsp;</td> ' + '<td class="tccr">_TC_TODO_</td> <td>&nbsp;</td> <td class="tccr">_TC_ACTUAL_</td> ' + '<td>&nbsp;</td> <td class="tccc">_VERDICT_</td> </tr>'; var TC_LINK = "<div class=\"heading\"><a href=\"_TARGET_URL_\" target=\"_top\">_ID_ _NAME_</a></div>"; var TOTALS_TABLE = '<table>' + ' <tr>' + ' <th>Test Case <br>Estimate Total</th> ' + ' <th>&nbsp;</th> ' + ' <th>Test Case <br>Estimate To Do</th> ' + ' <th>&nbsp;</th> ' + ' <th>Test Case <br>Actual</th>' + ' </tr>\n' + ' <tr>' + ' <td align="center">_TOT_EST_</td> ' + ' <td>&nbsp;</td> ' + ' <td align="center">_TOT_TODO_</td> ' + ' <td>&nbsp;</td> ' + ' <td align="center">_TOT_ACT_</td>' + ' </tr>' + '</table>'; function showTestCaseEstimateInfo(testcaseResults) { //console.log(" ... in showTestCaseEstimateInfo ..."); var totalTestCaseEstimates = 0; var totalTestCaseToDo = 0; var totalTestCaseActual = 0; var blurb = ""; var tableRows = []; var row = ""; var testCase = ""; var verdictBox = ""; for (var ix = 0; ix < testcaseResults.length; ix++) { testCase = testcaseResults[ix]; targetUrl = createUrl('Test Case', testCase.ObjectID); tcLink = TC_LINK.replace('_ID_', testCase.FormattedID).replace('_NAME_', testCase.Name); tcInfo = tcLink.replace('_TARGET_URL_', targetUrl); row = TC_ROW.replace('_TC_INFO_', tcInfo); // //blurb += "_IDENT_&nbsp;&nbsp;_NAME_<br>\n".replace('_IDENT_', testCase.FormattedID).replace('_NAME_', testCase.Name); //console.log(testCase.FormattedID + " " + testCase.Name + " Estimate: " + testCase.TestCaseEstimate); // est = testCase.TestCaseEstimate !== 'undefined' && testCase.TestCaseEstimate !== null ? testCase.TestCaseEstimate : ""; todo = testCase.TestCaseToDo !== 'undefined' && testCase.TestCaseToDo !== null ? testCase.TestCaseToDo : ""; act = testCase.TestCaseActual !== 'undefined' && testCase.TestCaseActual !== null ? testCase.TestCaseActual : ""; row = row.replace('_TC_ESTIMATE_', est).replace('_TC_TODO_', todo).replace('_TC_ACTUAL_', act); // get the verdict of the last run test result for this testCase // (which will be the first one since we ordered our query results in Date descending order) if (testCase.Results === 'undefined' || testCase.Results === null || testCase.Results.length < 1) { tcr = {Verdict: 'None'}; } else { tcr = testCase.Results[0]; } verdictBox = drawBox(tcr.Verdict); row = row.replace('_VERDICT_', verdictBox); tableRows.push(row); estNum = est !== "" ? est : 0; todoNum = todo !== "" ? todo : 0; actNum = act !== "" ? act : 0; totalTestCaseEstimates += estNum; totalTestCaseToDo += todoNum; totalTestCaseActual += actNum; } //console.log("There are " + tableRows.length + " rows in tableRows"); tcTable = TABLE_START + HEADER_ROW + tableRows.join("\n") + TABLE_END; totalsTable = TOTALS_TABLE.replace('_TOT_EST_', parseInt(totalTestCaseEstimates, 10)); totalsTable = totalsTable.replace('_TOT_TODO_', parseInt(totalTestCaseToDo, 10)); totalsTable = totalsTable.replace('_TOT_ACT_', parseInt(totalTestCaseActual, 10)); makeChart(totalTestCaseEstimates, totalTestCaseToDo, totalTestCaseActual); tce_table_div.innerHTML = "<br>" + tcTable; tce_totals_div.innerHTML = totalsTable; } function showResults(queryResults) { RALLY.Mashup.Utilities.hideWait("spinner", "TCE_Totals"); if (queryResults.errors.length > 0) { console.log("Errors detected for queries..."); console.log(queryResults.errors); return; } attributes = queryResults.tca[0].Attributes; //console.log("attribute results: "); //for (var ix=0; ix < attributes.length; ix++) //{ // attribute = attributes[ix]; // console.log("----> " + attribute.Name + " ElementName: " + attribute.ElementName + // " Type: " + attribute.AttributeType + " Custom: " + attribute.Custom); //} if (!hasNecessaryCustomFields(attributes, requiredCustomFields)) { dontProceedNotification(tce_totals_div); return; } testcaseResults = queryResults.testcase; showTestCaseEstimateInfo(testcaseResults); return; } function runMashupQueries() { RALLY.Mashup.Utilities.showWait("spinner", "TCE_Totals"); querySpec = []; querySpec[0] = { key : 'tca', type : 'TypeDefinition', fetch: 'Attributes,AttributeDefinition,Name,Custom,AttributeType', query: '(Name = "Test Case")' }; querySpec[1] = { key : "testcase", type : "testcase", fetch : 'FormattedID,Name,TestCaseEstimate,TestCaseToDo,TestCaseActual,Results,ObjectID,Date,Verdict', order : 'FormattedID,Date desc' }; batchToolkit.findAll(querySpec, showResults); } </script> <script type="text/javascript" charset="utf-8"> function testCaseEstimationMashup() { batchToolkit = new RALLY.Mashup.BatchToolkit('__WORKSPACE_OID__', '__PROJECT_OID__', '__PROJECT_SCOPING_UP__', '__PROJECT_SCOPING_DOWN__'); targetArtifact = "TestCase"; requiredCustomFields = ['TestCaseEstimate', 'TestCaseToDo', 'TestCaseActual']; tce_chart_div = document.getElementById("TCE_Chart"); tce_table_div = document.getElementById("TCE_Table"); tce_totals_div = document.getElementById("TCE_Totals"); runMashupQueries(); } dojo.addOnLoad(testCaseEstimationMashup); </script> </head> <body> <div> <table width="80%" style="padding-right:10px;"> <tr> <td align="left" style="padding-bottom: 5px;"> <H2>Test Case Estimation</H2> </td> <!-- float the Activity->Print Page button set on the right side of the page--> <td align="left" style="margin-top: 5px;"> <div style="width: 80px;"> <img id="do" onmouseover="RALLY.Mashup.Utilities.showcbButton();" onmouseout="hidecbMenu('buttons',event);" style="vertical-align: middle;" src="https://preview.rallydev.com/slm/images/menu_actions.gif"/> <div style="position:relative; top:5px" align="left"> <div id="buttons" class="do-menu" style="left: 0px;" onmouseover="document.body.style.cursor='pointer';" onmouseout="document.body.style.cursor='default';hidecbMenu('buttons',event);"> <a id="print" onclick="RALLY.Mashup.Utilities.printPage();">Print...</a> </div> </div> </div> </td> </tr> </table> </div> <!-- The spinner shows while the query is being executed, it is hidden after the query completes --> <div id="spinner"></div> <!-- The bar chart with Estimate, ToDo, Actual counts gets placed in here ... --> <div id="TCE_Chart" style="margin-left: 30px; width: 200px; height: 220px; border: 1px solid #B5D8EB; background-color: white;"></div> <!-- The generated table with TC ident,name, counts and verdict rows --> <div id="TCE_Table"></div> <p> <hr align="left" width="60%"> </p> <div id="TCE_Totals" style="margin-left: 80px;"></div> </body> </html>
pantallaMT v0.95/MT4j/doc/org/mt4j/util/modelImporter/package-tree.html
AdalbertoJoseToledoEscalona/catalogo_productos_old_version
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_20) on Thu Aug 12 23:36:34 CEST 2010 --> <TITLE> org.mt4j.util.modelImporter Class Hierarchy </TITLE> <META NAME="date" CONTENT="2010-08-12"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="org.mt4j.util.modelImporter Class Hierarchy"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../../org/mt4j/util/math/package-tree.html"><B>PREV</B></A>&nbsp; &nbsp;<A HREF="../../../../org/mt4j/util/modelImporter/file3ds/package-tree.html"><B>NEXT</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/mt4j/util/modelImporter/package-tree.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> Hierarchy For Package org.mt4j.util.modelImporter </H2> </CENTER> <DL> <DT><B>Package Hierarchies:</B><DD><A HREF="../../../../overview-tree.html">All Packages</A></DL> <HR> <H2> Class Hierarchy </H2> <UL> <LI TYPE="circle">java.lang.Object<UL> <LI TYPE="circle">org.mt4j.util.modelImporter.<A HREF="../../../../org/mt4j/util/modelImporter/ModelImporterFactory.html" title="class in org.mt4j.util.modelImporter"><B>ModelImporterFactory</B></A></UL> </UL> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../../org/mt4j/util/math/package-tree.html"><B>PREV</B></A>&nbsp; &nbsp;<A HREF="../../../../org/mt4j/util/modelImporter/file3ds/package-tree.html"><B>NEXT</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/mt4j/util/modelImporter/package-tree.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
earth_enterprise/docs/landing_page/previous_fusion_versions/4.4/fusion/html/client_api_release_notes.html
tst-ppenev/earthenterprise
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <link rel="stylesheet" type="text/css" href="css/dev_docs2.css" /> <link rel="stylesheet" type="text/css" href="local_extensions.css" /> <!--[if IE]> <link rel="stylesheet" type="text/css" href="iehacks.css" /> <![endif]--> <title>Google Earth Enterprise Client and Earth API Release Notes</title> </head> <body> <a name="top"></a> <!-- BEGIN HEADER --> <div id="header"> <div id="logo"> <img alt="Google Earth Enterprise" border=0 src="images/index.gif" /> </div> <h1 id="doc_title">Google Earth Enterprise Client and Earth Plug-in Release Notes</h1> </div> <!-- END HEADER --> <!-- BEGIN WRAPPER --> <div id="wrapper"> <!-- BEGIN LEFT NAV BAR --> <div id="sidenav"> <ul> <li><a href="../../index.html">4.4.1 Documentation</a></li> <div class="line"></div> <li><strong>Client and Plug-in Release Notes</strong></li> </ul> </div> <!-- ########## END SIDE NAVIGATION ########## --> <!-- ########## PAGE CONTENT ########## --> <div id="pagecontent"> <h1></h1> <p>Google offers a version of the Google Earth Enterprise Client (EC) 7.0.2 for Windows, Mac OS X, Android, and Linux operating systems. In addition, the <a href="#plugin">Google Earth Plug-in</a> is available for Windows and Mac OS X, in a number of <a href="http://code.google.com/apis/earth/faq.html#browsersupport">popular browsers</a>. <h2>Google Earth EC: Features by Platform</h2> <p>The Google Earth EC 7.02 is available for Windows, Mac OS X, Android, and Linux platforms. Not all features available in the Windows client are available in the Mac, Android, or Linux clients. The table below outlines these differences.</p> <table> <tr> <th>Feature</th> <th>Windows</th> <th>Mac OS X</th> <th>Android</th> <th>Linux</th> </tr> <tr> <td>Custom database support</td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> </tr> <tr> <td>GIS ingest</td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>Table tool</td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>Movie Maker</td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>GPS support</td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>Custom or network install</td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td>&nbsp;</td> <td>&nbsp;</td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> </tr> <tr> <td>Custom cache</td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>Historic imagery</td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>Built-in regionating tools</td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>KML tours</td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>HTTPS connection support</td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td><img class="displayed" src="images/checkmark-b16.png" /></td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </table> <p>The Android client supports top-level KML layers only.</p> <h2>Google Earth EC: New Features and Known Issues</h2> <p>Features in Google Earth EC are very similar to Google Earth features. For more information about new features and known issues, see <a href="http://support.google.com/earth/bin/answer.py?hl=en&amp;answer=40901">Google Earth Release Notes</a>.</p> <h2 id="plugin">Google Earth Plug-in</h2> <p> The Google Earth Plug-in and its JavaScript API let you embed Google Earth into web pages. More information is available from the <a href="http://code.google.com/apis/earth">Google Earth API site</a>.</p> <p>The plug-in is available for Windows and Mac OS X; it is not supported on Linux or on Android.</p> <h3>Google Earth Plug-in Installation</h3> <p>The Google Earth Plug-in can be downloaded by visiting any page on which the Earth API is in use (eg. <a href="http://code.google.com/apis/earth">http://code.google.com/apis/earth</a>). The user will be prompted to install the plug-in; the web page may need to be reloaded after installation for the plug-in to display. The plug-in will automatically update as new versions are available.</p> <p>Alternatively, a version of the plug-in with the auto-update feature disabled is available by contacting Enterprise support.</p> <p>Administrative rights are required to install the plug-in when using Internet Explorer on Windows.</p> <h3>Caching</h3> <p>The plug-in and Google Earth EC do not share cached imagery or terrain. The plug-in creates its own cache (named dbCache1.dat, dbCache2.dat, etc), using the EC's maximum cache size value, if available. If multiple instances of the plug-in are running, each successive instance will cap its cache size at the previous plug-in's cache size / 2. For example, if the first instance uses 2GB, the next instances will use 1GB, 0.5GB, and 0.25GB, respectively.</p> </div> <!-- ########## END PAGE CONTENT ########## --> </div><!-- end wrapper --> </body> </html>
libs/boost/libs/scope_exit/doc/html/reference.html
flingone/frameworks_base_cmds_remoted
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Reference</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="index.html" title="Chapter&#160;1.&#160;Boost.ScopeExit 1.1.0"> <link rel="up" href="index.html" title="Chapter&#160;1.&#160;Boost.ScopeExit 1.1.0"> <link rel="prev" href="scope_exit/no_variadic_macros.html" title="Annex: No Variadic Macros"> <link rel="next" href="BOOST_SCOPE_EXIT.html" title="Macro BOOST_SCOPE_EXIT"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> <td align="center"><a href="../../../../index.html">Home</a></td> <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="scope_exit/no_variadic_macros.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_SCOPE_EXIT.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section reference"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="reference"></a>Reference</h2></div></div></div> <div class="toc"><dl><dt><span class="section"><a href="reference.html#header.boost.scope_exit_hpp">Header &lt;boost/scope_exit.hpp&gt;</a></span></dt></dl></div> <div class="section header_boost_scope_exit_hpp"> <div class="titlepage"><div><div><h3 class="title"> <a name="header.boost.scope_exit_hpp"></a>Header &lt;<a href="../../../../boost/scope_exit.hpp" target="_top">boost/scope_exit.hpp</a>&gt;</h3></div></div></div> <p>Scope exits allow to execute arbitrary code when the enclosing scope exits. </p> <pre class="synopsis"> <a class="link" href="BOOST_SCOPE_EXIT.html" title="Macro BOOST_SCOPE_EXIT">BOOST_SCOPE_EXIT</a>(capture_list) <a class="link" href="BOOST_SCOPE_EXIT_TPL.html" title="Macro BOOST_SCOPE_EXIT_TPL">BOOST_SCOPE_EXIT_TPL</a>(capture_list) <a class="link" href="BOOST_SCOPE_EXIT_ID.html" title="Macro BOOST_SCOPE_EXIT_ID">BOOST_SCOPE_EXIT_ID</a>(id, capture_list) <a class="link" href="BOOST_SCOPE_EXIT_ID_TPL.html" title="Macro BOOST_SCOPE_EXIT_ID_TPL">BOOST_SCOPE_EXIT_ID_TPL</a>(id, capture_list) <a class="link" href="BOOST_SCOPE_EXIT_ALL.html" title="Macro BOOST_SCOPE_EXIT_ALL">BOOST_SCOPE_EXIT_ALL</a>(capture_list) <a class="link" href="BOOST_SCOPE_EXIT_ALL_ID.html" title="Macro BOOST_SCOPE_EXIT_ALL_ID">BOOST_SCOPE_EXIT_ALL_ID</a>(id, capture_list) <a class="link" href="BOOST_SCOPE_EXIT_END.html" title="Macro BOOST_SCOPE_EXIT_END">BOOST_SCOPE_EXIT_END</a> <a class="link" href="BOOST_SCOPE_EXIT_END_ID.html" title="Macro BOOST_SCOPE_EXIT_END_ID">BOOST_SCOPE_EXIT_END_ID</a>(id) <a class="link" href="BOOST_SCOPE_EXIT_CONFIG_USE_LAMBDAS.html" title="Macro BOOST_SCOPE_EXIT_CONFIG_USE_LAMBDAS">BOOST_SCOPE_EXIT_CONFIG_USE_LAMBDAS</a></pre> </div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2006-2012 Alexander Nasonov, Lorenzo Caminiti<p> Distributed under the Boost Software License, Version 1.0 (see accompanying file LICENSE_1_0.txt or a copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="scope_exit/no_variadic_macros.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_SCOPE_EXIT.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
webapi/tct-datacontrol-tizen-tests/datacontrol/SQLDataControlConsumer_update.html
xiaojunwu/crosswalk-test-suite
<!DOCTYPE html> <!-- Copyright (c) 2013 Samsung Electronics Co., Ltd. Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Authors: Andrzej Krolikowski <a.krolikowsk@samsung.com> --> <html> <head> <title>SQLDataControlConsumer_update</title> <meta charset="utf-8"/> <script type="text/javascript" src="support/unitcommon.js"></script> <script src="support/datacontrol_common.js"></script> </head> <body> <div id="log"></div> <script> //==== TEST: SQLDataControlConsumer_update //==== LABEL Check if SQLDataControlConsumer.update method works properly //==== SPEC Tizen Web API:TBD:Datacontrol:SQLDataControlConsumer:update M //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/datacontrol.html //==== ONLOAD_DELAY 30 //==== TEST_CRITERIA MR MAST MOA setup({timeout: 30000}); var t = async_test(document.title, {timeout: 30000}), globalDataControl, globalReqId = generateGlobalReqId(), currentDate = new Date().getTime().toString(), selectError, insertSuccess, insertError, selectSuccess, rowData, rowDataUpdate, updateSuccess, updateError, returnedValue = null, descriptionUpdated = currentDate + "_desc_update", keyUpdated = currentDate + "_update"; t.step(function () { rowData = { columns: ["WORD", "WORD_DESC"], values: ["'" + currentDate + "'", "'" + currentDate + "_desc'"] }; rowDataUpdate = { columns: ["WORD", "WORD_DESC"], values: ["'" + keyUpdated + "'", "'" + descriptionUpdated + "'"] }; selectSuccess = t.step_func(function (rows, reqId) { assert_equals(rows.length, 1, "Incorrect number of rows."); assert_array_equals(rows[0].columns, rowDataUpdate.columns, "Incorrect columns"); assert_array_equals(rows[0].values, [keyUpdated, descriptionUpdated], "Incorrect values"); t.done(); }); selectError = t.step_func(function (reqId, error) { assert_unreached("select() error callback: name:" + error.name + ", msg:" + error.message + " for reqId: " + reqId); }); updateSuccess = t.step_func(function (reqId) { assert_equals(returnedValue, undefined, "Incorrect returned value"); assert_equals(reqId, globalReqId, "Incorrect requestId."); globalReqId++; globalDataControl.select(globalReqId, rowDataUpdate.columns, rowDataUpdate.columns[0] + "=" + rowDataUpdate.values[0], selectSuccess, selectError); }); updateError = t.step_func(function (reqId, error) { assert_unreached("update() error callback: name:" + error.name + ", msg:" + error.message + " for reqId: " + reqId); }); insertSuccess = t.step_func(function (reqId, insertRowId) { globalReqId++; returnedValue = globalDataControl.update(globalReqId, rowDataUpdate, rowData.columns[0] + "=" + rowData.values[0], updateSuccess, updateError); }); insertError = t.step_func(function (reqId, error) { assert_unreached("insert() error callback: name:" + error.name + ", msg:" + error.message + " for reqId: " + reqId); }); globalDataControl = tizen.datacontrol.getDataControlConsumer(PROVIDER_ID, DATA_ID, TYPE_SQL); globalDataControl.insert(globalReqId, rowData, insertSuccess, insertError); }); </script> </body> </html>
third_party/blink/web_tests/media/video-controls-show-on-focus.html
scheib/chromium
<!DOCTYPE html> <title>Test visibiblity of controls when focusing video.</title> <script src="../resources/testharness.js"></script> <script src="../resources/testharnessreport.js"></script> <script src="media-controls.js"></script> <video controls autoplay></video> <script> async_test(function(t) { var video = document.querySelector("video"); video.onplaying = t.step_func(function() { runAfterHideMediaControlsTimerFired(t.step_func_done(function() { var controls = mediaControlsButton(video, "panel"); assert_true(controls.classList.contains("transparent")); video.focus(); assert_false(controls.classList.contains("transparent")); // We fade out when focus is lost, so the opacity is still 1 video.blur(); assert_false(controls.classList.contains("transparent")); }), video); }); video.src = "content/test.ogv"; }); </script>
webapi/tct-bluetooth-tizen-tests/bluetooth/BluetoothClassDeviceMinor_PHONE_SMARTPHONE_const.html
xiaojunwu/crosswalk-test-suite
<!DOCTYPE html> <!-- Copyright (c) 2013 Samsung Electronics Co., Ltd. Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Authors: Lukasz Bardeli <l.bardeli@samsung.com> --> <html> <head> <title>BluetoothClassDeviceMinor_PHONE_SMARTPHONE_const</title> <meta charset="utf-8"> <script src="support/unitcommon.js"></script> <script src="support/bluetooth_common.js"></script> </head> <body> <div id="log"></div> <script> //==== TEST: BluetoothClassDeviceMinor_PHONE_SMARTPHONE_const //==== LABEL Check various identifiers of BluetoothClassDeviceMinor_PHONE_SMARTPHONE //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothClassDeviceMinor:PHONE_SMARTPHONE A //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html //==== TEST_CRITERIA CONSTE CONSTT CONSTV CONSTRO test(function () { check_const(tizen.bluetooth.deviceMinor, "PHONE_SMARTPHONE", 0x03, "number", 0x7B); }, document.title); </script> </body> </html>
third_party/blink/web_tests/fast/scrolling/non-composited-scroller-in-scrolled-absolute-scroller.html
scheib/chromium
<!DOCTYPE html> <script src='../../resources/testharness.js'></script> <script src='../../resources/testharnessreport.js'></script> <script src='../../resources/gesture-util.js'></script> <style> body, html { margin: 0; } #abs { position: absolute; width: 80%; height: 80%; top: 10%; left: 10%; padding: 20px; box-sizing: border-box; background-color: PaleTurquoise; overflow-y: scroll; } #instructions { width: 100%; height: 100px; text-align: center; } #scroller { position: absolute; top: 300px; border: 5px solid salmon; clip: rect(0px, 1000px, 500px, 0px); width: 90%; height: 100px; overflow-y: scroll; } .spacer { height: 400%; background:repeating-linear-gradient(#FFF 0%, #FFF 10%, #000 10%, #000 20%); } </style> <div id="abs"> <div id="instructions"> <p> This turquoise box is a position: absolute scroller. The black-and-white scroller below has a clip region so should be non-composited. </p> <p> Scroll the turquoise box so the black-and-white scroller appears near its top edge. Now attempt to scroll over the black-and-white scroller with wheel or touch. If the box scrolls, the test passes. This turquoise scroller must not scroll. </p> </div> <div id="scroller"> <div class="spacer"></div> </div> <div style="height:1000px"></div> </div> <script> window.onload = async () => { await waitForCompositorCommit(); const scroller = document.getElementById('scroller'); const abs = document.getElementById('abs'); promise_test(async () => { assert_equals(scroller.scrollTop, 0, "Scroller must start off unscrolled."); assert_equals(abs.scrollTop, 0, "Absolute box must start off unscrolled."); // Scroll the abs so that the scroller box doesn't overlap at all with // where it used to be. { const delta = scroller.clientHeight * 2; const location = elementCenter(abs); await smoothScroll(delta, location.x, location.y, GestureSourceType.TOUCH_INPUT, 'down', SPEED_INSTANT); assert_greater_than(abs.scrollTop, scroller.clientHeight, "Absolute box must be scrolled."); assert_equals(scroller.scrollTop, 0, "Scroller must remain unscrolled."); } // Now attempt to scroll over the scroller box. Ensure it scrolls, rather // than the abs box. { const delta = 100; const location = elementCenter(scroller); await smoothScroll(delta, location.x, location.y, GestureSourceType.TOUCH_INPUT, 'down', SPEED_INSTANT); assert_greater_than(scroller.scrollTop, 0, "Scroller must be scrolled by events over it."); } }, 'Scrolling over an uncomposited scrolling inside a scrolled, absolute,' + ' composited scroller.'); } </script>
owncloud-serv/apps/bookmarks/3rdparty/css/jquery.tagit.css
ACOKing/ArcherSys
ul.tagit { padding: 1px 5px; overflow: auto; margin-left: inherit; /* usually we don't want the regular ul margins. */ margin-right: inherit; } ul.tagit li { display: block; float: left; margin: 2px 5px 2px 0; } ul.tagit li.tagit-choice { padding: .2em 18px .2em .5em; position: relative; line-height: inherit; } ul.tagit li.tagit-new { padding: .25em 4px .25em 0; } ul.tagit li.tagit-choice a.tagit-label { cursor: pointer; text-decoration: none; } ul.tagit li.tagit-choice .close { cursor: pointer; position: absolute; right: .1em; top: 50%; margin-top: -8px; } /* used for some custom themes that don't need image icons */ ul.tagit li.tagit-choice .close .text-icon { display: none; } ul.tagit li.tagit-choice input { display: block; float: left; margin: 2px 5px 2px 0; } ul.tagit input[type="text"] { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; border: none; margin: 0; padding: 0; width: inherit; background-color: inherit; outline: none; } /***** ZENDESK ***/ /* Optional scoped theme for tag-it which mimics the zendesk widget. */ ul.tagit { border-style: solid; border-width: 1px; border-color: #C6C6C6; background: inherit; } ul.tagit li.tagit-choice { -moz-border-radius: 6px; border-radius: 6px; -webkit-border-radius: 6px; border: 1px solid #CAD8F3; background: none; background-color: #DEE7F8; color: #555; font-weight: normal; } ul.tagit li.tagit-choice a.close { text-decoration: none; } ul.tagit li.tagit-choice .close { right: .4em; } ul.tagit li.tagit-choice .ui-icon { display: none; } ul.tagit li.tagit-choice .close .text-icon { display: inline; font-family: arial, sans-serif; font-size: 16px; line-height: 16px; color: #777; } ul.tagit li.tagit-choice:hover, ul.tagit li.tagit-choice.remove { background-color: #bbcef1; border-color: #6d95e0; } ul.tagit li.tagit-choice a.tagLabel:hover, ul.tagit li.tagit-choice a.close .text-icon:hover { color: #222; } ul.tagit input[type="text"] { color: #333333; background: none; }
uohCorpus.fil/uoh/uoh.filteredcorpus.txt_output/Aakhyanvallari_ext.txt.out.dict_1850_sam.html
sanskritiitd/sanskrit
url: http://sanskrit.uohyd.ac.in/cgi-bin/scl/sandhi_splitter/sandhi_splitter.cgi?encoding=Unicode&sandhi_type=s&word=कथमिदम्<div id='finalout' style='border-style:solid; border-width:1px;padding:10px;color:blue;font-size:14px;height:200px'>कथमिदम् = <a title = "कथम् अव्य">कथम्</a>+<a title = "इदम् नपुं 1 एक/इदम् नपुं 2 एक">इदम्</a>/<script type="text/javascript"> function toggleMe(a){ var e=document.getElementById(a); if(!e)return true; if(e.style.display=="none"){ e.style.display="block";document.getElementById("more").style.display="none"; document.getElementById("less").style.display="block"; } else{ e.style.display="none";document.getElementById("less").style.display="none"; document.getElementById("more").style.display="block"; } return true; } </script> <input type="button" onclick="return toggleMe('para1')" value="More" id="more"> <input type="button" onclick="return toggleMe('para1')" value="Less" id="less" style="display:none;" > <div id="para1" style="display:none; height:15px; border-style:none;border-width:1px;"> <a title = "कथम् अव्य">कथम्</a>+<a title = "इदम् नपुं 1 एक/इदम् नपुं 2 एक">इदम्</a>/<a title = "क पुं 8 एक/क नपुं 8 एक">क</a>+<a title = "थ पुं 2 एक/थ नपुं 1 एक/थ नपुं 2 एक">थम्</a>+<a title = "इदम् नपुं 1 एक/इदम् नपुं 2 एक">इदम्</a>/<a title = "क पुं 8 एक/क नपुं 8 एक">क</a>+<a title = "थ पुं 8 एक/थ नपुं 8 एक">थ</a>+<a title = "मित् स्त्री 1 एक">मित्</a>+<a title = "अम् अव्य/अ पुं 2 एक">अम्</a>/</div><br />
tests/wpt/web-platform-tests/cssom-view/scrollingElement.html
rohlandm/servo
<!DOCTYPE html> <meta charset=utf-8> <title>cssom-view - scrollingElement</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <iframe id="quirksframe"></iframe> <iframe id="nonquirksframe"></iframe> <div id="log"></div> <script> var quirksFrame; var nonQuirksFrame; function loadTestFrames(callback) { quirksFrame = document.getElementById("quirksframe"); quirksFrame.onload = function() { nonQuirksFrame = document.getElementById("nonquirksframe"); nonQuirksFrame.onload = callback; nonQuirksFrame.src = URL.createObjectURL(new Blob(["<!doctype html>"], { type: "text/html" })); } quirksFrame.src = URL.createObjectURL(new Blob([""], { type: "text/html" })); } var test = async_test("Tests for scrollingElement"); loadTestFrames(function() { test.step(function() { var quirksDoc = quirksFrame.contentDocument; var nonQuirksDoc = nonQuirksFrame.contentDocument; // Initial checks that we have the expected kinds of documents. assert_equals(quirksDoc.compatMode, "BackCompat", "Should be in quirks mode."); assert_equals(nonQuirksDoc.compatMode, "CSS1Compat", "Should be in standards mode."); assert_not_equals(quirksDoc.body, null, "Should have a body element"); assert_not_equals(nonQuirksDoc.body, null, "Should have a body element"); // Tests for quirks mode document. assert_equals(quirksDoc.scrollingElement, quirksDoc.body, "scrollingElement in quirks mode should default to body element."); quirksDoc.documentElement.style.overflow = "scroll"; quirksDoc.body.style.overflow = "scroll"; assert_equals(quirksDoc.scrollingElement, null, "scrollingElement in quirks mode should be null if overflow of body and root element isn't visible."); quirksDoc.documentElement.style.overflow = "visible"; assert_equals(quirksDoc.scrollingElement, quirksDoc.body); quirksDoc.documentElement.style.overflow = "scroll"; quirksDoc.body.style.overflow = "visible"; assert_equals(quirksDoc.scrollingElement, quirksDoc.body); quirksDoc.documentElement.style.overflow = "visible"; assert_equals(quirksDoc.scrollingElement, quirksDoc.body); quirksDoc.body.style.display = "none"; assert_equals(quirksDoc.scrollingElement, quirksDoc.body) quirksDoc.body.style.display = "block"; assert_equals(quirksDoc.scrollingElement, quirksDoc.body); quirksDoc.documentElement.appendChild(quirksDoc.createElement("body")); assert_equals(quirksDoc.scrollingElement, quirksDoc.body); assert_equals(quirksDoc.scrollingElement, quirksDoc.getElementsByTagName("body")[0]); quirksDoc.documentElement.removeChild(quirksDoc.documentElement.lastChild); assert_equals(quirksDoc.scrollingElement, quirksDoc.body); quirksDoc.documentElement.removeChild(quirksDoc.body); assert_equals(quirksDoc.scrollingElement, null); quirksDoc.documentElement.appendChild(quirksDoc.createElementNS("foobarNS", "body")); assert_equals(quirksDoc.scrollingElement, null); quirksDoc.removeChild(quirksDoc.documentElement); assert_equals(quirksDoc.scrollingElement, null); quirksDoc.appendChild(quirksDoc.createElementNS("foobarNS", "html")); quirksDoc.documentElement.appendChild(quirksDoc.createElement("body")); assert_equals(quirksDoc.scrollingElement, null); quirksDoc.removeChild(quirksDoc.documentElement); quirksDoc.appendChild(quirksDoc.createElement("body")); assert_equals(quirksDoc.scrollingElement, null); // Tests for standards mode document. assert_equals(nonQuirksDoc.scrollingElement, nonQuirksDoc.documentElement, "scrollingElement in standards mode should be the document element."); nonQuirksDoc.documentElement.style.overflow = "scroll"; nonQuirksDoc.body.style.overflow = "scroll"; assert_equals(nonQuirksDoc.scrollingElement, nonQuirksDoc.documentElement); nonQuirksDoc.removeChild(nonQuirksDoc.documentElement); assert_equals(nonQuirksDoc.scrollingElement, null); nonQuirksDoc.appendChild(nonQuirksDoc.createElement("foobar")); assert_equals(nonQuirksDoc.scrollingElement.localName, "foobar"); }); test.done(); }); </script>
source/api/apidocs-4.5/domain_admin/listDomains.html
terbolous/cloudstack-www
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"> <title>Apache CloudStack | The Power Behind Your Cloud</title> </head> <body> <div id="insidetopbg"> <div id="inside_wrapper"> <div class="uppermenu_panel"> <div class="uppermenu_box"></div> </div> <div id="main_master"> <div id="inside_header"> <div class="header_top"> <a class="cloud_logo" href="http://cloudstack.org"></a> <div class="mainemenu_panel"></div> </div> </div> <div id="main_content"> <div class="inside_apileftpanel"> <div class="inside_contentpanel" style="width:930px;"> <div class="api_titlebox"> <div class="api_titlebox_left"> <span> Apache CloudStack v4.5.0 Domain Admin API Reference </span> <p></p> <h1>listDomains</h1> <p>Lists domains and provides detailed information for listed domains</p> </div> <div class="api_titlebox_right"> <a class="api_backbutton" href="../TOC_Domain_Admin.html"></a> </div> </div> <div class="api_tablepanel"> <h2>Request parameters</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Parameter Name</strong></td><td style="width:500px;">Description</td><td style="width:180px;">Required</td> </tr> <tr> <td style="width:200px;"><i>id</i></td><td style="width:500px;"><i>List domain by domain ID.</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>keyword</i></td><td style="width:500px;"><i>List by keyword</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>level</i></td><td style="width:500px;"><i>List domains by domain level.</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>listall</i></td><td style="width:500px;"><i>If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>name</i></td><td style="width:500px;"><i>List domain by domain name.</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>page</i></td><td style="width:500px;"><i></i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>pagesize</i></td><td style="width:500px;"><i></i></td><td style="width:180px;"><i>false</i></td> </tr> </table> </div> <div class="api_tablepanel"> <h2>Response Tags</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Response Name</strong></td><td style="width:500px;">Description</td> </tr> <tr> <td style="width:200px;"><strong>id</strong></td><td style="width:500px;">the ID of the domain</td> </tr> <tr> <td style="width:200px;"><strong>haschild</strong></td><td style="width:500px;">whether the domain has one or more sub-domains</td> </tr> <tr> <td style="width:200px;"><strong>level</strong></td><td style="width:500px;">the level of the domain</td> </tr> <tr> <td style="width:200px;"><strong>name</strong></td><td style="width:500px;">the name of the domain</td> </tr> <tr> <td style="width:200px;"><strong>networkdomain</strong></td><td style="width:500px;">the network domain</td> </tr> <tr> <td style="width:200px;"><strong>parentdomainid</strong></td><td style="width:500px;">the domain ID of the parent domain</td> </tr> <tr> <td style="width:200px;"><strong>parentdomainname</strong></td><td style="width:500px;">the domain name of the parent domain</td> </tr> <tr> <td style="width:200px;"><strong>path</strong></td><td style="width:500px;">the path of the domain</td> </tr> </table> </div> </div> </div> </div> </div> <div id="footer"> <div id="footer_mainmaster"> <p>Copyright &copy; 2015 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0.</a> <br> Apache, CloudStack, Apache CloudStack, the Apache CloudStack logo, the CloudMonkey logo and the Apache feather logo are trademarks of The Apache Software Foundation.</p> </div> </div> </div> </div> </body> </html>
target/classes/ch/goodsolutions/demo/poll/_content/update.html
RLDevOps/Demo
When the count reaches 20, a button appears which can be clicked:<br> counter: $msg
source/api/apidocs-4.5/domain_admin/restartVPC.html
resmo/cloudstack-www
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"> <title>Apache CloudStack | The Power Behind Your Cloud</title> </head> <body> <div id="insidetopbg"> <div id="inside_wrapper"> <div class="uppermenu_panel"> <div class="uppermenu_box"></div> </div> <div id="main_master"> <div id="inside_header"> <div class="header_top"> <a class="cloud_logo" href="http://cloudstack.org"></a> <div class="mainemenu_panel"></div> </div> </div> <div id="main_content"> <div class="inside_apileftpanel"> <div class="inside_contentpanel" style="width:930px;"> <div class="api_titlebox"> <div class="api_titlebox_left"> <span> Apache CloudStack v4.5.0 Domain Admin API Reference </span> <p></p> <h1>restartVPC</h1> <p>Restarts a VPC</p> </div> <div class="api_titlebox_right"> <a class="api_backbutton" href="../TOC_Domain_Admin.html"></a> </div> </div> <div class="api_tablepanel"> <h2>Request parameters</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Parameter Name</strong></td><td style="width:500px;">Description</td><td style="width:180px;">Required</td> </tr> <tr> <td style="width:200px;"><strong>id</strong></td><td style="width:500px;"><strong>the id of the VPC</strong></td><td style="width:180px;"><strong>true</strong></td> </tr> </table> </div> <div class="api_tablepanel"> <h2>Response Tags</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Response Name</strong></td><td style="width:500px;">Description</td> </tr> <tr> <td style="width:200px;"><strong>id</strong></td><td style="width:500px;">the id of the VPC</td> </tr> <tr> <td style="width:200px;"><strong>account</strong></td><td style="width:500px;">the owner of the VPC</td> </tr> <tr> <td style="width:200px;"><strong>cidr</strong></td><td style="width:500px;">the cidr the VPC</td> </tr> <tr> <td style="width:200px;"><strong>created</strong></td><td style="width:500px;">the date this VPC was created</td> </tr> <tr> <td style="width:200px;"><strong>displaytext</strong></td><td style="width:500px;">an alternate display text of the VPC.</td> </tr> <tr> <td style="width:200px;"><strong>distributedvpcrouter</strong></td><td style="width:500px;">is VPC uses distributed router for one hop forwarding and host based network ACL's</td> </tr> <tr> <td style="width:200px;"><strong>domain</strong></td><td style="width:500px;">the domain name of the owner</td> </tr> <tr> <td style="width:200px;"><strong>domainid</strong></td><td style="width:500px;">the domain id of the VPC owner</td> </tr> <tr> <td style="width:200px;"><strong>fordisplay</strong></td><td style="width:500px;">is vpc for display to the regular user</td> </tr> <tr> <td style="width:200px;"><strong>name</strong></td><td style="width:500px;">the name of the VPC</td> </tr> <tr> <td style="width:200px;"><strong>networkdomain</strong></td><td style="width:500px;">the network domain of the VPC</td> </tr> <tr> <td style="width:200px;"><strong>project</strong></td><td style="width:500px;">the project name of the VPC</td> </tr> <tr> <td style="width:200px;"><strong>projectid</strong></td><td style="width:500px;">the project id of the VPC</td> </tr> <tr> <td style="width:200px;"><strong>regionlevelvpc</strong></td><td style="width:500px;">true if VPC is region level</td> </tr> <tr> <td style="width:200px;"><strong>restartrequired</strong></td><td style="width:500px;">true VPC requires restart</td> </tr> <tr> <td style="width:200px;"><strong>state</strong></td><td style="width:500px;">state of the VPC. Can be Inactive/Enabled</td> </tr> <tr> <td style="width:200px;"><strong>vpcofferingid</strong></td><td style="width:500px;">vpc offering id the VPC is created from</td> </tr> <tr> <td style="width:200px;"><strong>zoneid</strong></td><td style="width:500px;">zone id of the vpc</td> </tr> <tr> <td style="width:200px;"><strong>zonename</strong></td><td style="width:500px;">the name of the zone the VPC belongs to</td> </tr> <tr> <td style="width:200px;"><strong>network(*)</strong></td><td style="width:500px;">the list of networks belongign to the VPC</td> <tr> <td style="width:180px; padding-left:25px;"><strong>id</strong></td><td style="width:500px;">the id of the network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>account</strong></td><td style="width:500px;">the owner of the network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>aclid</strong></td><td style="width:500px;">ACL Id associated with the VPC network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>acltype</strong></td><td style="width:500px;">acl type - access type to the network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>broadcastdomaintype</strong></td><td style="width:500px;">Broadcast domain type of the network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>broadcasturi</strong></td><td style="width:500px;">broadcast uri of the network. This parameter is visible to ROOT admins only</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>canusefordeploy</strong></td><td style="width:500px;">list networks available for vm deployment</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>cidr</strong></td><td style="width:500px;">Cloudstack managed address space, all CloudStack managed VMs get IP address from CIDR</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>displaynetwork</strong></td><td style="width:500px;">an optional field, whether to the display the network to the end user or not.</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>displaytext</strong></td><td style="width:500px;">the displaytext of the network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>dns1</strong></td><td style="width:500px;">the first DNS for the network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>dns2</strong></td><td style="width:500px;">the second DNS for the network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>domain</strong></td><td style="width:500px;">the domain name of the network owner</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>domainid</strong></td><td style="width:500px;">the domain id of the network owner</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>gateway</strong></td><td style="width:500px;">the network's gateway</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>ip6cidr</strong></td><td style="width:500px;">the cidr of IPv6 network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>ip6gateway</strong></td><td style="width:500px;">the gateway of IPv6 network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>isdefault</strong></td><td style="width:500px;">true if network is default, false otherwise</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>ispersistent</strong></td><td style="width:500px;">list networks that are persistent</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>issystem</strong></td><td style="width:500px;">true if network is system, false otherwise</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>name</strong></td><td style="width:500px;">the name of the network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>netmask</strong></td><td style="width:500px;">the network's netmask</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>networkcidr</strong></td><td style="width:500px;">the network CIDR of the guest network configured with IP reservation. It is the summation of CIDR and RESERVED_IP_RANGE</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>networkdomain</strong></td><td style="width:500px;">the network domain</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>networkofferingavailability</strong></td><td style="width:500px;">availability of the network offering the network is created from</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>networkofferingconservemode</strong></td><td style="width:500px;">true if network offering is ip conserve mode enabled</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>networkofferingdisplaytext</strong></td><td style="width:500px;">display text of the network offering the network is created from</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>networkofferingid</strong></td><td style="width:500px;">network offering id the network is created from</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>networkofferingname</strong></td><td style="width:500px;">name of the network offering the network is created from</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>physicalnetworkid</strong></td><td style="width:500px;">the physical network id</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>project</strong></td><td style="width:500px;">the project name of the address</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>projectid</strong></td><td style="width:500px;">the project id of the ipaddress</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>related</strong></td><td style="width:500px;">related to what other network configuration</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>reservediprange</strong></td><td style="width:500px;">the network's IP range not to be used by CloudStack guest VMs and can be used for non CloudStack purposes</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>restartrequired</strong></td><td style="width:500px;">true network requires restart</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>specifyipranges</strong></td><td style="width:500px;">true if network supports specifying ip ranges, false otherwise</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>state</strong></td><td style="width:500px;">state of the network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>strechedl2subnet</strong></td><td style="width:500px;">true if network can span multiple zones</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>subdomainaccess</strong></td><td style="width:500px;">true if users from subdomains can access the domain level network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>traffictype</strong></td><td style="width:500px;">the traffic type of the network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>type</strong></td><td style="width:500px;">the type of the network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>vlan</strong></td><td style="width:500px;">The vlan of the network. This parameter is visible to ROOT admins only</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>vpcid</strong></td><td style="width:500px;">VPC the network belongs to</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>zoneid</strong></td><td style="width:500px;">zone id of the network</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>zonename</strong></td><td style="width:500px;">the name of the zone the network belongs to</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>zonesnetworkspans</strong></td><td style="width:500px;">If a network is enabled for 'streched l2 subnet' then represents zones on which network currently spans</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>service(*)</strong></td><td style="width:500px;">the list of services</td> </tr> <tr> <td style="width:165px; padding-left:40px;">name</td><td style="width:500px;">the service name</td> </tr> <tr> <td style="width:165px; padding-left:40px;">capability(*)</td><td style="width:500px;">the list of capabilities</td> </tr> <tr> <td style="width:165px; padding-left:40px;">provider(*)</td><td style="width:500px;">the service provider name</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>tags(*)</strong></td><td style="width:500px;">the list of resource tags associated with network</td> </tr> <tr> <td style="width:165px; padding-left:40px;">account</td><td style="width:500px;">the account associated with the tag</td> </tr> <tr> <td style="width:165px; padding-left:40px;">customer</td><td style="width:500px;">customer associated with the tag</td> </tr> <tr> <td style="width:165px; padding-left:40px;">domain</td><td style="width:500px;">the domain associated with the tag</td> </tr> <tr> <td style="width:165px; padding-left:40px;">domainid</td><td style="width:500px;">the ID of the domain associated with the tag</td> </tr> <tr> <td style="width:165px; padding-left:40px;">key</td><td style="width:500px;">tag key name</td> </tr> <tr> <td style="width:165px; padding-left:40px;">project</td><td style="width:500px;">the project name where tag belongs to</td> </tr> <tr> <td style="width:165px; padding-left:40px;">projectid</td><td style="width:500px;">the project id the tag belongs to</td> </tr> <tr> <td style="width:165px; padding-left:40px;">resourceid</td><td style="width:500px;">id of the resource</td> </tr> <tr> <td style="width:165px; padding-left:40px;">resourcetype</td><td style="width:500px;">resource type</td> </tr> <tr> <td style="width:165px; padding-left:40px;">value</td><td style="width:500px;">tag value</td> </tr> </tr> <tr> <td style="width:200px;"><strong>service(*)</strong></td><td style="width:500px;">the list of supported services</td> <tr> <td style="width:180px; padding-left:25px;"><strong>name</strong></td><td style="width:500px;">the service name</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>capability(*)</strong></td><td style="width:500px;">the list of capabilities</td> </tr> <tr> <td style="width:165px; padding-left:40px;">canchooseservicecapability</td><td style="width:500px;">can this service capability value can be choosable while creatine network offerings</td> </tr> <tr> <td style="width:165px; padding-left:40px;">name</td><td style="width:500px;">the capability name</td> </tr> <tr> <td style="width:165px; padding-left:40px;">value</td><td style="width:500px;">the capability value</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>provider(*)</strong></td><td style="width:500px;">the service provider name</td> </tr> <tr> <td style="width:165px; padding-left:40px;">id</td><td style="width:500px;">uuid of the network provider</td> </tr> <tr> <td style="width:165px; padding-left:40px;">canenableindividualservice</td><td style="width:500px;">true if individual services can be enabled/disabled</td> </tr> <tr> <td style="width:165px; padding-left:40px;">destinationphysicalnetworkid</td><td style="width:500px;">the destination physical network</td> </tr> <tr> <td style="width:165px; padding-left:40px;">name</td><td style="width:500px;">the provider name</td> </tr> <tr> <td style="width:165px; padding-left:40px;">physicalnetworkid</td><td style="width:500px;">the physical network this belongs to</td> </tr> <tr> <td style="width:165px; padding-left:40px;">servicelist</td><td style="width:500px;">services for this provider</td> </tr> <tr> <td style="width:165px; padding-left:40px;">state</td><td style="width:500px;">state of the network provider</td> </tr> </tr> <tr> <td style="width:200px;"><strong>tags(*)</strong></td><td style="width:500px;">the list of resource tags associated with the project</td> <tr> <td style="width:180px; padding-left:25px;"><strong>account</strong></td><td style="width:500px;">the account associated with the tag</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>customer</strong></td><td style="width:500px;">customer associated with the tag</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>domain</strong></td><td style="width:500px;">the domain associated with the tag</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>domainid</strong></td><td style="width:500px;">the ID of the domain associated with the tag</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>key</strong></td><td style="width:500px;">tag key name</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>project</strong></td><td style="width:500px;">the project name where tag belongs to</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>projectid</strong></td><td style="width:500px;">the project id the tag belongs to</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>resourceid</strong></td><td style="width:500px;">id of the resource</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>resourcetype</strong></td><td style="width:500px;">resource type</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>value</strong></td><td style="width:500px;">tag value</td> </tr> </tr> </table> </div> </div> </div> </div> </div> <div id="footer"> <div id="footer_mainmaster"> <p>Copyright &copy; 2015 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0.</a> <br> Apache, CloudStack, Apache CloudStack, the Apache CloudStack logo, the CloudMonkey logo and the Apache feather logo are trademarks of The Apache Software Foundation.</p> </div> </div> </div> </div> </body> </html>
themes/admin/tisa/assets/lib/DataTables/extensions/ColVis/examples/restore.html
akaidrive2014/toystore
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico"> <title>ColVis example - Restore / show all</title> <link rel="stylesheet" type="text/css" href="../../../media/css/jquery.dataTables.css"> <link rel="stylesheet" type="text/css" href="../css/dataTables.colVis.css"> <link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css"> <link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css"> <style type="text/css" class="init"> </style> <script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script> <script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script> <script type="text/javascript" language="javascript" src="../js/dataTables.colVis.js"></script> <script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script> <script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script> <script type="text/javascript" language="javascript" class="init"> $(document).ready(function() { $('#example').DataTable( { dom: 'C<"clear">lfrtip', columnDefs: [ { visible: false, targets: 2 } ], colVis: { restore: "Restore", showAll: "Show all" } } ); } ); </script> </head> <body class="dt-example"> <div class="container"> <section> <h1>ColVis example <span>- Restore / show all</span></h1> <div class="info"> <p>This demo of ColVis shows its ability to add "Restore" and "Show all" buttons to the list of column visibility options. This is done with the <code>restore</code> and <code>showAll</code> options which can be enabled individually if needed.</p> <p>For full information about the ColVis options, please refer to the <a href= "//datatables.net/extensions/colvis/options">ColVis options documentation</a>.</p> </div> <table id="example" class="display" cellspacing="0" width="100%"> <thead> <tr> <th>Name</th> <th>Position</th> <th>Office</th> <th>Age</th> <th>Start date</th> <th>Salary</th> </tr> </thead> <tfoot> <tr> <th>Name</th> <th>Position</th> <th>Office</th> <th>Age</th> <th>Start date</th> <th>Salary</th> </tr> </tfoot> <tbody> <tr> <td>Tiger Nixon</td> <td>System Architect</td> <td>Edinburgh</td> <td>61</td> <td>2011/04/25</td> <td>$3,120</td> </tr> <tr> <td>Garrett Winters</td> <td>Director</td> <td>Edinburgh</td> <td>63</td> <td>2011/07/25</td> <td>$5,300</td> </tr> <tr> <td>Ashton Cox</td> <td>Technical Author</td> <td>San Francisco</td> <td>66</td> <td>2009/01/12</td> <td>$4,800</td> </tr> <tr> <td>Cedric Kelly</td> <td>Javascript Developer</td> <td>Edinburgh</td> <td>22</td> <td>2012/03/29</td> <td>$3,600</td> </tr> <tr> <td>Jenna Elliott</td> <td>Financial Controller</td> <td>Edinburgh</td> <td>33</td> <td>2008/11/28</td> <td>$5,300</td> </tr> <tr> <td>Brielle Williamson</td> <td>Integration Specialist</td> <td>New York</td> <td>61</td> <td>2012/12/02</td> <td>$4,525</td> </tr> <tr> <td>Herrod Chandler</td> <td>Sales Assistant</td> <td>San Francisco</td> <td>59</td> <td>2012/08/06</td> <td>$4,080</td> </tr> <tr> <td>Rhona Davidson</td> <td>Integration Specialist</td> <td>Edinburgh</td> <td>55</td> <td>2010/10/14</td> <td>$6,730</td> </tr> <tr> <td>Colleen Hurst</td> <td>Javascript Developer</td> <td>San Francisco</td> <td>39</td> <td>2009/09/15</td> <td>$5,000</td> </tr> <tr> <td>Sonya Frost</td> <td>Software Engineer</td> <td>Edinburgh</td> <td>23</td> <td>2008/12/13</td> <td>$3,600</td> </tr> <tr> <td>Jena Gaines</td> <td>System Architect</td> <td>London</td> <td>30</td> <td>2008/12/19</td> <td>$5,000</td> </tr> <tr> <td>Quinn Flynn</td> <td>Financial Controller</td> <td>Edinburgh</td> <td>22</td> <td>2013/03/03</td> <td>$4,200</td> </tr> <tr> <td>Charde Marshall</td> <td>Regional Director</td> <td>San Francisco</td> <td>36</td> <td>2008/10/16</td> <td>$5,300</td> </tr> <tr> <td>Haley Kennedy</td> <td>Senior Marketing Designer</td> <td>London</td> <td>43</td> <td>2012/12/18</td> <td>$4,800</td> </tr> <tr> <td>Tatyana Fitzpatrick</td> <td>Regional Director</td> <td>London</td> <td>19</td> <td>2010/03/17</td> <td>$2,875</td> </tr> <tr> <td>Michael Silva</td> <td>Senior Marketing Designer</td> <td>London</td> <td>66</td> <td>2012/11/27</td> <td>$3,750</td> </tr> <tr> <td>Paul Byrd</td> <td>Javascript Developer</td> <td>New York</td> <td>64</td> <td>2010/06/09</td> <td>$5,000</td> </tr> <tr> <td>Gloria Little</td> <td>Systems Administrator</td> <td>New York</td> <td>59</td> <td>2009/04/10</td> <td>$3,120</td> </tr> <tr> <td>Bradley Greer</td> <td>Software Engineer</td> <td>London</td> <td>41</td> <td>2012/10/13</td> <td>$3,120</td> </tr> <tr> <td>Dai Rios</td> <td>System Architect</td> <td>Edinburgh</td> <td>35</td> <td>2012/09/26</td> <td>$4,200</td> </tr> <tr> <td>Jenette Caldwell</td> <td>Financial Controller</td> <td>New York</td> <td>30</td> <td>2011/09/03</td> <td>$4,965</td> </tr> <tr> <td>Yuri Berry</td> <td>System Architect</td> <td>New York</td> <td>40</td> <td>2009/06/25</td> <td>$3,600</td> </tr> <tr> <td>Caesar Vance</td> <td>Technical Author</td> <td>New York</td> <td>21</td> <td>2011/12/12</td> <td>$4,965</td> </tr> <tr> <td>Doris Wilder</td> <td>Sales Assistant</td> <td>Edinburgh</td> <td>23</td> <td>2010/09/20</td> <td>$4,965</td> </tr> <tr> <td>Angelica Ramos</td> <td>System Architect</td> <td>London</td> <td>36</td> <td>2009/10/09</td> <td>$2,875</td> </tr> <tr> <td>Gavin Joyce</td> <td>Developer</td> <td>Edinburgh</td> <td>42</td> <td>2010/12/22</td> <td>$4,525</td> </tr> <tr> <td>Jennifer Chang</td> <td>Regional Director</td> <td>London</td> <td>28</td> <td>2010/11/14</td> <td>$4,080</td> </tr> <tr> <td>Brenden Wagner</td> <td>Software Engineer</td> <td>San Francisco</td> <td>18</td> <td>2011/06/07</td> <td>$3,750</td> </tr> <tr> <td>Ebony Grimes</td> <td>Software Engineer</td> <td>San Francisco</td> <td>48</td> <td>2010/03/11</td> <td>$2,875</td> </tr> <tr> <td>Russell Chavez</td> <td>Director</td> <td>Edinburgh</td> <td>20</td> <td>2011/08/14</td> <td>$3,600</td> </tr> <tr> <td>Michelle House</td> <td>Integration Specialist</td> <td>Edinburgh</td> <td>37</td> <td>2011/06/02</td> <td>$3,750</td> </tr> <tr> <td>Suki Burks</td> <td>Developer</td> <td>London</td> <td>53</td> <td>2009/10/22</td> <td>$2,875</td> </tr> <tr> <td>Prescott Bartlett</td> <td>Technical Author</td> <td>London</td> <td>27</td> <td>2011/05/07</td> <td>$6,730</td> </tr> <tr> <td>Gavin Cortez</td> <td>Technical Author</td> <td>San Francisco</td> <td>22</td> <td>2008/10/26</td> <td>$6,730</td> </tr> <tr> <td>Martena Mccray</td> <td>Integration Specialist</td> <td>Edinburgh</td> <td>46</td> <td>2011/03/09</td> <td>$4,080</td> </tr> <tr> <td>Unity Butler</td> <td>Senior Marketing Designer</td> <td>San Francisco</td> <td>47</td> <td>2009/12/09</td> <td>$3,750</td> </tr> <tr> <td>Howard Hatfield</td> <td>Financial Controller</td> <td>San Francisco</td> <td>51</td> <td>2008/12/16</td> <td>$4,080</td> </tr> <tr> <td>Hope Fuentes</td> <td>Financial Controller</td> <td>San Francisco</td> <td>41</td> <td>2010/02/12</td> <td>$4,200</td> </tr> <tr> <td>Vivian Harrell</td> <td>System Architect</td> <td>San Francisco</td> <td>62</td> <td>2009/02/14</td> <td>$4,965</td> </tr> <tr> <td>Timothy Mooney</td> <td>Financial Controller</td> <td>London</td> <td>37</td> <td>2008/12/11</td> <td>$4,200</td> </tr> <tr> <td>Jackson Bradshaw</td> <td>Director</td> <td>New York</td> <td>65</td> <td>2008/09/26</td> <td>$5,000</td> </tr> <tr> <td>Miriam Weiss</td> <td>Support Engineer</td> <td>Edinburgh</td> <td>64</td> <td>2011/02/03</td> <td>$4,965</td> </tr> <tr> <td>Bruno Nash</td> <td>Software Engineer</td> <td>London</td> <td>38</td> <td>2011/05/03</td> <td>$4,200</td> </tr> <tr> <td>Odessa Jackson</td> <td>Support Engineer</td> <td>Edinburgh</td> <td>37</td> <td>2009/08/19</td> <td>$3,600</td> </tr> <tr> <td>Thor Walton</td> <td>Developer</td> <td>New York</td> <td>61</td> <td>2013/08/11</td> <td>$3,600</td> </tr> <tr> <td>Finn Camacho</td> <td>Support Engineer</td> <td>San Francisco</td> <td>47</td> <td>2009/07/07</td> <td>$4,800</td> </tr> <tr> <td>Elton Baldwin</td> <td>Data Coordinator</td> <td>Edinburgh</td> <td>64</td> <td>2012/04/09</td> <td>$6,730</td> </tr> <tr> <td>Zenaida Frank</td> <td>Software Engineer</td> <td>New York</td> <td>63</td> <td>2010/01/04</td> <td>$4,800</td> </tr> <tr> <td>Zorita Serrano</td> <td>Software Engineer</td> <td>San Francisco</td> <td>56</td> <td>2012/06/01</td> <td>$5,300</td> </tr> <tr> <td>Jennifer Acosta</td> <td>Javascript Developer</td> <td>Edinburgh</td> <td>43</td> <td>2013/02/01</td> <td>$2,875</td> </tr> <tr> <td>Cara Stevens</td> <td>Sales Assistant</td> <td>New York</td> <td>46</td> <td>2011/12/06</td> <td>$4,800</td> </tr> <tr> <td>Hermione Butler</td> <td>Director</td> <td>London</td> <td>47</td> <td>2011/03/21</td> <td>$4,080</td> </tr> <tr> <td>Lael Greer</td> <td>Systems Administrator</td> <td>London</td> <td>21</td> <td>2009/02/27</td> <td>$3,120</td> </tr> <tr> <td>Jonas Alexander</td> <td>Developer</td> <td>San Francisco</td> <td>30</td> <td>2010/07/14</td> <td>$5,300</td> </tr> <tr> <td>Shad Decker</td> <td>Regional Director</td> <td>Edinburgh</td> <td>51</td> <td>2008/11/13</td> <td>$5,300</td> </tr> <tr> <td>Michael Bruce</td> <td>Javascript Developer</td> <td>Edinburgh</td> <td>29</td> <td>2011/06/27</td> <td>$4,080</td> </tr> <tr> <td>Donna Snider</td> <td>System Architect</td> <td>New York</td> <td>27</td> <td>2011/01/25</td> <td>$3,120</td> </tr> </tbody> </table> <ul class="tabs"> <li class="active">Javascript</li> <li>HTML</li> <li>CSS</li> <li>Ajax</li> <li>Server-side script</li> </ul> <div class="tabs"> <div class="js"> <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline brush: js;">$(document).ready(function() { $('#example').DataTable( { dom: 'C&lt;&quot;clear&quot;&gt;lfrtip', columnDefs: [ { visible: false, targets: 2 } ], colVis: { restore: &quot;Restore&quot;, showAll: &quot;Show all&quot; } } ); } );</code> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <ul> <li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li> <li><a href= "../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li> <li><a href="../js/dataTables.colVis.js">../js/dataTables.colVis.js</a></li> </ul> </div> <div class="table"> <p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p> </div> <div class="css"> <div> <p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The additional CSS used is shown below:</p><code class="multiline brush: js;"></code> </div> <p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p> <ul> <li><a href= "../../../media/css/jquery.dataTables.css">../../../media/css/jquery.dataTables.css</a></li> <li><a href="../css/dataTables.colVis.css">../css/dataTables.colVis.css</a></li> </ul> </div> <div class="ajax"> <p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is loaded.</p> </div> <div class="php"> <p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables documentation</a>.</p> </div> </div> </section> </div> <section> <div class="footer"> <div class="gradient"></div> <div class="liner"> <h2>Other examples</h2> <div class="toc"> <div class="toc-group"> <h3><a href="./index.html">Examples</a></h3> <ul class="toc active"> <li><a href="./simple.html">Basic initialisation</a></li> <li><a href="./new_init.html">`new` initialisation</a></li> <li><a href="./text.html">Custom button text</a></li> <li><a href="./exclude_columns.html">Exclude columns from list</a></li> <li><a href="./title_callback.html">Column button callback</a></li> <li><a href="./button_order.html">Button ordering</a></li> <li><a href="./mouseover.html">Mouseover activation</a></li> <li><a href="./group_columns.html">Group columns</a></li> <li><a href="./two_tables.html">Two tables with individual controls</a></li> <li><a href="./two_tables_identical.html">Two tables with shared controls</a></li> <li class="active"><a href="./restore.html">Restore / show all</a></li> <li><a href="./jqueryui.html">jQuery UI styling</a></li> </ul> </div> </div> <div class="epilogue"> <p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br> Additionally, there are a wide range of <a href="http://www.datatables.net/extras">extras</a> and <a href="http://www.datatables.net/plug-ins">plug-ins</a> which extend the capabilities of DataTables.</p> <p class="copyright">DataTables designed and created by <a href= "http://www.sprymedia.co.uk">SpryMedia Ltd</a> &#169; 2007-2014<br> DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p> </div> </div> </div> </section> </body> </html>
third_party/WebKit/LayoutTests/fast/canvas/webgl/texImage-imageBitmap-structured-clone.html
danakj/chromium
<!DOCTYPE html> <html> <head> <script src="./resources/webgl-test-utils-full.js"></script> <script src="./resources/tex-image-and-sub-image-utils.js"></script> <script src="./resources/tex-image-and-sub-image-image-bitmap-utils.js"></script> <script src="../../../resources/js-test.js"></script> <script> window.jsTestIsAsync = true; var worker = new Worker('./resources/imageBitmap-structured-clone.js'); var wtu = WebGLTestUtils; var tiu = TexImageUtils; var gl = null; var internalFormat = "RGBA"; var pixelFormat = "RGBA"; var pixelType = "UNSIGNED_BYTE"; var redColor = [255, 0, 0]; var greenColor = [0, 255, 0]; var blackColor = [0, 0, 0]; var halfRed = [128, 0, 0]; var halfGreen = [0, 128, 0]; var image = new Image(); function promiseRejected() { document.getElementById("results").innerHTML = "Promise <span style='color:red'>REJECTED</span>"; } function pass() { document.getElementById("results").innerHTML = "Test <span style='color:green'>PASSED</span>"; } function postToWorker(message) { return new Promise((resolve, reject) => { function onMessage(e) { resolve(e.data); worker.removeEventListener("message", onMessage); } worker.postMessage(message); worker.addEventListener("message", onMessage); }); } function generateTest() { var bitmaps = []; var canvas = document.getElementById("example"); gl = canvas.getContext("webgl"); gl.clearColor(0,0,0,1); gl.clearDepth(1); // There is an existing layout test fast/canvas/canvas-ImageBitmap-structured-clone.html // which tests the structured-clone logic for ImageBitmap with default options. // To test ImageBitmap with non-default options such as premultiplyAlpha=none, // we need to use WebGL for testing because normal 2D canvas cannot tell the difference // between a premultiplied/unpremultiplied ImageBitmap. createImageBitmap(image, {imageOrientation: "flipY", premultiplyAlpha: "none"}).then(function(imageBitmap) { var replyPromise = postToWorker(imageBitmap); replyPromise.then(reply => { var retVal = {testPassed: true, alpha: 0.5}; var program = tiu.setupTexturedQuad(gl, internalFormat); runOneIteration(false, gl.TEXTURE_2D, program, reply, true, false, retVal); runOneIteration(true, gl.TEXTURE_2D, program, reply, true, false, retVal); program = tiu.setupTexturedQuadWithCubeMap(gl, internalFormat); runOneIteration(false, gl.TEXTURE_CUBE_MAP, program, reply, true, false, retVal); runOneIteration(true, gl.TEXTURE_CUBE_MAP, program, reply, true, false, retVal); if (retVal.testPassed) pass(); finishJSTest(); }); }, function() { promiseRejected(); finishJSTest(); }); } function init() { if (window.testRunner) { testRunner.overridePreference("WebKitWebGLEnabled", "1"); testRunner.dumpAsText(); } image.onload = function() { generateTest(); } image.src = "resources/red-green-semi-transparent.png"; } </script> </head> <body onload="init()"> <canvas id="texcanvas" width="2" height="2"></canvas> <canvas id="example" width="32" height="32"></canvas> <div id="results">Test <span style="color:red">FAILED</span></div> </body> </html>
third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.baseline.invalid.html
scheib/chromium
<!DOCTYPE html> <!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. --> <title>OffscreenCanvas test: 2d.text.baseline.invalid</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/html/canvas/resources/canvas-tests.js"></script> <h1>2d.text.baseline.invalid</h1> <p class="desc"></p> <script> var t = async_test(""); var t_pass = t.done.bind(t); var t_fail = t.step_func(function(reason) { throw reason; }); t.step(function() { var offscreenCanvas = new OffscreenCanvas(100, 50); var ctx = offscreenCanvas.getContext('2d'); ctx.textBaseline = 'top'; ctx.textBaseline = 'bogus'; _assertSame(ctx.textBaseline, 'top', "ctx.textBaseline", "'top'"); ctx.textBaseline = 'top'; ctx.textBaseline = 'MIDDLE'; _assertSame(ctx.textBaseline, 'top', "ctx.textBaseline", "'top'"); ctx.textBaseline = 'top'; ctx.textBaseline = 'middle '; _assertSame(ctx.textBaseline, 'top', "ctx.textBaseline", "'top'"); ctx.textBaseline = 'top'; ctx.textBaseline = 'middle\0'; _assertSame(ctx.textBaseline, 'top', "ctx.textBaseline", "'top'"); t.done(); }); </script>
yaml-0.1.5/doc/html/annotated.html
jasonjei/libyaml-cpp
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>yaml: Data Structures</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">yaml &#160;<span id="projectnumber">0.1.5</span> </div> </td> </tr> </tbody> </table> </div> <!-- Generated by Doxygen 1.7.6.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li> <li><a href="functions.html"><span>Data&#160;Fields</span></a></li> </ul> </div> </div> <div class="header"> <div class="headertitle"> <div class="title">Data Structures</div> </div> </div><!--header--> <div class="contents"> <div class="textblock">Here are the data structures with brief descriptions:</div><table> <tr><td class="indexkey"><a class="el" href="structyaml__alias__data__s.html">yaml_alias_data_s</a></td><td class="indexvalue">This structure holds aliases data </td></tr> <tr><td class="indexkey"><a class="el" href="structyaml__document__s.html">yaml_document_s</a></td><td class="indexvalue">The document structure </td></tr> <tr><td class="indexkey"><a class="el" href="structyaml__emitter__s.html">yaml_emitter_s</a></td><td class="indexvalue">The emitter structure </td></tr> <tr><td class="indexkey"><a class="el" href="structyaml__event__s.html">yaml_event_s</a></td><td class="indexvalue">The event structure </td></tr> <tr><td class="indexkey"><a class="el" href="structyaml__mark__s.html">yaml_mark_s</a></td><td class="indexvalue">The pointer position </td></tr> <tr><td class="indexkey"><a class="el" href="structyaml__node__pair__s.html">yaml_node_pair_s</a></td><td class="indexvalue">An element of a mapping node </td></tr> <tr><td class="indexkey"><a class="el" href="structyaml__node__s.html">yaml_node_s</a></td><td class="indexvalue">The node structure </td></tr> <tr><td class="indexkey"><a class="el" href="structyaml__parser__s.html">yaml_parser_s</a></td><td class="indexvalue">The parser structure </td></tr> <tr><td class="indexkey"><a class="el" href="structyaml__simple__key__s.html">yaml_simple_key_s</a></td><td class="indexvalue">This structure holds information about a potential simple key </td></tr> <tr><td class="indexkey"><a class="el" href="structyaml__tag__directive__s.html">yaml_tag_directive_s</a></td><td class="indexvalue">The tag directive data </td></tr> <tr><td class="indexkey"><a class="el" href="structyaml__token__s.html">yaml_token_s</a></td><td class="indexvalue">The token structure </td></tr> <tr><td class="indexkey"><a class="el" href="structyaml__version__directive__s.html">yaml_version_directive_s</a></td><td class="indexvalue">The version directive data </td></tr> </table> </div><!-- contents --> <hr class="footer"/><address class="footer"><small> Generated on Sun Jan 12 2014 18:25:30 for yaml by &#160;<a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.7.6.1 </small></address> </body> </html>
src/examples/english/text-pspell.html
diogoreus/spellchecker
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery Spell Checker example - Text parser using PSpell</title> <meta name="description" content=""> <link rel="stylesheet" type="text/css" media="screen" href="../../css/jquery.spellchecker.css" /> </head> <body> <p>This example demonstrates how the <em>text parser</em> can be used to check the spelling of text in a form field.</p> <div> <textarea id="text-content" rows="5" cols="25">Add your own text and check the spellling</textarea> <div id="incorrect-word-list"></div> </div> <button id="check-textarea"> Check Spelling </button>&nbsp; </div> <script type="text/javascript" src="../../js/libs/jquery/jquery-1.8.2.min.js"></script> <script type="text/javascript" src="../../js/jquery.spellchecker.js"></script> <script type="text/javascript"> (function() { var element = $('#text-content'); // Init the text spellchecker var spellchecker = new $.SpellChecker(element, { lang: 'en', parser: 'text', webservice: { path: '../../webservices/php/SpellChecker.php', driver: 'pspell' }, suggestBox: { position: 'above' }, incorrectWords: { container: '#incorrect-word-list' } }); // Bind spellchecker handler functions spellchecker.on('check.success', function() { alert('There are no incorrectly spelt words.'); }); // Check the spelling $("#check-textarea").click(function(e){ spellchecker.check(); }); })(); </script> </body> </html>
_includes/retina-image.html
ZihaoLu/zihaolu.github.io
<script type="text/javascript"> (function () { var resize = function () { this.width = 0.5 * (this.naturalWidth || this.width); } Array.prototype.forEach.call(document.querySelectorAll(".half-size, .retina2x"), function(el) { if (el.naturalWidth) { resize.call(el); } else { el.onload = resize; } }); })(); </script>
node_modules/fries/dist/css/holo-dark/sliders.css
pwlin/wisconsin
.slider { width: 100%; } .slider > ul { list-style: none; } .slider > li { width: 100%; }
sites/all/themes/mayo/css/round-sidebar.css
liangtwin/drupal7
.column-block, .sidebar .block { -khtml-border-radius: 8px; /* for old Safari, KHTML */ -moz-border-radius: 8px; /* for Firefox */ -webkit-border-radius: 8px; /* for old Safari, KHTML */ border-radius: 8px; /* for CSS3 */ }
src/chrome/os/winnt/global/toolbarbutton.css
Lootyhoof/moonfox3
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* ===== toolbarbutton.css ===================================================== == Styles used by the XUL button element. ======================================================================= */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* ::::: toolbarbutton ::::: */ toolbarbutton { -moz-appearance: toolbarbutton; -moz-box-align: center; -moz-box-pack: center; margin: 0; border: 1px solid transparent; padding: 3px; background-color: transparent; color: -moz-DialogText; } .toolbarbutton-icon[label]:not([label=""]), .toolbarbutton-icon[type="menu"] { margin-inline-end: 5px; } .toolbarbutton-text { margin: 0 !important; /* !important for overriding global.css */ text-align: center; } toolbarbutton.tabbable { -moz-user-focus: normal !important; } toolbarbutton:-moz-focusring { /* -moz-appearance looks redundant here but is necessary. Without it, the outline won't appear. */ -moz-appearance: toolbarbutton; outline: 1px dotted -moz-DialogText; outline-offset: -2px; } toolbarbutton:hover:not([disabled="true"]) { border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight; } toolbarbutton:hover:active:not([disabled="true"]), toolbarbutton[open="true"]:hover, toolbarbutton[open="true"] { border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow; padding-top: 4px; padding-bottom: 2px; padding-inline-start: 4px; padding-inline-end: 2px; } toolbarbutton[disabled="true"] { color: GrayText; text-shadow: none; } @media (-moz-windows-classic) { toolbarbutton[disabled="true"] { color: ThreeDShadow; text-shadow: 1px 1px ThreeDHighlight; } } toolbarbutton[checked="true"]:not([disabled="true"]) { border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow; padding-top: 4px; padding-bottom: 2px; padding-inline-start: 4px; padding-inline-end: 2px; background-color: rgba(255,255,255,0.5); color: ButtonText; } @media (-moz-windows-default-theme) { toolbarbutton:-moz-lwtheme { text-shadow: none; } toolbarbutton:-moz-lwtheme:not([disabled="true"]) { color: inherit; text-shadow: inherit; } } @media not all and (-moz-windows-default-theme) { toolbarbutton:-moz-lwtheme { -moz-appearance: none; } toolbarbutton:-moz-lwtheme:not([disabled="true"]) { color: inherit; text-shadow: inherit; } } /* ::::: toolbarbutton menu ::::: */ .toolbarbutton-menu-dropmarker { -moz-appearance: none !important; border: none !important; background-color: transparent !important; padding: 0; width: auto; height: auto; margin-top: 1px; } /* ::::: toolbarbutton menu-button ::::: */ toolbarbutton[type="menu-button"] { -moz-box-align: stretch; -moz-box-orient: horizontal !important; } toolbarbutton[type="menu-button"], toolbarbutton[type="menu-button"]:hover, toolbarbutton[type="menu-button"]:hover:active, toolbarbutton[type="menu-button"][open="true"], toolbarbutton[type="menu-button"][disabled="true"], toolbarbutton[type="menu-button"][disabled="true"]:hover, toolbarbutton[type="menu-button"][disabled="true"]:hover:active { border-style: none; padding: 0 !important; } .toolbarbutton-menubutton-button { -moz-box-align: center; -moz-box-pack: center; -moz-box-orient: vertical; } /* ::::: toolbarbutton badged ::::: */ .toolbarbutton-badge-stack > .toolbarbutton-icon[label]:not([label=""]) { margin-inline-end: 0; } .toolbarbutton-badge { background-color: #d90000; font-size: 10px; font-weight: bold; padding: 0 2px 1px; color: #fff; border-radius: 2px; box-shadow: 0 1px 0 hsla(0, 100%, 100%, .2) inset, 0 -1px 0 hsla(0, 0%, 0%, .1) inset, 0 1px 0 hsla(206, 50%, 10%, .2); margin: -6px 0 0 !important; margin-inline-end: -8px !important; min-width: 14px; max-width: 28px; line-height: 10px; text-align: center; -moz-stack-sizing: ignore; } /* .......... dropmarker .......... */ .toolbarbutton-menubutton-dropmarker { -moz-appearance: none; padding: 3px 7px; border: none; background-color: transparent; width: auto; }
samples/Support4Demos/src/main/java/com/example/android/supportv4/_package.html
AndroidX/androidx
<html> <head> <link rel="stylesheet" type="text/css" href="assets/style.css" /> <script type="text/javascript" src="http://www.corp.google.com/style/prettify.js"></script> <script src="http://www.corp.google.com/eng/techpubs/include/navbar.js" type="text/javascript"></script> </head> <body> <p> Examples of how to use support library APIs. See: <ol> <li> <a href="com.example.android.supportv4.app">sdk.app</a> for examples of using the application package support APIs. </ol> </p> </body> </html>
www/api/MagickCore/struct__EventInfo.html
brightinteractive/debian-imagemagick
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>MagickCore: _EventInfo Struct Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.4 --> <h1>_EventInfo Struct Reference</h1><!-- doxytag: class="_EventInfo" --><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct__EventInfo.html#db7b7fda1f7f32e47f7fd0e3132b637f">name</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="log_8h.html#5d4d59a282badd09dd3b71cb216cab60">LogEventType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct__EventInfo.html#17c570a0b4fb1632d0cb9cb8563fe155">event</a></td></tr> </table> <hr><h2>Field Documentation</h2> <a class="anchor" name="db7b7fda1f7f32e47f7fd0e3132b637f"></a><!-- doxytag: member="_EventInfo::name" ref="db7b7fda1f7f32e47f7fd0e3132b637f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char* <a class="el" href="struct__EventInfo.html#db7b7fda1f7f32e47f7fd0e3132b637f">_EventInfo::name</a> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="17c570a0b4fb1632d0cb9cb8563fe155"></a><!-- doxytag: member="_EventInfo::event" ref="17c570a0b4fb1632d0cb9cb8563fe155" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="log_8h.html#5d4d59a282badd09dd3b71cb216cab60">LogEventType</a> <a class="el" href="struct__EventInfo.html#17c570a0b4fb1632d0cb9cb8563fe155">_EventInfo::event</a> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="log_8c.html">log.c</a></ul> <hr size="1"><address style="text-align: right;"><small>Generated on Sat Jan 26 14:50:30 2008 for MagickCore by&nbsp; <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address> </body> </html>