Ferreteria/v0.3/class/tRowsBlob: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Jump to navigation Jump to search
m (Woozle moved page Ferreteria/class/tLoadableRow to Ferreteria/class/tRowsBlob: more descriptive)
(update)
Line 2: Line 2:
<source lang=php>
<source lang=php>
/*tttt
/*tttt
   IMPLEMENTS ifLoadableRows
   IMPLEMENTS ifRowsBlob
   USE WITH PortalRow types, preferably
   STANDARD USE: PortalRow types
*/
*/
trait tLoadableRow {
trait tRowsBlob {
     private $binResult;
     private $binResult;
     public function SetResultBlob($r) {
     public function SetResultBlob($r) {
Line 16: Line 16:
</source>
</source>
* '''file''': {{l/ferreteria/file|data/rows/sourced.php}}
* '''file''': {{l/ferreteria/file|data/rows/sourced.php}}
* '''implements''': {{l/ferreteria/class|ifLoadableRows}}
* '''implements''': {{l/ferreteria/class|ifRowsBlob}}

Revision as of 11:58, 7 January 2019

Template:Page/code/class

/*tttt
  IMPLEMENTS ifRowsBlob
  STANDARD USE: PortalRow types
*/
trait tRowsBlob {
    private $binResult;
    public function SetResultBlob($r) {
	$this->binResult = $r;
    }
    public function GetResultBlob() {
	return $this->binResult;
    }
}