Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Basic Madl components used in the fetch of data for Interactions include: Before / After / Between.

 

Table of Contents

$t->after( )

Fetches the source before $mystring into variable $t. Usually generated by the code builder when you have

select to filter the fetch results using the "To" field in the builder.

Parameters   

 
$mystring
A String.

Return Values   

 
$mystring
A String.
Returns page source or structured data / XML after the "From" filter into variable $t
Code Block
themeRDark
languagephp
linenumberstrue
$t->fetch("[http://blinkmobile.com.au/mobile-solutions/");]

$t->after("  // result; 

 

 


$t->before( )

Fetches the source before $mystring into variable $t. Usually generated by the code builder when you have select to filter the fetch results using the "To" field in the builder.

Parameters   

 
$mystring
A String.

Return Values   

 
$mystring
A String.
Returns page source or structured data / XML before the "To" filter into variable $t
Code Block
themeRDark
languagephp
linenumberstrue
$t->fetch("[http://blinkmobile.com.au/mobile-solutions/");]

$t->before("  // result; 

 

 

$t->between( )

Fetches the source between $mystring and $mystring2 into variable $t. Usually generated by the code builder when you have select to filter the fetch results using the "To" and "From" fields in the builder.

Parameters   

 
$mystring
A String.
$mystring2A String

Return Values   

 
$mystring
A String.
Returns page source or structured data / XML between the "To" and "From" filters into variable $t
Code Block
themeRDark
languagephp
linenumberstrue
$t->fetch("[http://blinkmobile.com.au/mobile-solutions/");]

$t->between("  //