diff --git a/docs/build/doctrees/environment.pickle b/docs/build/doctrees/environment.pickle index c802f01..4820947 100644 Binary files a/docs/build/doctrees/environment.pickle and b/docs/build/doctrees/environment.pickle differ diff --git a/docs/build/doctrees/mediable.doctree b/docs/build/doctrees/mediable.doctree index fb626d3..65bd979 100644 Binary files a/docs/build/doctrees/mediable.doctree and b/docs/build/doctrees/mediable.doctree differ diff --git a/docs/build/html/_sources/mediable.txt b/docs/build/html/_sources/mediable.txt index c6e894d..9540d67 100644 --- a/docs/build/html/_sources/mediable.txt +++ b/docs/build/html/_sources/mediable.txt @@ -111,7 +111,7 @@ To change the order of media assigned to a given tag, or to insert a new item at $media = $media->prepend($new_media); $post->syncMedia($media, 'gallery'); -An `ORDER BY` clause is automatically applied to all queries run on the `media()` relationship. To disable this default behaviour, use the `unordered()` query scope. +An ``ORDER BY`` clause is automatically applied to all queries run on the ``media()`` relationship. To disable this default behaviour, use the ``unordered()`` query scope. :: diff --git a/docs/build/html/mediable.html b/docs/build/html/mediable.html index 7397fff..8bd68f4 100644 --- a/docs/build/html/mediable.html +++ b/docs/build/html/mediable.html @@ -243,7 +243,7 @@

Media Order$post->syncMedia($media, 'gallery'); -

An ORDER BY clause is automatically applied to all queries run on the media() relationship. To disable this default behaviour, use the unordered() query scope.

+

An ORDER BY clause is automatically applied to all queries run on the media() relationship. To disable this default behaviour, use the unordered() query scope.

<?php
 $mediable->media()
     ->unordered()
diff --git a/docs/build/html/searchindex.js b/docs/build/html/searchindex.js
index 4c63942..52936d5 100644
--- a/docs/build/html/searchindex.js
+++ b/docs/build/html/searchindex.js
@@ -1 +1 @@
-Search.setIndex({envversion:49,filenames:["commands","configuration","index","installation","media","mediable","types","uploader"],objects:{},objnames:{},objtypes:{},terms:{"byte":[1,7],"case":[1,5,7],"class":[1,3,4,5,7],"default":[1,5,7],"import":[0,2,5],"new":[1,4,5,7],"public":4,"return":[5,7],"throw":7,"true":[1,4,5,7],"try":1,"var":4,"while":[5,7],_create_mediable_t:3,abl:[4,5],about:1,absolut:7,accept:[5,6,7],access:[1,2,5],adapt:1,adapter:1,add:[1,3,4,5],addit:1,after:5,aggreg:[1,2,6,7],aggregate_typ:[1,6,7],alia:5,alias:3,all:[5,7],allow:[1,2,5,7],allow_unrecognized_typ:1,allowed_aggregate_typ:1,allowed_disk:1,allowed_extens:1,allowed_mime_typ:1,alreadi:[0,5,7],also:[4,5,7],altern:7,alwai:5,ani:[0,2,4,5,7],anoth:5,any:5,app:[1,3,5],append:7,appli:[0,5],applic:[1,5],approach:[2,5],argument:5,arrai:5,assign:[2,5],associ:[4,5],assume:5,attach:2,attachmedia:5,attempt:5,attribut:[4,7],author:1,automat:[2,4],avail:5,avoid:5,bar:4,base:7,basenam:4,basi:[1,5,7],befor:[1,7],begin:7,behaviour:[1,5,7],belong:1,best:1,between:5,both:[0,1,5,7],builder:[4,5],built:1,call:5,can:[0,1,3,4,5,6,7],cancel:7,cannot:4,care:[5,6],cascad:4,caution:4,certain:6,chang:[4,5,7],check:2,claus:5,code:5,collect:5,come:3,commit:5,common:1,compon:[1,7],compos:3,condition:5,config:[1,3,4,5,7],configur:0,consid:[4,5],consider:5,constantli:[1,6],content:[5,7],copi:7,could:[1,4],counter:7,coupl:5,cover:1,creat:[0,1,7],custom:[6,7],databas:[0,3,5,7],deal:5,default_disk:1,defin:[1,5],definit:[1,6],delet:[0,1,2],describ:5,desir:7,destin:2,detach:[2,4],detach_on_soft_delet:[4,5],detachmedia:5,detachmediatag:5,differ:[1,2,4],directli:[4,5],directori:[2,4,7],dirti:5,disabl:5,disk:0,down:5,download:2,driven:2,driver:1,due:4,duplic:[1,2],each:[1,5],easi:[1,6],easiest:7,easili:2,echo:5,edit:1,either:[1,4,5],eloqu:5,eloquent:[4,5],empti:5,enabl:5,entiti:5,error:1,evalu:7,exampl:[1,4,5,6],except:7,exception:1,execut:5,exist:[0,5,7],expos:4,extens:[1,2,4,6,7],facad:[3,7],fail:7,fals:[1,5],feel:1,few:4,file:[0,1,2,3,4,5,6],fileadapt:1,filenam:[2,4],files:7,filesystem:[0,1,2,7],find:[1,6],first:5,firstmedia:5,fluent:7,follow:[1,4,5,7],foo:4,footer:5,forcedelet:[4,5],foreach:5,foreign:4,format:6,forpathondisk:4,fqcn:1,free:1,from:5,fromsourc:[6,7],galleri:[2,5],gener:[1,4,7],get:[2,5,6,7],getabsolutepath:4,getallmediabytag:5,getdiskpath:4,getkei:5,getmedia:5,getmediamatchal:5,gettagsformedia:5,geturl:[4,5],gif:[2,6],given:[1,4,5],group:5,guid:2,hand:0,handl:[1,2],hash:7,hasmedia:5,have:[0,1,4,5],header:5,help:[0,4],how:[1,5,7],htm:1,html:1,http:[1,4,7],httpfoundat:[1,7],identifi:1,illumin:5,imag:[2,3,6,7],importpath:7,includ:1,increment:[1,7],index:5,indic:7,indirectori:4,indiviud:5,inorunderdirectori:4,input:[1,5],insert:5,installat:2,instanc:[1,4,5,7],instead:[5,7],intend:[1,6],interfac:7,intern:1,invok:7,issu:5,item:5,john:7,jpeg:[2,6,7],jpg:[4,7],juggl:[1,6],keep:[0,4,5,7],kei:[1,4,5],kind:[1,6],laravel:1,learn:1,least:5,let:1,like:[1,5,7],limit:5,list:1,load:2,loadmedia:5,loadmediamatchal:5,local:1,localhost:4,localpathadapt:1,localurlgener:1,locat:4,longer:0,maintain:7,make:[1,6],mani:[1,2,5],manipul:5,manual:4,map:1,mark:5,markdown:1,markup:1,match:[1,7],match_al:5,max_siz:1,maximum:[1,7],md5:7,media1:5,media2:5,media:[0,1,2],mediabl:[0,1],mediableserviceprovid:3,mediasubclass:7,mediaupload:[1,3,6,7],mediauploaderexcept:7,mediauploaderfacad:3,messag:7,method:[4,5,7],might:[6,7],migrat:3,mime:[1,2,6,7],mime_typ:[1,7],model:[1,2,4,5,7],modifi:[1,2,5],more:[1,5],most:7,move:2,multipl:[1,5,6],must:7,name:[1,7],namespac:5,need:[1,2,4,5,6,7],new_media:5,next:5,none:1,note:[1,4,5],number:[1,2,4,5,7],numer:5,occasion:7,oen:5,offer:1,old:[1,7],on_dupl:1,on_duplicate_increment:1,onc:7,once:1,onduplicateerror:7,onduplicateincr:7,onduplicatereplac:7,onli:[1,4,5,6,7],only:1,optim:5,option:[1,3],order:2,origin:7,other:[1,2,5,7],out:4,overrid:7,overridden:1,own:1,packag:[0,1,2,3,5],page:5,paramet:5,parent:5,part:5,particular:5,pass:5,path:2,pattern:1,perform:[0,5,7],php:[0,1,3,4,5,6,7],pictur:4,place:7,plank:1,png:[2,6],polymorph:2,possibl:7,post:5,prefer:5,preload:5,prepend:5,presenc:2,present:1,previous:5,privat:1,problem:5,profil:7,project:6,properti:5,protect:5,provid:[0,1,3,5,6,7],prune:0,public_path:1,publicli:1,publish:3,purg:[4,5],purpos:2,put:7,queri:2,rather:4,read:5,reassign:7,recogn:1,record:[0,1,4,5,7],refer:[5,7],regex:1,regist:3,rehydr:2,rehydrate_media:5,rehydrates_media:5,reject:[1,7],rel:[4,7],relat:5,relationship:[2,4,5],reload:5,remoteurladapt:1,remov:5,renam:4,render:5,replac:[1,2],repres:0,request:[6,7],requir:[1,3],respond:7,restor:7,restrict:[0,2,6],retriev:2,root:[1,7],run:[3,5],s3urlgener:1,same:[5,7],save:7,scenario:7,schema:2,scope:5,second:5,see:6,separ:5,serv:1,server:7,serviv:3,set:[1,2,4,5,7],setallowedaggregatetyp:[6,7],setallowedextens:7,setallowedmimetyp:7,setallowunrecognizedtyp:7,setmaximums:7,setmodelclass:7,setstricttypecheck:7,setup:1,share:[1,5,6],shorthand:5,should:[1,4,5,7],similar:[1,6],similarli:5,simpli:5,singl:[1,5],site:4,size:[1,7],slow:5,softdelet:[4,5],some:1,sourc:[1,2],source_adapt:1,sourceadapt:1,specif:[1,2,5,7],specifc:7,specifi:[1,2,5],standard:[4,5],start:2,still:[4,5],storag:1,storage_path:1,store:1,strict_type_check:1,string:[5,7],subclass:4,suffix:1,sum:5,symfoni:[1,7],sync:[0,4],syncmedia:5,system:[1,5],tabl:[3,4],tag:[2,5],take:[4,5],taken:5,tell:[5,7],text:1,than:[1,4],thei:5,thi:[0,1,4,5,6,7],those:5,three:7,through:[4,7],thrown:1,thumbnail:[2,5,6,7],time:5,todestin:[6,7],todirectori:7,todisk:7,togeth:0,top:1,track:[4,5],trait:[4,5],type:0,type_image:6,type_image_vector:6,under:[1,6],unless:1,unord:5,updat:7,update:2,upload:[1,2,3,4,6],uploadedfil:[1,7],uploadedfileadapt:1,url:[1,2],url_gener:1,urlgener:1,usefilenam:7,usehashforfilenam:7,useoriginalfilenam:7,user:7,using:2,valu:[1,5,7],variou:1,vendor:3,verifi:5,wai:[4,5,7],want:[1,5,6],well:3,what:1,when:[4,5],where:[1,4,5,6,7],wherebasenam:4,wherehasmedia:5,whether:7,which:[1,3,5,7],whose:1,why:7,wide:5,withmedia:5,withmediamatchal:5,without:[1,2,5,6],would:[1,4,5,7],www:4,xhtml:1,xml:1,you:[0,1,3,4,5,6,7],your:[1,3,5,6,7]},titles:["Artisan Commands","Configuration","Plank/Laravel-Mediable","Installation","Using Media","Handling Media","Aggregate Types","Uploading Files"],titleterms:{"function":1,"import":7,aggregat:[1,6],artisan:0,attach:5,automat:5,check:5,command:0,configur:1,delet:[4,5],destin:7,detach:5,disk:1,duplic:7,eager:5,extend:1,featur:2,file:7,filenam:7,handl:[5,7],installat:3,laravel:2,lazi:5,load:5,media:[4,5],mediabl:[2,5],move:4,order:5,path:4,plank:2,presenc:5,queri:4,rehydr:5,replac:5,retriev:5,soft:[4,5],sourc:7,specifi:7,type:[1,6],update:7,upload:7,url:4,using:4,valid:[1,7]}})
\ No newline at end of file
+Search.setIndex({envversion:49,filenames:["index","mediable"],objects:{},objnames:{},objtypes:{},terms:{"case":1,"class":1,"default":1,"function":[0,1],"import":[0,1],"new":1,"return":1,"true":1,"while":1,abl:1,accept:1,access:[0,1],add:1,after:1,aggreg:0,aggregat:0,alia:1,all:1,allow:[0,1],alreadi:1,also:1,alwai:1,ani:[0,1],anoth:1,any:1,app:1,appli:1,applic:1,approach:[0,1],argument:1,arrai:1,artisan:0,assign:[0,1],associ:1,assume:1,attach:0,attachmedia:1,attempt:1,automat:0,avail:1,avoid:1,basi:1,behaviour:1,between:1,both:1,builder:1,call:1,can:1,care:1,chang:1,check:0,claus:1,code:1,collect:1,command:0,commit:1,condition:1,config:1,configur:0,consid:1,consider:1,content:1,coupl:1,databas:1,deal:1,defin:1,delet:0,describ:1,destin:0,detach:0,detach_on_soft_delet:1,detachmedia:1,detachmediatag:1,differ:0,directli:1,directori:0,dirti:1,disabl:1,disk:0,down:1,download:0,driven:0,duplic:0,each:1,easili:0,echo:1,either:1,eloqu:1,eloquent:1,empti:1,enabl:1,entiti:1,exampl:1,execut:1,exist:1,extend:[0,1],extens:0,fals:1,file:[0,1],filenam:0,filesystem:0,first:1,firstmedia:1,follow:1,footer:1,forcedelet:1,foreach:1,from:1,galleri:[0,1],get:[0,1],getallmediabytag:1,getkei:1,getmedia:1,getmediamatchal:1,gettagsformedia:1,geturl:1,gif:0,given:1,group:1,guid:0,handl:0,hasmedia:1,have:1,header:1,how:1,illumin:1,imag:0,index:1,indiviud:1,input:1,insert:1,installat:0,instanc:1,instead:1,issu:1,item:1,jpeg:0,keep:1,kei:1,least:1,like:1,limit:1,load:0,loadmedia:1,loadmediamatchal:1,mani:[0,1],manipul:1,mark:1,match_al:1,media1:1,media2:1,media:0,method:1,mime:0,model:[0,1],modifi:[0,1],more:1,move:0,multipl:1,namespac:1,need:[0,1],new_media:1,next:1,note:1,number:[0,1],numer:1,oen:1,onli:1,optim:1,order:0,other:[0,1],packag:[0,1],page:1,paramet:1,parent:1,part:1,particular:1,pass:1,path:0,perform:1,php:1,png:0,polymorph:0,post:1,prefer:1,preload:1,prepend:1,presenc:0,previous:1,problem:1,properti:1,protect:1,provid:1,purg:1,purpos:0,queri:[0,1],read:1,record:1,refer:1,rehydr:0,rehydrate_media:1,rehydrates_media:1,relat:1,relationship:[0,1],reload:1,remov:1,render:1,replac:0,restrict:0,retriev:0,run:1,same:1,schema:0,scope:1,second:1,separ:1,set:[0,1],share:1,shorthand:1,should:1,similarli:1,simpli:1,singl:1,slow:1,softdelet:1,sourc:0,specif:[0,1],specifi:[0,1],standard:1,start:0,still:1,string:1,sum:1,syncmedia:1,system:1,tag:[0,1],take:1,taken:1,tell:1,thei:1,thi:1,those:1,thumbnail:[0,1],time:1,track:1,trait:1,type:0,unord:1,update:0,upload:0,url:0,using:0,valid:0,valu:1,verifi:1,wai:1,want:1,when:1,where:1,wherehasmedia:1,which:1,wide:1,withmedia:1,withmediamatchal:1,without:[0,1],would:1,you:1,your:1},titles:["Plank/Laravel-Mediable","Handling Media"],titleterms:{attach:1,automat:1,check:1,delet:1,detach:1,eager:1,featur:0,handl:1,laravel:0,lazi:1,load:1,media:1,mediabl:[0,1],order:1,plank:0,presenc:1,rehydr:1,replac:1,retriev:1,soft:1}})
\ No newline at end of file
diff --git a/docs/source/mediable.rst b/docs/source/mediable.rst
index c6e894d..9540d67 100644
--- a/docs/source/mediable.rst
+++ b/docs/source/mediable.rst
@@ -111,7 +111,7 @@ To change the order of media assigned to a given tag, or to insert a new item at
     $media = $media->prepend($new_media);
     $post->syncMedia($media, 'gallery');
 
-An `ORDER BY` clause is automatically applied to all queries run on the `media()` relationship. To disable this default behaviour, use the `unordered()` query scope.
+An ``ORDER BY`` clause is automatically applied to all queries run on the ``media()`` relationship. To disable this default behaviour, use the ``unordered()`` query scope.
 
 ::